Chapter6 Communication Mode
6 - 19
F
ree
P
ro
to
col
[EHV-CPU]
Reference : Refresh of Input / Output data
Since the I/O processing system of EH-150 is refreshment processing, the data of X and Y is usually refreshed at a
scanning end. (In the case of the above program, it becomes a scanning end that X2113 and WX212 change.)
EH-150 is supporting the command refreshed for I/O data (FUN 80 – FUN 82) also in the middle of scan. Please
describe, just before referring to X and WX if needed.
TRNS 9 ( WY214 , WR0 , M0 )
WR7 = H0000
…
Initial setting command
WR8 = 200
…
Command timeout time
DR9 =ADR(WR100)
…
I/O address of sending data area
( WR100 )
DRB = ADR(WR200)
…
I/O address of receiving data area
( WR200 )
WRD = H0400
…
Size of receiving data area
R7E3
s parameter
Data receive command set
TRNS 9 command start
TRNS 9 command
1
<=
WX212
DIF
WR100 = H000E
…
No. of send data (byte)
WR101 = H0000
…
Communication mode
WR102 = H0100
…
Message composition etc
WR103 = H0000
…
Start character
WR104 = H0DFF
…
Stop character
WR105 = H0000
…
Check code calculation type
WR106 = 200
…
Receiving timeout time
WR107 = H0000
…
Data interval time
R7E3
Sending data area
(Parameter for initial
setting)
R7E3
M0
S
DIF
X2113
For initial setting
WR7 = H0010
…
Data receive command
M0 = 1
Содержание EH-150 Series
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER Serial Communication Module EH SIO APPLICATION MANUAL NJI 443F X ...
Страница 2: ......
Страница 10: ...M E M O ...
Страница 30: ...Chapter 4 Installation 4 10 M E M O ...
Страница 156: ...Chapter 7 System setup 7 12 M E M O ...
Страница 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...