Panasonic FP E Series User Manual page 194

Table of Contents

Advertisement

Data to be sent/received with FPΣ
Remember the following when accessing data in the FPΣ send and receive buffers:
• If a header has been chosen in the communication format settings, the code STX (H02) will
automatically be added at the beginning of the data begin sent.
• The data without the Code STX at the reception is stored in the receive buffer, and the "reception
done" flag turns on when the terminator (end code) is received.
However, if the code STX is added in the middle of the data, the number of received byte is cleared to
0, and the data is stored from the beginning of the receive buffer.
• A terminator is automatically added to the end of the data being sent.
• There is no terminator on the data stored in the receive buffer.
Sending data:
Data written to the send buffer will be sent just as it is.
Example:
The data "12345" is transmitted as an ASCII code to a device with RS232C port.
1. Data sent using the F95 (ASC) instruction should be converted to ASCII code data.
2. If DT100 is being used as the send buffer, data will be stored in sequential order in the data registers
starting from the next register (DT101), in two-byte units consisting of the upper and the lower byte.
Receiving data:
The data of the receive area being read is ASCII code data.
Example:
The data "12345
" is transmitted from a device with RS232C port.
C
R
• If DT200 is being used as the receive buffer, received data will be stored in the registers starting from
DT201, in sequential order of first the lower byte and then the upper byte.
7-44

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents