Getting The Communication Mode; Checking For Plc Link Mode - Panasonic FP Series Programming Manual

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer via communication ports

22.3 Getting the communication mode

You can check during RUN mode which communication mode has been set on the PLC. The following
communication modes can be determined: PLC Link (see page 724), program controlled communication (see
page 725), and MEWTOCOL-COM Master / Slave (see page 726).
There are three different ways to get the communication mode:
1. Using PLC-independent system variables. There are different system variables for each port. For
detailed information on using system variables, please refer to Data transfer to and from special data
registers (see page 859).
2. Using PLC-independent functions: The port number must be specified in a variable. The functions
IsPlcLink (see page 724) and IsProgramControlled (see page 726) are available.
3. Using special relays: The relay numbers vary depending on the COM port and the PLC type!
For details on getting the communication mode of an MCU, please refer to Getting the MCU communication
parameters (see page 729).

22.3.1 Checking for PLC link mode

PLC Link mode can be checked for the following devices:
FP, FP-X:
Port
Port
Special
name
number
internal relay
COM1
1
R9041
MCU:
Port
Port number
name
COM1
16#xx01
IsPlcLink (see page
724)
COM2
16#xx02
xx = slot number (hexadecimal)
724
Function
name
IsPlcLink (see
sys_bIsComPort1PlcLink
page 724)
Function name
DUT
MCU-STATUS_DUT.CommunicationMode=2 (see page
729)
System variable name
Bit status
TRUE

Advertisement

Table of Contents
loading

Table of Contents