Omron E5ZN-DRT Operation Manual page 117

Devicenet communications unit for e5zn temperature controllers
Hide thumbs Also See for E5ZN-DRT:
Table of Contents

Advertisement

Examples Using CompoWay/F Commands
Program Example (Operation 2)
102
A20011
000000
First Scan
Flag ON
BSET(071)
Sets 0000 (clears) in D1020 to D1229.
# 0000
D1020
D1229
Sets 2801 in D1020. (Command code = 28 01)
MOV(021)
# 2801
D1020
MOV(021)
Sets 0036 in D1021.
(Slave node address = 00, service code = 36)
# 0036
D1021
Sets 0086 in D1022. (Class ID = 86)
MOV(021)
# 0086
D1022
Sets 0001 in D1023. (Instance ID = 01)
MOV(021)
# 0001
D1023
Sets 0000 in D1024.
MOV(021)
(E5ZN Unit No. = 00, sub-address = 00)
# 0000
D1024
Sets 0001 in D1025. (SID = 00, MRC = 01)
MOV(021)
# 0001
D1025
Sets 01C0 in D1026.
MOV(021)
(SRC = 01, variable type = C0)
# 01C0
D1026
Sets 0000 in D1027. (Read address = 0000)
MOV(021)
# 0000
D1027
Sets 0000 in D1028
MOV(021)
(Bit position = 00, No. of elements = 00)
# 0000
D1028
MOV(021)
Sets 0100 in D1029. (Number of elements = 01)
# 0100
D1029
Section 6-3

Advertisement

Table of Contents
loading

Table of Contents