Setting In Run Mode With Sys Instructions (Fp-Sigma, Fp-X); Changing The Communication Mode In Run Mode - Panasonic FP Series Programming Manual

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

22.2.1.3 Setting in RUN Mode with SYS instructions (FP-Sigma, FP-X)

Please refer to the description of SYS1, communication condition setting (see page 980) and to the description
of SYS2 (see page 993).

22.2.1.4 Changing the communication mode in RUN mode

The communication mode of the CPU's communication ports can be changed during RUN mode.
You can toggle between program controlled mode and MEWTOCOL-COM mode by executing
F159_MTRN and setting the variable n_Number (the number of bytes to be sent) to 16#8000.
POU
Header and
LD Body
ST Body
The communication mode flag turns on when program controlled mode is active. It turns off when
MEWTOCOL-COM mode is active. The flag can be evalutated using the system variable
sys_bIsComPort1ProgramControlled, sys_bIsComPort2ProgramControlled, or
sys_bIsToolPortProgramControlled.
NOTE
When the power is turned on, the communication mode selected in the system registers is set.
It is not possible to change to the Modbus RTU mode using F159_MTRN.
Data transfer via communication ports
717

Advertisement

Table of Contents
loading

Table of Contents