Data Transmission; General−Use Serial Communications Function - Panasonic FP0 User Manual

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

Advertisement

FP0
10.1 General−use Serial Communications Function
10.1.1
General−use Serial Communications
Using the RS232C port, data and commands can be sent to and received from an
external device such as a bar code reader. This is done by executing the F144 (TRNS)
instruction.
Transmission and reception are not enabled in the default settings, so system register
412 must be changed to a general−use port (K2).
The transmission speed (baud rate) and transmission format are set using system
register 413 and 414.
10.1.2

Data Transmission

Any desired data register can be prepared as the transmission table, and the data
stored in that table transmitted.
Start and terminal codes are automatically added to the data being transmitted, and the
data is sent. (For details, see "F144 (TRNS)" instruction.)
The data register to be used as the transmission table is specified using the F144
(TRNS) instruction.
Data transmission is executed using the F144 (TRNS) instruction.
There is no restriction on the number of bytes that can be transmitted. Any number of
bytes may be sent, as long as it does not exceed the range that can be used by the data
register.
Transmission
External device
(PC, etc.)
10.1
Table for transmission
Transmitted data
storage area
General−use Serial Communications
General−use Serial Communications Function
10 − 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents