EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data transfer via communication ports
767
Part III FP Instructions
F145_WRITE_DATA
Write Data to Slave
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
The data specfied by MasterWordAddress for the master is written to the slave area specified by
SlaveWordAddress. The variable SlaveAddress determines the slave's station number and the
slave's COM port (1 or 2).
General programming information for F145 and F146 (see page 766)
PLC types
Availability of F145_WRITE_DATA (see page 1321)
Variable Data
type
Function
Port ANY16 Specifies the slave's COM port (1 or 2) via system variable:
SYS_COM1_PORT
SYS_COM2_PORT
SlaveAddress ANY16 Address of the remote station (1-99).
MasterData ANY The master data which is written to the slave.
SlaveData ANY The data of the slave to which the data is written.
MasterData and SlaveData have to be of the same data type.
To establish external data access from the master to the slave
data please assign fixed user addresses (same addresses as
slave data) in the global variable list.
For Relay T/C Register Constant
Port WX WY WR WL - - DT LD FL -
Slave
Address
WX WY WR WL - - DT LD FL dec. or hex.
Master
Data
WX WY WR WL - - DT LD FL -
Slave Data WX WY WR WL - - DT LD FL -
Description
Use this instruction to write data from a master to a slave via the serial port (COM1 or COM2) using
MEWTOCOL or Modbus RTU protocol (see communication mode (see page 712)), as defined in
the system register setting
s (see page 1273) of port used. Master and slave must both use the
same protoc
ol. The master must be configured in Master/Slave mode. The slave can be configured
either in Master/Slave mode or in Slave mode only.
Data types
Operands

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals