HOST.pdf - 第27页

BM 122/ 123 /1 33/ 221/2 31 HOST COMPUTER SYSTEM 3.3 C comm ands E35HEC- 4A-181- B0 3.3- 6  Setting the program na me Data Id ent ifi er Nam e Produc t pr ogram P 15 charac ters Part li brary L None Mark li br ary B Non…

100%1 / 64
BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-5
3.3.2 C0R Command (Deleting Programs)
This command is optional.
Item Description
Command name Deleting programs
COM port used Port 1
Data format
Item Description
Command field C0R + Name of program to be deleted (Identifier + name)
Data size field 0
Data field None
Setting the program name
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
C0R
+ Program name
(1) Deletes the program
(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.
If the specified program name is not found, an ‘A3’ command will be returned.
3.3.3 C1 Command (Uploading Programs)
Item Description
Command name Uploading programs
COM port used Port 1
Data format
Item Description
Command field C1 + Name of program to be uploaded (Identifier + name)
Data size field 0
Data field None
BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-6
Setting the program name
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
C1
+ Program name
(1)
(2) D0 + data
A0 (Requests the next data) (1) End
(1) A2 (Data transfer end)
(1) No data type (2) Data-attached type
Ex.: D0 command
Command D0
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’.
BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-7
3.3.4 C1M, C1N and C1Z Commands
(Uploading Production Management Information)
Item Description
Command name Uploading production management
COM port used Port 1
Data format
Item Description
Command field C1 + Kind of production management to be uploaded
Data size field 0
Data field None
C1M command
Used to read out production management information (grand total).
Command format: C1M∗∗∗
∗∗∗ Code Application
∗∗∗
Description
000
After read-out, production management information (machine/mount information of
grand total) on the machine is not cleared.
900
After read-out, production management information (machine/mount information of
grand total) on the machine is cleared.
=REMARKS=
Among the production information (grand total), nozzle information and feeder information will not be cleared
by the C1M900 command.
Use C1N900 and C1Z900 commands respectively to clear these data.
C1M∗∗∗P command
Used to read out production management information (current total).
Command format: C1M∗∗∗P
∗∗∗ Code Application
∗∗∗
Description
000
After read-out, production management information (machine/mount/nozzle/feeder
information of current total) on the machine is not cleared.
900
After read-out, production management information (machine/mount/nozzle/feeder
information of current total) on the machine is cleared.
=REMARKS=
Among the production information (current total), nozzle information and feeder information will be cleared at
the same time by the C1M900P command.
Note that its function differs from that of the C1M900 command.
C1N command
Used to read out nozzle information.
Command format: C1N∗∗∗
∗∗∗ Code Application
∗∗∗
Description
000 After read-out, nozzle information on the machine is not cleared.
900 After read-out, nozzle information on the machine is cleared.