Communication with External Devices
FP2 Serial Data Unit
4 − 21
4.5 Data Sent and Received with the Serial Data Unit
3) Data is stored two bytes at a time, first the lower byte and then
the upper byte, in the data register.
DT0
H31
(1)
H32
(2)
H33
(3)
H34
(4)
H35
(5)
H0D
(C
R
)
DT1DT2
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte
When receiving data:
The data of received area being read is ASCII code data.
Example:
When the data “12345C
R
” is sent from an RS232C device
When the received data is read from the shared memory to a data
register, it is stored as follows.
DT10
H31
(1)
H32
(2)
H33
(3)
H34
(4)
H35
(5)
H0D
(C
R
)
DT11DT12
Upper
byte
Lower
byte
Upper
byte
Lower
byte
Upper
byte
Lower
byte