Panasonic FP-E Programming Manual page 631

Fp series
Table of Contents

Advertisement

FPΣ/FP−X/FP0R
Command 02 (X contact read) send
Example) When the 1 bit of X17 is readed from the unit No. 17 of the remote unit, and a command to transmit
the readed bit data to the 5th bit of DT100 in the local unit is sent.
[ F146 (RECV), DT10, WX0, K1, DT100 ]
H8
H5
[S1]:
Bit unit
Bit No. of local unit
transmission
(H0 to HF)
*Bit units (H8) should be specified for the transmission method of the [S1] to read only 1bit of data by the
command 02.
[S1+1]:
H0 fixed
H1
Selects COM port
(H1 or H2)
[S1]: DT10(DT10=8507H, DT11=1011H)
[S2]: WX0
[N] : K1
[D] : DT100
*Specify the coil No. of the destination for the starting
No. of read. (Remote unit: X17)
The quantity to read should be 1.
Example) When the 64 bits (4 words) of data from X10 to X4F is readed from the unit No. 17 of the remote unit,
and a command data to the area starting with DT100 in the local unit is sent from the COM1.
[ F146 (RECV), DT10, WX0, K1, DT100 ]
H0
H0
[S1]:
Word unit
Specifies No. of transmission words
transmission
(H001 to H07F)
*Bit units (H0) should be specified for the transmission method of [S1] to read in word units by the command
02.
[S1+1]:
H0 fixed
H1
Selects COM port
(H1 or H2)
[S1]: DT10 (DT10=0004H, DT11=1011H)
[S2]: WX0
[N]: K1
[D]: DT100
*Specify the coil No. of the destination for the starting
No. of read. (Remote unit: X10)
The quantity to read should be the value of "No. of
specified words X 16". (64−bit read)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
H0 fixed
H7
DT10
Bit No. of remote unit
(H0 to HF)
DT11
H1
H1
Unit No. (H01 to H63)
(1 to 99)
Command
conversion
H0
H4
DT10
DT11
H1
H1
Unit No. (H01 to H63)
(1 to 99)
Command
conversion
High−level Instructions
MODBUS commands
Slave address
1
Command (02H)
2
Starting No. of read (H)
3
Starting No. of read (L)
4
Quantity to read (H)
5
Quantity to read (L)
6
7
CRC16 (H)
CRC16 (L)
8
MODBUS commands
Slave address
1
Command (02H)
2
Starting No. of read (H)
3
Starting No. of read (L)
4
Quantity to read (H)
5
Quantity to read (L)
6
7
CRC16 (H)
CRC16 (L)
8
11
02
00
17
00
01
0B
5E
11
02
00
10
00
40
7A
A0
3 − 367

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents