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.
Summary of Contents for FP2 Series
Page 1: ......
Page 6: ...FP2 Serial Data Unit Table of Contents iv ...
Page 18: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 2 ...
Page 22: ...FP2 Serial Data Unit Functions of Serial Data Unit 1 6 1 3 Restrictions on Units Combination ...
Page 24: ...FP2 Serial Data Unit Parts and Functions 2 2 ...
Page 30: ...FP2 Serial Data Unit Confirming the Unit Settings and Design Contents 3 2 ...
Page 44: ...FP2 Serial Data Unit Communication with External Devices 4 2 ...
Page 66: ...FP2 Serial Data Unit Precautions Regarding Serial Data Unit Operation and Programs 5 2 ...
Page 72: ...FP2 Serial Data Unit Operation If an Error Occurs 6 2 ...
Page 78: ...FP2 Serial Data Unit Specifications 7 2 ...
Page 86: ...FP2 Serial Data Unit Specifications 7 10 7 4 Transmission Format ...
Page 88: ...FP2 Serial Data Unit Sample Programs 8 2 ...
Page 98: ...FP2 Serial Data Unit Sample Programs 8 12 8 2 Table of ASCII Codes ...
Page 100: ...Record of changes FP2 Serial Data Unit R 2 ...
Page 101: ......
Page 102: ......