Receiving Data - Panasonic FP0R User Manual

Programmable controllers
Hide thumbs Also See for FP0R:
Table of Contents

Advertisement

Communication
Writing to send buffer
Send buffer layout

6.6.3 Receiving data

126
The instructions SendCharacters and SendCharactersAndClearString auto-
matically generate the data in the send buffer.
Q Storage area for the number of bytes to be sent
W Storage area for the data to be sent
Bold numbers indicate the order of transmission. The storage area for the
data to be sent starts with the second word of the send buffer (offset 1).
Offset 0 contains the number of bytes to be sent. The maximum volume of
data that can be sent is 2048 bytes.
If F159_MTRN is used for transmission, the data must be copied to the
send buffer using a transfer instruction, e.g. F10_BKMV.
Data can be received from an external device if the "reception done" flag is
FALSE. (The "reception done" flag turns to FALSE after switching to RUN
mode.) Data is automatically received in the receive buffer (see p. 128).
The receive buffer must be defined in the system registers. After the end of
reception has been verified, data can be copied into a specified target area
of the CPU.
When the end code is received, the "reception done" flag turns to TRUE.
Reception of any further data is prohibited. The maximum volume of data
that can be received is 4094 bytes. No end code is included in the data
stored.
FP0R User's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents