Program Controlled Communication - Panasonic FP0R User Manual

Hide thumbs Also See for FP0R:
Table of Contents

Advertisement

Communication

7.6 Program Controlled Communication

With program controlled communication, the user generates a program which governs the
data transfer between a PLC and one or more external devices connected to the
communication port. By this, any standard or user protocol can be programmed.
Typically, such a user program consists of sending and receiving the data. The data to be
sent and the data received are stored in data register areas defined as send and receive
buffers.
Data registers (DT)
Send buffer
Receive buffer
PLC
Program controlled connection between the FP0R and an external device
Sending data
Sending includes generating the data for the send buffer and sending it using the instruction
F159_MTRN. (See also "Sending data to external devices" on page 129.) Sending can be
controlled by the "transmission done" flag. (See also "Flag Operation" on page 138.)
Data register (DT)
Writing data
PLC
The start and end codes specified in the system registers are automatically added to the data
sent. The maximum volume of data that can be sent is 2048 bytes.
Receiving data
Data is automatically received in the receive buffer defined in the system registers. Receiving
includes processing the data in the receive buffer and preparing the system to receive further
126
Sending data using F159_MTRN
Receiving data
Sending data using F159_MTRN
Send buffer
Receive buffer
Image checker
RS-232C
COM COM D2
D4
D6
D8
D9
FLASH
D1
D3
D5
D7
READY
POWER
READY
MODE
MICRO-IMAGECHECKER
A
M100
KEY PAD
B
Matsuhita Electronic Works, Ltd.
C
24VDC
START ACK IN1
IN3
IN5
COM COM IN2 IN4
COM
CAMERA
MONITOR
Bar code reader
Device with
RS232C port

Advertisement

Table of Contents
loading

Table of Contents