HOST.pdf - 第21页

BM 122/ 123 /1 33/ 221/2 31 HOST COMPUTER SYSTEM 3.2 Comm and Descri pti on E35HEC- 4A-171- A0 3.2- 2 3.2. 4 R commands (R0, R1, R2 and R 3) R (real -tim e) comm ands are to inf or m the host com puter of the changes of …

100%1 / 64
BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.2 Command Description
E35HEC-4A-171-A0
3.2-1
3.2. Command Description
E35HEC-4A-171-A0
The commands are divided into 4 types. These are respectively divided into smaller types, and the actual
use is explained below.
3.2.1 C commands (C0, C1, C2, C3 and C5)
There are 5 types of remote control commands to the machine, C0, C1, C2, C3 and C5.
These commands are all effective only from the host computer controlling the machine.
C commands cannot be output from the machine to the host computer.
3.2.2 A commands (A0, A2, A3 and A4)
A (Acknowledge) commands are used when the host computer converses with the machine to acknowledge
that commands have been mutually received and that there are no errors.
These commands can be used both by the host computer and the machine.
Command to request the next data: A0
This command shows that the receiver has properly received the data transmitted by the sender, and is
usually used as a command requesting the next data.
Data transmission end command: A2
This is the command showing that the conversation between the host computer and the machine has been
completed without any trouble.
By this A2 command, the machine discontinues the conversation mode.
No requested data command: A3
Though C1 command is sent to the machine requesting data to be sent, if the name of the program is not
found, this command is used.
Received data invalid command: A4
This command is generated if any abnormality has occurred in sequence of command, or if the machine has
received commands when not in the condition to receive commands.
In this case, the machine invalidates the received data.
A4 command has the following 2 items.
A4E00 (Operation error)
The machine has received C command when it cannot receive commands.
Ex.:
If C5 command is sent when remote control has been disabled on the machine (set in the menu).
If command is sent while the machine is in the processing of program selection, program editing or
production information update.
Besides, if there are abnormalities in command code, or if a command which is invalid because of
unavailable option has been received, this command is sent.
A4E01 (Protocol error)
Another command has been received while sending data.
3.2.3 D command (D0)
Used when sending data in the program transfer mode.
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.