EasyManuals Logo

Panasonic FP Series User Manual

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
Page #767 background imageLoading...
Page #767 background image
Data transfer via communication ports
766
Part III FP Instructions
22.5 Data transfer in master/slave mode (MEWTOCOL/Modbus RTU)
General Programming Information for F145 and F146
It is not possible to execute multiple F145_WRITE_DATA (see page 766) and
F146_READ_DATA instru
ctions for the same communication port simultaneously.
The program should be set up so that these instructions are executed when the
SEND/RECV execution enabled flag (R9044: COM1/R904A: COM2) is ON.
COM1 sys_bIsComPort1F145F146NotActive R9044
COM2 sys_bIsComPort2F145F146NotActive R904A
0: Execution inhibited. (SEND/RECV
instruction being executed.)
1: Execution enabled.
The SEND (i.e. F145_WRITE_DATA) instruction only requests that data be sent,
but the actual processing takes place when the ED instruction is executed. The
SEND/RECV execution end flag (R9045: COM1, R904B: COM2) can be used to
check whether or not the transmission has been completed.
COM1 sys_bIsComPort1F145F146Error R9045 0: Completed normally.
1: Completed with error. (The error code
is stored in DT90045.)
COM1 sys_wComPort1F145F146ErrorCode DT90124 If the transmission has been completed
with an error (R9045 is ON), the contents
of the error (error code) are stored.
COM2 sys_bIsComPort2F145F146Error R904B 0: Completed normally.
1: Completed with error. (The error code
is stored in DT90125.)
COM2 sys_wComPort2F145F146ErrorCode DT90125 If the transmission has been completed
with an error (R904B is ON), the contents
of the error (error code) are stored.
For detailed information, please refer to error codes (see page 1306). If the error
code is 16#73, a communication time-out error has occurred. The time-out length
can be set from 10.0ms to 81.9s (in units of 10ms) using system register 32. The
default value is 10s.
Error code Description
16#73 Time-out: waiting for response
For global transmission (the transmission performed by specifying 16#00 for the
unit no.), the program should be set up so that the transmission is executed after
the maximum scan time has elapsed.
The F145 or F146 instruction cannot be executed if the target address is a
special internal relay (from R9000) or a special data register (from DT90000).
The compiler will use file registers in case the data registers are occupied.
For the table of available Modbus commands, please refer to
F145F146_MODBUS_COMMAND (see page 777) or
F145F
146_MODB
US_MASTER (see page 779).

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals