HOST.pdf - 第33页
BM 122/ 123 /1 33/ 221/2 31 HOST COMPUTER SYSTEM 3.3 C comm ands E35HEC- 4A-181- B0 3.3- 12 Ex. : D0 comm and Comm and D1 Data si ze 3 (Output wit h fix ed length of 3 charact ers.) Data 001 Termi nat or 0 Termi nat or 0…

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-11
3.3.6 C2ST Command (Machine Status)
This command is optional.
Item Description
Command name Acquiring machine status
COM port used Port 1
Data format
Item Description
Command field C2ST
Data size field 0
Data field None
Command sequence
Host computer system Equipment
C2ST (1)
(2) D1 + Machine status
A2 (Data transfer end) (1) End
(1) No data type (2) Data-attached type
Machine status:
Status Information
Run Machine running in the AUTO mode (Including the time waiting for boards)
Ready
Normal stop (neither Run nor Error)
From when the RESET key is pressed due to an error (except for safety stop) until
when the Run status is restored. (Or until when a safety stop is engaged).
From when an error (a safety stop) is cleared until when the Run status is restored.
From when the machine stops due to a pickup error or recognition error until when the
Run status is restored.
SEMI or MANU mode
Error
From when the machine has stooped due to an error (parts exhaust included) until
when the RESET key is pressed.
(However, the pickup error and recognition error are excluded.)
=REMARKS=
If RESET is pressed during an error stop, the machine status will change to Ready regardless of whether or
not the error has been cleared.
In case of safety stop, however, the status will not change until it is cleared.
m m n
0: Online 1: Remote
00: Run
01: Ready
02: Error (Error stop)

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-12
Ex.: D0 command
Command D1
Data size 3 (Output with fixed length of 3 characters.)
Data 001
Terminator 0
Terminator 0
Terminator 0
3.3.7 C3 Command (Inquiring Program Name)
Used to output he name of the currently selected product program from the machine to the host computer.
If no product program has been chosen, an ‘A4E01’ will be returned to the hot computer.
Item Description
Command name Inquiring program name
COM port used Port 1
Data format
Item Description
Command field C3 + Program type
Data size field 0
Data field None
Command sequence
Host computer system Equipment
C3
+ type
(1)
(2) D1 + Currently selected
program name
A2 (Data transfer end) (1) End
(1) No data type (2) Data-attached type
Active program:
Program names less than 15 characters will be padded with spaces.
Ex.: D0 command
Command D1
Data size 16 (Output with fixed length of 16 characters.)
Data PABC
Terminator 0
Terminator 0
Terminator 0
P xxxxxxxxxxxxxxx
Product program name (Fixed at 15 characters)

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.3 C commands
E35HEC-4A-181-B0
3.3-13
3.3.8 C5 Command (Remote Control)
These commands are optional.
Used when the host computer actively operates the machine according to the production plan.
C5 commands are available only used when the equipment is in remote control mode.
Item Description
Command name Remote control
COM port used Port 1
Data format
Item Description
Command field C5 + Code representing the processing
Data size field 0
Data field None
Command sequence
Host computer system Equipment
C5
+ Code representing the
processing
(1) Executes remote processing
End (1) A2 (Data transfer end)
(1) No data type (2) Data-attached type
Starting the machine: C5ST∗∗
Use C5ST∗∗ command to start the machine.
Command format: C5ST∗∗
∗∗ Code Application
Machine status
∗∗
Description
BL Starts in the 1BLOCK stop mode
EP Starts in the EOP stop mode
Start with stop
mode specified
CT Starts in the CONT (continuous) mode
Start with no stop
mode specified
None Starts in the previously specified stop mode
Command transfer sequence
When the machine receives a C5ST command, it starts after setting the stop mode by using the **
code.
When the operation is started, an R command is returned to the host computer as an acknowledgment
signal. Refer to 3.4 R Commands for details.
Host computer system Equipment
C5STBL (1) Starts in 1block mode
End (1) A2 (Data transfer end)
(1) R1ST
A2 (Data transfer end) (1) End
(1) No data type (2) Data-attached type