Sample Program For Master Communication - Panasonic FPS Series User Manual

Table of Contents

Advertisement

FPΣ User's Manual
Connection diagram for FPG-COM4
+
-
SD
RD
SG
To external device with RS485 port
1
Connect two cables each to the (+) and (-) terminals. Use wires with the same cross-sectional
area (0.5 to 0.75 mm
Bus termination
FPΣ
To converter for RS232C connection of computer
1
Transmission line
2
Set SW1-1 to ON on the first and on the last station of the transmission line to terminate the
data bus. (See "DIP Switch Setting on FPG-COM4" on page 162.)

8.5.7 Sample Program for Master Communication

Use the F145_WRITE and F146_READ instructions for the MEWTOCOL-COM master
function. Be sure to set the COM port used in the program to "MEWTOCOL-COM
Master/Slave" in the system registers.
GVL
POU Header
In order to have consistent data in the master project and in the slave project, the common
data should be kept in the GVL of a common library.
).
2
FPΣ
FPΣ
8.5 MEWTOCOL-COM
FPΣ
185

Advertisement

Table of Contents
loading

Table of Contents