Program Controlled Communication - Panasonic FPS Series User Manual

Table of Contents

Advertisement

FPΣ User's Manual

8.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 FPΣ 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 189.) Sending can be
controlled by the "transmission done" flag. (See also "Flag Operation in Program Controlled
Communication" on page 198.)
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.
Sending data using F159_MTRN
Receiving data
Data register (DT)
Sending data using F159_MTRN
Send buffer
Receive buffer
8.6 Program Controlled Communication
Image checker
RS-232C
COM COM D2
POWER
READY
FLASH
MODE
MICRO-IMAGECHECKER
A
KEY PAD
B
Matsuhita Electronic Works, Ltd.
C
24VDC
CAMERA
MONITOR
Bar code reader
Device with
RS232C port
D4
D6
D8
D9
D1
D3
D5
D7
READY
M100
START ACK IN1
IN3
IN5
COM COM IN2 IN4
COM
187

Advertisement

Table of Contents
loading

Table of Contents