TRNS 0 (d, s, t)

 

 

 

 

Chapter 5 Instruction specifications

 

 

 

 

 

 

 

 

 

 

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

 

Parameter setting is wrong.

 

 

 

 

setting error

 

 

 

 

 

 

 

 

 

 

 

 

H23

Reserve area for sending

 

Parameter is out of available I/O range.

 

 

 

 

range error

 

 

 

 

 

 

 

 

 

 

 

 

H24

Reserve area for receiving

 

Parameter setting is wrong.

Set right value.

 

 

 

 

setting error

 

 

 

 

 

H25

Reserve area for receiving

 

Parameter is out of available I/O range.

 

 

 

 

 

range error

 

 

 

 

 

 

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

 

Parameter s, t, or reserve area is overlapped.

 

 

 

 

*2

 

 

 

 

 

 

 

 

 

 

 

 

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

Check wiring and data format.

 

 

 

H42

Framing error *4

 

Framing error detected

 

 

 

H43

Overrun error detected

 

Overrun error detected

 

 

 

 

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.

5-120

Page 170
Image 170
Hitachi NJI-350B manual TRNS/RECV command return code table, Name Description Countermeasure