97
Examples Using CompoWay/F Commands
Section 6-3
Note
1.
Read Controller Attribute (05 03) cannot be executed using CompoWay/F
binary commands. Use CompoWay/F ASCII commands to execute this
service.
2.
To write setting data to the variable area for initial settings (variable type
C3) when using E5ZN Temperature Controllers (Write to Variable Area 01
02, variable type C3), first execute Move to Setting Area 1 (Operation Com-
mands 30 05, command code 07).
6-3
Examples Using CompoWay/F Commands
The following example shows the FINS-mini commands, Write to Variable
Area and Read from Variable Area, executed from a CS1W-DRM21 using
CompoWay/F binary commands (embedded in explicit messages).
Operation 1 (Writing
SP)
• Writes the SP to E5ZN Temperature Controller unit number 0, ch1. (The
SP written is 240.)
FINS-mini command: Writes 000240 hex as SP data for ch1 with write
start address = 0003 hex, MRC = 01 hex, SRC = 02 hex (Write to Variable
Area), variable type = C1 hex, and write start address = 0003 hex.
• The data is written using the EXPLICIT MESSAGE SEND command
(2801).
• The command data is written in words starting from D01000 in the CPU
Unit's memory, and the response data is stored in DM words starting from
D01200.
• If the command does not end normally, the end code is stored in D01106
and the send command is re-executed.
Explicit Message Command
Explicit Message Response
06
01
Read Controller
Status
Reads the operating status.
06 hex 01 hex
30 hex 36 hex 30 hex 31 hex
08
01
Echoback Test
Performs the echoback test.
08 hex 01 hex
30 hex 38 hex 30 hex 31 hex
30
05
Operation Com-
mands
Performs RUN/STOP, AT Exe-
cute/Cancel, Move to Setting Area 1,
etc.
30 hex 05 hex
33 hex 30 hex 30 hex 35 hex
MRC
SRC
Service name
Description
MRC, SRC notation
CompoWay/F
binary
commands
CompoWay/F ASCII
commands
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
ele-
ments
Write
data
00 hex
36 hex
0086 hex 0001 hex 00 hex
00 hex
00 hex
01 hex
02 hex
C1 hex
0003 hex 00 hex
0001 hex 000240
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
09 hex
00 hex
B6 hex
00 hex
00 hex
00 hex
01 hex
02 hex
00 hex
Содержание E5ZN-DRT
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi EC Directives 6 ...
Страница 83: ...68 Ladder Programming Examples Section 4 5 ...
Страница 123: ...108 Sending Explicit Messages Section 6 5 ...
Страница 135: ...120 Message Communications Characteristics Section 7 2 ...
Страница 157: ...142 Index Unit status 57 85 user set allocations 43 61 V variable types C0 51 C1 51 C3 52 ...
Страница 159: ...144 Revision History ...
Страница 161: ...E5ZN DeviceNet Communications Unit Cat No H119 E1 01 OPERATION MANUAL ...
Страница 162: ...Authorized Distributor Cat No H119 E1 01 Note Specifications subject to change without notice Printed in Japan ...