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.
Summary of Contents for FPS Series
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures...
Page 21: ......
Page 22: ...Chapter 2 Overview...
Page 32: ...Chapter 3 CPU Types...
Page 47: ...CPU Types FP User s Manual 30 LD Body...
Page 51: ...CPU Types FP User s Manual 34 POU Header and LD Body...
Page 55: ...CPU Types FP User s Manual 38 LD Body...
Page 57: ......
Page 58: ...Chapter 4 Expansion...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output...
Page 169: ......
Page 170: ...Chapter 8 Communication...
Page 227: ...Communication FP User s Manual 210 LD Body ST Body...
Page 233: ...Communication FP User s Manual 216 POU Header LD Body...
Page 236: ...FP User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2...
Page 237: ...Communication FP User s Manual 220 2 2 ST Body...
Page 266: ...Chapter 9 Security Functions...
Page 273: ......
Page 274: ...Chapter 10 Other Functions...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting...
Page 289: ......
Page 290: ...Chapter 12 Appendix...