HOST.pdf - 第46页
BM 122/ 123 /1 33/ 221/2 31 HOST COMPUTER SYSTEM 3. 5 W ire-br eak Detection C2HB / R1HB E35HEC- 4A-121- A0 3.5- 1 3.5. Wire -break Detection C2HB / R1HB E35HEC- 4A-121- A0 3.5. 1 Purpose These comm ands are f or det ect…

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.4 R Commands
E35HEC-4A-191-A0
3.4-8

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.5 Wire-break Detection C2HB / R1HB
E35HEC-4A-121-A0
3.5-1
3.5. Wire-break Detection C2HB / R1HB
E35HEC-4A-121-A0
3.5.1 Purpose
These commands are for detecting communications trouble between the machine equipped with
PanaProtocol LAN and the host computer quickly.
C2HB command
Item Description
Command name Wire-break detection (Inquiry)
COM port used Port 1
Data format
Item Description
Command field C2HBxxxxxxxx
Data size field 0
Data field None
Command format:
(1) Command field
(2) Sends 00 (0)
C2HB xx xxxxxx
(1) (2) (3)
(3) ID field: 6 characters
R1HB command
Item Description
Command name Wire-break detection (Response)
COM port used Port 2
Data format
Item Description
Command field R1HBxxxxxxxx
Data size field 0
Data field None
Command format:
(4) Command field
(5) Sends 00 (0)
R1HB xx xxxxxx
(4) (5) (6)
(6) ID field: 6 characters
Responds with the copied character string of (3) received as a part of
C2HB command.
Command sequence
Host computer system Equipment
C2HBxxxxxxxx (1)
(1) A2 (Data transfer end)
(1) R1HB
(1) No data type (2) Data-attached type

BM122/123/133/221/231
HOST COMPUTER SYSTEM
3.5 Wire-break Detection C2HB / R1HB
E35HEC-4A-121-A0
3.5-2
3.5.2 How to Check Errors
Host computer sends C2HB commands to the machine. (at Intervals of 30 s or more)
If the host computer receives an A2 command from the machine, communication via the port 1 is normal. If
it cannot receive the command, there is something wrong with the port.
If the host computer receives an R1HB command from the machine, communication via the port 2 is normal.
If it cannot receive the command, there is something wrong with the port.
When R command is disabled, R1HB command will not be returned.
If some trouble has been detected, it is necessary to make reconnection from the host computer side.
If an A4E00 command is returned instead of A2, command error may be the possible cause and there is
nothing wrong with the port.
3.5.3 Relation Between C2HB and Other C commands
Ex. 1
Another C5 command can be sent between a C2HB command and a response with an R1HB command.
Host computer system Equipment
C2HB (1)
(1) A2 (Data transfer end)
C5RE (1)
(1) A2 (Data transfer end)
(1) R1HB
(1) R1RE
(1) No data type (2) Data-attached type
Ex. 2
R commands are output regardless of the order of C commands received.
In case of C5RE, it may take time before an R1RE is output. In the meantime, a C2HB and an R1HB may be
completed.
Host computer system Equipment
C5RE (1)
(1) A2 (Data transfer end)
C2HB (1)
(1) A2 (Data transfer end)
(1) R1HB
(1) R1RE
(1) No data type (2) Data-attached type
=REMARKS=
If C5HB command is used when the R command buffer is full, the R commands will be removed in the order
they were stored.