Panasonic FP-E Programming Manual page 638

Fp series
Table of Contents

Advertisement

High−level Instructions
Command 03 (Holding register read)
Example) When 6 words are read from the address H7788 of the unit No. 17 connected to the COM1 and
written in the area starting with DT100 in the local unit.
[ F146(RECV), H1311,H7788, K6, DT100 ]
[S1]:
H1
H3
Selects COM port
[S1]:H1311
[S2]:H7788
[N] :K6
[D] :DT100
Command 04 (Input register read)
Example) When 6 words are read from the address H7788 of the unit No. 17 connected to the COM1 and
written in the area starting with DT100 in the local unit.
[ F146(RECV), H1411,H7788, K6, DT100 ]
[S1]:H1411
[S2]:H7788
[N] :K6
[D] :DT100
Flag conditions
Σ Error flag (R9007) :
Σ Error flag (R9008) :
3 − 374
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
H1
H1
Unit No. (H01 to HFF)
Command
conversion
Command
conversion
− Turns on when the control data of [S1] is a value outside of the specified
range.
− Turns on when the MODBUS mode has not been specified for the COM
port of the control data specified by [S1].
− Turns on when the number of received data N is 0.
− Turns on when the number of received data is negative.
− Turns on when the number of received data [N] exceeds the limit of the
MODBUS specifications.
− Turns on when the number of received data [N] exceeds the operation
memory area specified by [D].
MODBUS commands
Slave address
1
Command (03H)
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 (04H)
2
Starting No. of read (H)
3
Starting No. of read (L)
4
Quantity to read (H)
5
Quantity to read (L)
6
CRC16 (H)
7
CRC16 (L)
8
FPΣ/FP−X/FP0R
11
03
77
88
00
06
5C
C6
11
04
77
88
00
06
E9
06

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents