Omron E5ZN-DRT Operation Manual page 115

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

Advertisement

Examples Using CompoWay/F Commands
Operation 2 (Reading
PV)
Explicit Messages Command
Destina-
Service
Class ID
tion node
code
address
00 hex
36 hex
0086 hex
Explicit Messages Response
No. of
Source
Service
bytes
node
code
received
address
0D hex
00 hex
B6 hex
100
A20011
000014
First Scan
Flag ON
000000
A20200
000021
Execution
Network
condition
Enabled
Flag
000001
A20200
000026
Execution
Network
condition
Enabled
Flag
000031
• 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.
Instance
Unit No.
Sub-
ID
address
0001 hex
00 hex
00 hex
Unit No.
Sub-
End code
address
00 hex
00 hex
01 hex
MOV(021)
# 0017
D1100
MOV(021)
# 0010
D1101
MOV(021)
# 0000
D1102
MOV(021)
# 3FFE
D1103
MOV(021)
# 0000
D1104
MOV(021)
# 0064
D1105
151100
CMND(490)
D1000
Online Flag
(Word n + 11,
D1200
bit00)
D1100
ASL(025)
0000
A21900
MOV(021)
A203
Network
Execution
D1106
Error Flag
ASR(026)
0000
END(001)
SID
MRC
SRC
00 hex
01 hex
01 hex
FINS-mini command text
MRC
SRC
Re-
sponse
code
01 hex
01 hex
00 hex
Section 6-3
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)
END
FINS-mini command text
Variable
Address
Bit posi-
type
tion
C0 hex
0000 hex
00 hex
Read data
(Example) 240
000240 hex
No. of
elements
0001 hex

Advertisement

Table of Contents
loading

Table of Contents