Chapter 5 Instruction specifications
5-118
[9] Timeout :
This bit is set "1" when timeout detected.
[A] Input buffer full :
This bit is set "1" when input buffer full
[B] Conflict error :
This bit is set "1" when TRNS 0 or RECV 0 commands are duplicated.
Bit [6] to [B] is reset at initializing and TRNS 0 executed.
(7) Sending/receiving data format
Set sending data as follows, and Receiving data is set as follows.
[1] Sending/receiving data byte is even. [2] Sending/receiving data byte is odd.
Sending/Receiving data byte (N)
1
st
byte
2
nd
byte
3
rd
byte
4
th
byte
5
th
byte
6
th
byte
7
th
byte
8
th
byte
N-1
th
byte
N
th
byte
…
Reserve area
for data
sending/receiving
Sending/Receiving byte (N)
1
st
byte
2
nd
byte
3
rd
byte
4
th
byte
5
th
byte
6
th
byte
7
th
byte
8
th
byte
N
th
byte
(ignored)
…
N-2
th
byte
N-1
th
byte
Caution
z
Be sure to switch port type at first from dedicated port to general purpose port by FUN 5 command in user program.
z
If CPU receives data by RECV command after data sending, received data could be failed depending on timing. In such a
case, TRNS command with "receive enabled" is recommended.
z
No contact nor condition is allowed to use with TRNS 0 command.
z
Be sure to set [0] Execution bit high in 2
nd
scan or later. (Not in 1
st
scan)
z
If parameter setting is wrong, error code H52 (TRNS/RECV command error) is set in WRF000 in some cases.
z
ER signal is set on in the following condition.
Communication executed properly.
z
ER signal is set off in the following condition.
-
Initialized bit being set "1" while communication.
-
CPU status changed RUN
→
STOP
→
RUN while communication
-
Timeout while communication.
-
s, t parameters overwritten and range error while communication.
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 ...