Send Data Area - Panasonic FP0H User Manual

Programmable controller
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

KEY POINTS
Do not include the terminator (end code) in the send data. The terminator is
added automatically.
When the header (start code) is set to "STX" in system register No.413 or
414, do not add the header to send data. The header is added automatically.
When using AFP0HCCS1, transmission does not take place until CS (Clear
to Send) turns ON. If you are not going to connect to the other device,
connect to RS (Request to Send).
The maximum number of bytes to be sent [n] is 2048.

7.1.2 Send Data Area

Send data is stored as follows in a given memory area (e.g. data register DT). The number of
send data bytes is stored in the starting word. The value is switched to "0" when transmission
is complete.
 Structure of send data
Example: When a 8-byte data "ABCDEFGH" is sent
K8
DT100
H42(B)
H41(A)
DT101
H44(D)
H43(C)
DT102
DT103
H46(F)
H45(E)
DT104
H48(H)
H47(G)
Data table before transmission
When transmission begins: K8 is set and
reduces one by one at every transmission.
When transmission ends:
Data is transmitted in order from the
low order byte.
7.1 Overview of Sending Data
7-3

Advertisement

Table of Contents
loading

Table of Contents