Hitachi EH-150 Series Applications Manual page 124

Table of Contents

Advertisement

Chapter 6 Communication mode
 Execution of Initial setting
Set command execution request bit (t+0) ON after storing required data to both s parameter and sending data area.
« Note »
The maximum number of EH-SIO modules specified as Hi-Protocol mode is 8 with one CPU module.
 Completion of initial setting
(1) Completed properly
H0000 is stored return code area (s+0) and completion bit (t+1) is turned ON. XICx and TIIx of status register are
turned ON, HPx of status LEDis turned ON and LNK, MBx and MSx of status LEDs are turned OFF.
(x-1 : port 1, x-2 : port2)
(2) Error
Error bit (t+2) is turned ON and error code is stored into return code area.
Please remove the cause of error by reference to the return code in "6.5.5 Error detection in Hi-Protocol mode".
 Sample program [ initial setting ]
(1) Ladder program
[EH-CPU]
R7E3
WR7 = H0000
WR8 = 200
WR9 = H000A
WRA = H0100
WRB = H000A
WRC = H0200
WRD = H0002
R7E3
WR100 = H0006
WR101 = H0020
WR102 = H0001
WR103 = H2700
TRNS 9 ( WYA5 , WR0 , M0 )
R7E3
R0 DIF1
XA29
Initial configuration command
Command timeout time
I/O address of sending data area
( WR100 )
I/O address of receiving data area
( WR200 )
Receiving data area size
No. of send data
Communication mode
Task code type
Station number
6 - 82
s parameter specify portion
Sending data area
(parameter for initial
configuration specify
portion)
TRNS 9 command
description portion
M0
TRNS 9 command
execution portion
S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ehv seriesHx series

Table of Contents