Panasonic FP7 Series Command Reference Manual page 868

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

16.2 RECV (When FP7 Multi-wire Link Unit Is Used)
Setting the amount of received data [n]
Transfer method
Register transfer
Bit transfer
(Note 1)
The amount of sent data is specified in words for the register transfer and in bits for the bit transfer.
Execution result code [D2]
Code
Description
H0
Normal end
The communication port is being used in the
H1
master communication.
The communication port is being used in the
H2
slave communication.
The number of master communication
H3
instructions simultaneously used is
exceeded.
H4
Transmission timeout
H5
Response reception timeout
H6
Reception error
H7
I/O allocation shortage error
H8
The send buffer is being used.
H9
Master unit station number unset error
H21
NACK
H22
WACK
H23
The unit number duplicate error occurs.
(Note 1)
It occurs when an abnormal telegram is received. When there is a format error in the header of an
individual protocol, the communication discards the received data and a response reception timeout
occurs.
(Note 2)
It occurs when the communication control I/O relays corresponding to the communication port (master
communication clear to send flag, master communication send active flag, master communication
send done result relay)are not allocated as I/O words of the CPU unit in the I/O map. It occurs only
when the number of user connections of ET-LAN is expanded and this instruction is executed
specifying the expanded connections.
Precautions for programming
● Describe the UNITSEL instruction immediately before the RECV instruction and specify the
slot number of the FP7 multi-wire link unit in [S1] and "0" in [S2].
● For FP7 multi-wire link unit, the RECV instruction executes the transmission and reception
by MEWTOCOL-DAT (fixed).
16-8
Communication Mode
W mode
W2 mode
W mode
W2 mode
(Note 1)
(Note 2)
Amount of sent data n
1 to 56 words
1 to 1020 words
Fixed at 1 bit
Code
Description
H24
Transmission format error
H25
FP7 multi-wire link unit hardware error
H26
The unit number setting error occurs.
H27
NOT support
H28
No response
H29
FP7 multi-wire link unit hardware error
H30
Transmission time-out error
H31 to
FP7 multi-wire link unit hardware error
H39
H41
Format error
H60
Parameter error
H61
Data error
H91
Missing expansion slave unit error
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents