Send Instruction (Mc Protocol) - Panasonic FP7 User Manual

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

Advertisement

9.7.2 SEND Instruction (MC Protocol)

 Instruction format
R0
SEND.US DT300
 Operand
Item
i
Specify an operation unit.
S
Specify the starting address of the source data area. (Note 1)
n
Specify the number of sent data. (Note 1) (Note 2)
Specify the code and the upper address which indicates the type of the destination device of a
destination unit. (Note 3)
D1
Specify the device type and the lower address of a destination unit.
D2
(Hexadecimal 4-digit) (Note 6)
Specify the device area of the local unit storing the execution result code
D3
(1 word).
(Note 1): 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 [S].
Type of FP7 devices
specified in [S]
16-bit devices
WX,WY,WR,WL,DT,LD
1-bit devices
X,Y,R,L,DT,n,LD,n
(Note 2): The number of sent data [n] is in word unit for the word transmission and it is in bit unit for the bit
transmission.
(Note 3): The operand [D1] is specified by the combination of the destination 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 4): Specify the following value as the code "upper 2 digits of [D1]" which indicates the destination device.
Unit
Input
Output
Bit
Link relay
Internal relay
Latch relay
Data register
Word
File register
Link register
U2
i
S
n
Settings
Code which indicates the type of the device
High byte
(Hexadecimal 2-digit) (Note 4)
Device upper address (Hexadecimal 2-digit)
Low byte
(Note 5)
Transfer
method
Word
transmission
Bit
transmission
Device type
X
Hexadecimal
Y
Hexadecimal
B
Hexadecimal
M
Decimal
L
Decimal
D
Decimal
R
Decimal
ZR
Hexadecimal
W
Hexadecimal
9.7 MC Protocol Master Communication (SEND)
H500
H64
DT0
D1
D2
D3
No. of sent
data [n]
1 to 960
When the number of sent data is odd, 4-bit
1 to 7168
dammy code H0 is added.
High byte of [D1]
H0
H1
H2
H3
H4
H5
H6
H7
H8
Setting range
US / SS
-
1 to 960 words
1 to 7168 bits
H0 to H8
H00 to HFF
H0 to HFFFF (0 to
65535)
(Note 6)
Remarks
9-23

Advertisement

Table of Contents
loading

Table of Contents