FP2 Serial Data Unit
Communication with External Devices
4 − 6
4.1 Overview of Communication with External Devices
Explanatory diagram
FP2 serial data unit
1
Data receiving
3
Data reading
Received
buffer
Data register Shared memory
DT100
4
Received buffer clearing (Y11: on)
FP2 CPU unit
RS232C
device
2
Reception Completed (X1: on)
After the received data
has been stored in the
data register, the re-
ceived buffer is cleared.
Notes
• About the F95 (ASC) instruction
This instruction converts the specified character (12
characters in length) to an ASCII code, and stores it in a
6−word area starting with the specified address.
• About the end code
If there is no end code in the data being sent, data cannot be
sent and received from the serial data unit.
Always make sure an end code is added.