Figure 5-5 The Contents Of The Example Program - Hitachi HSC-2100 Hardware Manual

I/o modules
Table of Contents

Advertisement

X020
X020 V000
T000
E43C V001
T001 V002
T002
R010 X010 V003
T003
R010
T004 R011
X010 V005
R011
R013 R014 X011 V006
T008 V010
R013 R014 X010
T009 V012
(*1) In this rung, it is necessary for the program to wait at least the remote I/O transfer
time (for example, 100 ms).
(*2) Write the data to the write-data storage location in the data area and then store the
control code in place.

Figure 5-5 The Contents of the Example Program

DST
F
DST
F
T000
DST
F
DST
F
T001
DST
F
DST
F
T002
Y030
DST
F
DST
F
T003
V004
DST
F
DST
F
T004
DST
F
Y031
DST
F
DST
F
R012
T005
T005 V007
DST
F
DST
F
T006
T006 V008
DST
F
DST
F
T007
DST
T007 V009
F
T008
DST
F
V011
DST
F
T009
DST
F
DST
F
5-21
5 MAKING USE OF MODULES
H0 = RW010
H8 = EW410
1 (*1)
1st comparison value = EW400
H2 = EW410
1 (*1)
1st preset value = EW400
H4 = EW410
1 (*1)
Start of normal rotation of motor
2nd comparison value = EW400
H2 = EW400
1 (*1)
H1 = EW410
H1 = R010
1 (*1)
H1 = R011
Start of reverse of motor
H8 = EW410
H1 = R012
1 (*1)
2nd preset value = EW400
H4 = EW410
1 (*1)
3rd comparison value = EW400
H2 = EW410
1 (*1)
H1 = EW410
1 (*1)
H1 = R013
H8 = EW410
1 (*1)
H1 = EW410
H1 = R014
(*2)

Advertisement

Table of Contents
loading

Table of Contents