Panasonic FP Series Programming Manual page 772

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

s1_ControlData
Hex
COM port
(16#1 or 16#2)
-
To generate function code 05, bit unit transmission (16#8) must be specified.
s1_ControlData:
s2_MasterStartAddr:
d_SlaveStartAddrType:
d_SlaveStartAddrOffs:
-
After the ON or OFF value of bit 0 of s2_MasterStartAddr has been read in the master, this value is set in the
slave (ON=FF00, OFF=0000).
Operands
For
Port
Slave Address
Master WordData
SlaveWord Address
Type
SlaveWord
AddressOffs
NumberOfWords_
BitsInWords
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
Higher word
0 fixed
1
0
Unit No.
(16#00 to 16#63)
(0 to 99)
16#10078100
16#0000
WY0
1
 The compiler calculates the higher word from Port and SlaveAddress. The
higher word is set implicitely.
 The lower word is specified by NumberOfWords_BitsInWords.
Relay
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
Set
permanently
permanently
Data transfer via communication ports
Lower word
7
8
1
Bit unit
Bit No. of Slave
transmission
(16#0 to 16#F)
Modbus command
Slave address
1
Function code (16#05)
2
Coil No. (H)
3
Coil No. (L)
4
Command
Setting status (H)
5
conversion
6
Setting status (L)
7
CRC16 (H)
8
CRC16 (L)
T/C
Register
-
-
DT
LD
-
-
DT
LD
-
-
DT
LD
-
-
DT
LD
-
-
DT
LD
-
-
DT
LD
If
 port 0 (global transmission) gets no
response from COM1 or COM2.
 slave data or master data exceeds the
available address range
 SlaveWordAddressType: Offset  0
 the communication mode (see page 712)
is not set to MEWTOCOL-COM
Master/Slave or Modbus RTU
Master/Slave.
 the selected COM port requires a
communication cassette that has not
been installed.
0 fixed
0
Bit No. of Master
(16#0 to 16#F)
07
05
00
11
FF
00
DC
59
Constant
FL
-
FL
dec or hex
FL
-
FL
-
FL
dec or hex
FL
dec or hex
771

Advertisement

Table of Contents
loading

Table of Contents