Hitachi HIDIC EH-150 Applications Manual page 90

Programable controller; ethernet module(eh-eth)
Hide thumbs Also See for HIDIC EH-150:
Table of Contents

Advertisement

[Basic operation 2]
To read status register (Control type "H0001"(handshake valid))
R7E3
Wait execute
instruction
R7E4
Command execute
R7E3
R7E4
Wait execute
instruction
R7E3
R7E4
Wait execute
instruction
st
1
scan
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
R103 = 1
FUN201 ( WR008 )
:
:
:
END
nd
2
scan
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
R103 = 1
FUN201 ( WR008 )
:
:
:
END
rd
3
scan
WR00B = H1
WR00C = H0
ADRIO ( WR00D, R103 )
ADRIO ( WR00E, WM110 )
WR00F = 13
R103 = 1
FUN201 ( WR008 )
:
:
:
END
8-15
Chapter 8 Register Structure
(00001)
(00002)
(00003)
FUN201 command
- Keep Execute flag R100=1
- Clear normal complete flag and abnormal
complete flag
(0000n)
(00001)
FUN201 is in execution. so this instruction is
(00002)
not executed.
Namely, data is not written to control
register from 2nd scan to 3rd scan.
(00003)
FUN201 command
- execute flag clear 0
- set normal complete flag or abnormal
complete flag depend on the result of
execution
(0000n)
(00001)
(00002)
(00003)
UN201 command
- Keep Execute flag R100=1
- Clear normal complete flag and abnormal
complete flag
(0000n)

Advertisement

Table of Contents
loading

Table of Contents