Chapter6 Communication Mode
6 - 25
F
ree
P
ro
to
col
Sample program [ Initial s Receiving after sending ]
(1) Ladder program
[EH-CPU]
WR7 = H0000 …
Initial setting command
WR8 = 200
…
Command timeout time
WR9 = H000A
I/O address of sending data area
WRA = H0100
( WR100 )
WRB = H000A
I/O address of receiving data area
WRC = H0200
( WR200 )
WRD = H0400 …
Size of receiving data area
TRNS 9 ( WY4A5 , WR0 , M0 )
R100 = 0
WR100 = H0003
WR101 = H4C4F
WR102 = H4E00
WR7 = H0021 …
Receiving after sending command
M0 = 1
R7E3
Send data, command set.
TRNS 9 command start
WR100 = H000E …
No. of send
data (byte)
WR101 = H0000 …
Communication mode
WR102 = H0000 …
Message composition, others
WR103 = H0000 …
Start character
WR104 = H0000 …
Stop character
WR105 = H0000 …
Check code calculation type
WR106 = 100
…
Receiving timeout time
WR107 = 10
…
Data interval time
R7E3
R7E3 DIF0
M0
S
R100 X4A29
Send data
s parameter
Sending data area
(parameter for initial
setting)
TRNS 9 command
TRNS 9 command
execution
For initial setting
Содержание 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 ...