100
Examples Using CompoWay/F Commands
Section 6-3
Operation 2 (Reading
PV)
• Reads the PV for E5ZN (Temperature Controller) unit number 0, ch1.
FINS-mini command: Reads the PV of ch1. MRC = 01 hex, SRC = 01 hex
(Read from Variable Area), variable type 00 hex, and read start address =
0000 hex.
• The data is read using the EXPLICIT MESSAGE SEND command (2801).
• The command data is written in DM words starting from D01020 in the
CPU Unit's memory, and the response data is stored in DM words starting
from D01220.
• If the command does not end normally, the end code is stored in D01126
and the send command is re-executed.
Explicit Messages Command
Explicit Messages Response
0 00014
000021
0000 26
00 0031
MO V(021)
# 0017
D1100
MO V(021)
# 0010
D1101
MO V(021)
# 0000
D1102
MO V(021)
# 3FFE
D1103
MO V(021)
# 0000
D1104
MO V(021)
# 0064
D1105
A20011
A 20200 151100
CMND(490)
D100 0
D120 0
0000 00
D1 100
ASL(02 5)
0 000
A20200
A21900
MOV(02 1)
A203
D1 106
00 0001
ASR( 026)
0000
END( 001)
END
First Scan
Flag ON
Execution
condition
Network
Enabled
Flag
Online Flag
(Word n + 11,
bit00)
Execution
condition
Network
Execution
Error Flag
Network
Enabled
Flag
Sets 0017 in D1100.
(No. of command data bytes =23)
Sets 0010 in D1101.
(No. of response data bytes = 16)
Sets 0000 in D1102.
(Destination network address = 00)
Sets 3FFE in D1103.
(Destination node address = 3F,
destination unit address = FE)
Sets 0000 in D1104.
(Response required,
communications port No. = 0,
No. of retries = 0)
Sets 0064 in D1105.
(Response monitoring time = 10.0 s)
Sends 23 bytes of command data
starting from D1000 to destination
node address 00, and stores 16 bytes
of response data in D1200 of the local
node (D1100 or controller data)
Shifts the contents of CIO 0000 one
bit to the left. (CIO 000001 ON)
Stores A203 (network communications
response code) in D1106.
Shifts the contents of CIO 0000 one
bit to the right, and retries in the next
cycle. (CIO 000000 ON)
Destina-
tion node
address
Service
code
Class ID
Instance
ID
Unit No.
Sub-
address
SID
FINS-mini command text
MRC
SRC
Variable
type
Address
Bit posi-
tion
No. of
elements
00 hex
36 hex
0086 hex
0001 hex
00 hex
00 hex
00 hex
01 hex
01 hex
C0 hex
0000 hex
00 hex
0001 hex
No. of
bytes
received
Source
node
address
Service
code
Unit No.
Sub-
address
End code
FINS-mini command text
MRC
SRC
Re-
sponse
code
Read data
0D hex
00 hex
B6 hex
00 hex
00 hex
01 hex
01 hex
01 hex
00 hex
(Example) 240
000240 hex
Summary of Contents for E5ZN-DRT
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x ...
Page 15: ...xvi EC Directives 6 ...
Page 83: ...68 Ladder Programming Examples Section 4 5 ...
Page 123: ...108 Sending Explicit Messages Section 6 5 ...
Page 135: ...120 Message Communications Characteristics Section 7 2 ...
Page 157: ...142 Index Unit status 57 85 user set allocations 43 61 V variable types C0 51 C1 51 C3 52 ...
Page 159: ...144 Revision History ...
Page 161: ...E5ZN DeviceNet Communications Unit Cat No H119 E1 01 OPERATION MANUAL ...