Recv Instruction (Mc Protocol) - Panasonic FP7 User Manual

Cpu unit enthernet expansion function
Hide thumbs Also See for FP7:
Table of Contents

Advertisement

9.6.2 RECV Instruction (MC Protocol)

 Instruction format
R0
RECV.US H500
 Operand
Item
Settings
i
Specify an operation unit.
Specify the code and the upper address which indicates the type of the source device of a destination
unit. (Note 1)
S1
High byte
Low byte
Specify the device type and the lower address of a destination unit.
S2
(Hexadecimal 4-digit) (Note 3)
n
Specify the number of received data. (Note 3)
Specify the device starting address in the home unit storing received
D1
data. (Note 2)
Specify the device area of the local unit storing the execution result
D2
code (1 word).
(Note 1): The operand [S1] is specified by the combination of the source device code of a destination code and the
address in hexadecimal data.
Example) When the device code is 3 (internal relay) and the upper hexadecimal 2 digit of the device address is
H00, specify H300.
(Note 2): Specify the following value as the code "upper 2 bytes of [D2]" which indicates the destination device.
Unit
Input
Output
Bit
Link relay
Internal relay
Latch relay
Data register
Word
File register
Link register
(Note 3): The destination device address is specified by the combination of the low byte of [S1] and the value of [S2].
When the device address is in the range of H0 to HFFFF, specify "H00" for the low byte os [S1].
(Note 4): The number of received data is in word unit for the register transmission and it is in bit unit for the bit
transmission.
(Note 5): The transfer method and the number of sent data specified by [n] vary according to the type of the device on
FP7 specified by the operation [D1].
Device specified in [D1]
16-bit device
WX,WY,WR,WL,DT,LD
1-bit device.
X,Y,R,L,DT,n,LD,n
H64
U2
i
S1
S2
Code which indicates the type of the device
(Hexadecimal 2-digit) (Note 2)
Device upper address (Hexadecimal 2-digit) (Note 3)
Device type
X
Hexadecimal
Y
Hexadecimal
B
Hexadecimal
M
Decimal
L
Decimal
D
Decimal
R
Decimal
ZR
Hexadecimal
W
Hexadecimal
Transfer
method
Register
transmission
Bit
transmission
9.6 MC Protocol Master Communication (RECV)
DT300 DT10
n
D1
D2
High byte of [S1]
H0
H1
H2
H3
H4
H5
H6
H7
H8
No. of sent data
[n]
1 to 960
1 to 7168
Setting range
US / SS
H0 to H8
H00 to HFF
H0 to HFFFF (0 to 65535)
1 to 960 words
1 to 7168 bits
-
(Note 6)
Remarks
When the number of sent data is
odd, 4-bit dummy code H0 is added.
9-19

Advertisement

Table of Contents
loading

Table of Contents