Chapter 5 Instruction specifications
5-120
TRNS/RECV command return code table
Return code
Name
Description
Countermeasure
H00
Completed properly
Operation completed without error
-
H21
Range error
Parameter "s" and "t" is out of available I/O range.
H22
Reserve area for sending
setting error
Parameter setting is wrong.
H23
Reserve area for sending
range error
Parameter is out of available I/O range.
H24
Reserve area for receiving
setting error
Parameter setting is wrong.
H25
Reserve area for receiving
range error
Parameter is out of available I/O range.
H26
Sending data error
Configured sending data length is beyond reserve area
H27
Receiving data error
Configured receiving data length is beyond reserve area
H28
Area overlapping error
*2
Parameter s, t, or reserve area is overlapped.
Set right value.
H30
Timeout *1
Communication is not completed within configured time.
Set longer timeout or check the
program.
H40
Receiving area over *3
Received data is beyond reserved area
Configure bigger size
H41
Parity error *4
Parity error detected
H42
Framing error *4
Framing error detected
H43
Overrun error detected
Overrun error detected
Check wiring and data format.
H44
Conflict error
TRNS 0/RECV 0 duplicated
Execute one by one
H45
Parameter error
Baud rate or format setting is wrong
Set right value.
H46
Port type error
Port type is not general purpose port.
Configure general purpose port.
*2
Area overlapping error (H28) is not detected in the following case.
TRNS n (d,s,t)
b15
b0
t+1
t
t+2
Data overlapping
If starting area of "s" parameter and "t" parameter is overlapped, error code H21 can be set instead of H28.
*3
Received data is stored as long as reserved area. (1,024 bytes)
*4
Data is not guaranteed.
TR
N
S
0
(
d, s, t)
Summary of Contents for HIDIC MICRO-EH
Page 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Page 12: ...MEMO ...
Page 14: ...Chapter 1 Features 1 2 MEMO ...
Page 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Page 196: ...Chapter 5 Instruction Specifications 5 146 ...
Page 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...