115
Examples Using CompoWay/F Commands
Section 6-3
Operation 2 (Reading
PV)
• Reads the PV for TC2 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 00013
000020
0000 25
00 0030
MO V(021)
# 0015
D1100
MO V(021)
# 000F
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 0015 in D1100.
(No. of command data bytes =21)
Sets 000F in D1101.
(No. of response data bytes = 15)
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 21 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. (Turns ON CIO
000001.)
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. (Turns ON CIO 000000.)
Destina-
tion node
address
Service
code
Class ID
Instance
ID
Commu-
nica-
tions
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
84 hex
0000 hex
00 hex
0001 hex
No. of
bytes
received
Source
node
address
Service
code
Commu-
nica-
tions
Unit No.
Sub-
address
End code
FINS-mini command text
MRC
SRC
Re-
sponse
code
Read data
0B hex
00 hex
B6 hex
00 hex
00 hex
00 hex
01 hex
01 hex
0000 hex
(Example)
000240 hex
Summary of Contents for EJ1 - 07-2008
Page 3: ...iv...
Page 19: ...xx...
Page 33: ...14 Initial Temperature Controller Settings Section 1 4...
Page 53: ...34 Wiring the Temperature Controllers Section 3 4...
Page 101: ...82 Ladder Programming Examples Section 4 6...
Page 143: ...124 Sending Explicit Messages Section 6 5...
Page 155: ...136 Message Communications Characteristics Section 7 2...
Page 163: ...144 Maintenance Section 8 2...
Page 189: ...170 Allocation Numbers for Configurators Manufactured by Other Companies Appendix B...
Page 197: ...178 Index...