Panasonic FP-E Programming Manual page 610

Fp series
Table of Contents

Advertisement

High−level Instructions
Specifications for each item
[S1]: Specifying port number, transmission command and destination unit number
H1 or H2
H5 or H6
[S1]:
Selects COM
Specifies
port
transmission
command
(1) Specifying COM port
Specify H1 for COM 1 port, and H2 for COM2 port.
If only one COM port is available, specify H1.
(2) Specifying transmission command.
H5 (HD) = Bit data/H6 (HE) = Word data
When specifying multiple points by [N], the command is automatically converted to the command 15 or
16 for sending multiple bits or multiple words.
On V1.06 or later version of FP0R, the command for writing multiple points (0F or 10) can be issued by specifying HD
or HE even if 1 bit or 1 word is transferred.
(3) Specifying destination unit number
Specify the area by [S2] in which the data to be transmitted is stored.
Specify the starting number of the operation memory of the local unit in which the data to be
transmitted is stored.
This instruction can be executed even if the transmission command specified by [S1] and the device
type in the remote unit differs.
That means the contents of DT can be transmitted by specifying the bit data, or the contents of WR
can be transmitted by specifying the word data.
When the bit data is specified by [S1], data is always transmitted from the bit 0.
Specifying the MODBUS address of the remote unit where data is transmitted by [D].
Settable address: H0 to HFFFF
Specifying the number of data transmitted by [N]
Settable number of data
For bit data: Max. 2040 (07F8H)
For word data: Max. 127 (7FH)
Explanation of command
Command 05 (Coil single−point forcing)
Example) When the value of the bit 0 of WR3 is transmitted to the bit of the bit address H7788 of the unit No. 7
from the COM1.
[ F145(SEND), H1507, WR3, H7788, K1 ]
[S1]:
H1
H5
Selects COM port
[S1]: H1507
[S2]: WR3 (WR3=0007H)
[D]: H7788
[N]: K1
* Reads a value of the bit 0 of WR3 and sets the condition
by selecting ON or OFF.
Specify ON=FF00, OFF=0000.
3 − 346
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Unit No. (H00 to HFF)
H0
H7
Unit No. (H00 to HFF)
Command
conversion
MODBUS commands
07
Slave address
1
05
Command (05H)
2
Coil No. (H)
77
3
Coil No. (L)
88
4
FF
Setting status (H)
5
6
Setting status (L)
00
7
17
CRC16 (H)
8
C2
CRC16 (L)
FPΣ/FP−X/FP0R

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents