HOST.pdf - 第22页
BM 122/ 123 /1 33/ 221/2 31 HOST COMPUTER SYSTEM 3. 3 C comm ands E35HEC- 4A-181- B0 3.3- 1 3.3. C commands E35HEC- 4A-181- B0 3.3. 1 C0 command (Downloading Pro grams) Item Descri p ti on Comm and name Downloadi ng prog…

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.2 Command Description
E35HEC-4A-171-A0
3.2-2
3.2.4 R commands (R0, R1, R2 and R3)
R (real-time) commands are to inform the host computer of the changes of conditions during the production
work of the machine whenever they occur. They are used for remote control or for collecting production
management information.
However, if the host computer is used only for transferring product program data, receiving R commands
may cause inconvenience. Therefore, it is possible to disable R commands.
Use the select switch to determine whether to enable or to disable the R commands.
== Refer to ‘PanaProtocol LAN SPECIFICATIONS / R Commands / Setting the R Command Output
Condition’ for details.
About 40 buffers are provided for R commands, if R commands yet to be sent are accumulated more than
these buffers, they will be removed in the order they were added.

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-1
3.3. C commands
E35HEC-4A-181-B0
3.3.1 C0 command (Downloading Programs)
Item Description
Command name Downloading programs
COM port used Port 1
Data format
Item Description
Command field C0 + Name of program to be downloaded (Identifier + name)
Data size field Size of program to be downloaded
Data field Data of program to be downloaded
Setting the program name
Target data Identifier Name
Product program P
15 characters
Part library L None
Mark library B None
Nozzle library V None
Supply library Y None
Machine data G None
Command sequence
Host computer system Equipment
C0
+ Program name
+ Data size
+ Data
(2) Receives downloaded data
(1) A0 (Requests the next data)
A2 (Data transfer end) (1) End
(1) No data type (2) Data-attached type
=REMARKS=
If the name of the program currently being selected or edited is specified, an ‘A4E00’ will be returned.

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-2
Ex.: C0P command and associated data
Command C0P123456789ABC
Data size
256 (No. of characters from %HEADER to ∗[CR][LF])
Data %HEADER[CR][LF]
NAME= P123456789ABC[CR][LF]
MACHINE=BM[CR][LF]
MNAME= BM[CR][LF]
CREATE=2003/01/01[CR][LF]
REVISE=2003/01/01[CR][LF]
TYPE=ABS[CR][LF]
BLOCK=00001[CR][LF]
MLSTEP=00000
PANASONIC=3010[CR][LF]
COMMENT=[CR][LF]
%BOARDDATA
&BOARD
BD(0,0,0)
DM(0,0,0)
&CONVEYOR
TP0CS1TSF1TSR1
%POFFSET[CR][LF]
X0Y0HM0F1[CR][LF]
%NCDATA[CR][LF]
N1X0Y0W0V0Z1PN( )C( )H0M000000T000000PW0BK0GR0DP0/0[CR][LF]
∗ [CR][LF]
Terminator 0
Terminator 0
Terminator 0
== For program data formats, refer to ‘Prg. / DATA FORMAT’.