Download Print this page

Hitachi Hidic EH-150 Applications Manual page 69

Ethernet module
Hide thumbs Also See for Hidic EH-150:

Advertisement

Preliminary Rev.03
Sample program
R7E3
R100
R21
M175 R104
R22
R104 M171
R7E3
- Description in this manual might be modified without notice.
Event sending
WM003 = H2
WM004 = H2F
ADRIO = (WM005, R100)
ADRIO = (WM006, WM10)
WM007 = 13
R100 = 1
R100
FUN201 (WM000)
M230 = 1
R103 = 1
R104 = 0
R21 = 0
R22 = 1
M230 = 0
R103 = 1
R104 = 0
R22 = 0
WM00B = H3
WM00C = H0
ADRIO = (WM00D, R103)
ADRIO = (WM00E, WM20)
WM00F = 10
FUN201 (WM008)
Chapter 7 Automatic data transmission
(00001)
Parameters setting of FUN201(s) for reading out SR.
Request to read out SR
Area setting (unit:0, slot:0)
Control bit address is R100
Transmission I/O address is starting from WM10
Transmission data size is 13 words
Setting 1 to control bit for reading SR
(00002)
S
Reading out SR at R100 = 1
(00003)
FUN201 for reading out SR
(00004)
Set 1 to "Request for event sending bit".
Set 1 to "request to write CR bit".
Clear "OK flag for writing CR".
This circuit disabled.
Next circuit enabled.
(00005)
Clear "Request for event sending bit".
Set 1 to "request to write CR bit".
Clear "OK flag for writing CR".
This circuit disabled.
(00006)
Parameters setting of FUN201(s) for writing CR.
Request to write CR.
Area setting (unit:0, slot:0)
Control bit address is R103.
Transmission I/O address is starting from WM20.
Transmission data size is 10 words.
(00007)
FUN 201 for writing CR.
7-22

Advertisement

loading

This manual is also suitable for:

Eh-eth