Chapter6 Communication Mode
6 - 13
F
ree
P
ro
to
col
Sample program [ Initial setting ]
(1) Ladder program
[EH-CPU]
[EHV-CPU]
* This is a sample program for initial setting. When communicating, it is necessary to add the communication
program to the above sample program. Please refer to the sample program of “Data receiving” and “Receiving
after sending” for details.
TRNS 9 ( WY14 , 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
TRNS 9 command
WR100 = H000E
…
No. of send data (byte)
WR101 = H0000
…
Communication mode
WR102 = H1300
…
Message composition, others
WR103 = H02FF
…
Start character
WR104 = H0D0A
…
Stop character
WR105 = H0003
…
Check code calculation type
WR106 = 100
…
Receiving timeout time
WR107 = H0000
…
Data interval time
R7E3
Sending data area
(parameter for initial
setting)
R7E3
M0
S
DIF
TRNS 9 command
execution
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 ( WY14 , WR0 , M0 )
WR100 = H000E …
No. of send data (byte)
WR101 = H0000 …
Communication mode
WR102 = H1300 …
Message composition, others
WR103 = H02FF …
Start character
WR104 = H0D0A …
Stop character
WR105 = H0003 …
Check code calculation type
WR106 = 100
…
Receiving timeout time
WR107 = H0000 …
Data interval time
S
DIF 0
R7E3
R7E3
M0
R7E3
s parameter
Sending data area
(parameter for initial
setting)
TRNS 9 command
TRNS 9 command
execution
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...