Communication
FP
Σ
User's Manual
176
NOTE
•
If no response is returned, the command may not have arrived at the slave,
or the slave may not be functioning. Check to make sure all of the
communication specifications (e.g. baud rate, data length, and parity) match
between the master and the slave.
•
Station number and command name are always identical in a command and
its corresponding response (see below). This makes the correspondence
between a command and a response clear.
%
0
1
#
R
C
C
R
%
0
1
$
R
C
C
R
1
Command message
2
Response message
8.5.3 Commands
Command name
Code
Description
Read contact area
RC
(RCS)
(RCP)
(RCC)
Reads the on and off status of contacts.
- Specifies only one point.
- Specifies multiple contacts.
- Specifies a range in word units.
Write contact area
WC
(WCS)
(WCP)
(WCC)
Turns contacts on and off.
- Specifies only one point.
- Specifies multiple contacts.
- Specifies a range in word units.
Read data area
RD
Reads the contents of a data area.
Write data area
WD
Writes data to a data area.
Read timer/counter set value area
RS
Reads the value set for a timer/counter.
Write timer/counter set value area
WS
Writes a timer/counter setting value.
Read timer/counter elapsed value area
RK
Reads the timer/counter elapsed value.
Write timer/counter elapsed value area
WK
Writes the timer/counter elapsed value.
Register or Reset contacts monitored
MC
Registers the contact to be monitored.
Register or Reset data monitored
MD
Registers the data to be monitored.
Monitoring start
MG
Monitors a registered contact or data using MD and MC.
Preset contact area (fill command)
SC
Embeds the area of a specified range in a 16-point on and
off pattern.
Preset data area (fill command)
SD
Writes the same contents to the data area of a specified
range.
Read system register
RR
Reads the contents of a system register.
Write system register
WR
Specifies the contents of a system register.
Read the status of PLC
RT
Reads the specifications of the PLC and error codes if an
error occurs.
Содержание AFPG951T34
Страница 7: ......
Страница 17: ......
Страница 18: ...Chapter 1 Safety Measures ...
Страница 21: ......
Страница 22: ...Chapter 2 Overview ...
Страница 32: ...Chapter 3 CPU Types ...
Страница 47: ...CPU Types FPΣ User s Manual 30 LD Body ...
Страница 51: ...CPU Types FPΣ User s Manual 34 POU Header and LD Body ...
Страница 55: ...CPU Types FPΣ User s Manual 38 LD Body ...
Страница 57: ......
Страница 58: ...Chapter 4 Expansion ...
Страница 73: ......
Страница 74: ...Chapter 5 I O Allocation ...
Страница 81: ......
Страница 82: ...Chapter 6 Installation and Wiring ...
Страница 104: ...FPΣ User s Manual 6 4 Input and Output Wiring 87 A FPΣ 1 Output terminal 2 Load 3 Inductor COM 2 1 3 ...
Страница 115: ......
Страница 116: ...Chapter 7 High Speed Counter and Pulse Output ...
Страница 169: ......
Страница 170: ...Chapter 8 Communication ...
Страница 227: ...Communication FPΣ User s Manual 210 LD Body ST Body ...
Страница 233: ...Communication FPΣ User s Manual 216 POU Header LD Body ...
Страница 236: ...FPΣ User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2 ...
Страница 237: ...Communication FPΣ User s Manual 220 2 2 ST Body ...
Страница 266: ...Chapter 9 Security Functions ...
Страница 273: ......
Страница 274: ...Chapter 10 Other Functions ...
Страница 277: ......
Страница 278: ...Chapter 11 Troubleshooting ...
Страница 289: ......
Страница 290: ...Chapter 12 Appendix ...