Panasonic FP7 Series Command Reference Manual page 810

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

Advertisement

15.3 GPRECV (General-Purpose Communication Receive Instruction)
● In the case of SCU, data received from the partner are stored in 8 receive buffers for each
COM port. By executing the GPRECV instruction, data in the receive buffer can be copied to
a given operation memory.
● In the case of CPU with built-in ET-LAN, data received from the partner are stored in 1
receive buffer for each connection. By executing the GPRECV instruction, data in the receive
buffer can be copied to a given operation memory.
Amount of received data and end code
Items
Number of received
data
End code
identification
(Note 1)
For SCU, up to 4096 bytes can be sent, including a start code and an end code. The start code and
end code are set from the configuration menu of the tool software or with the PMSET instruction.
When "Start code STX" is set to "Enabled", the maximum amount of sent data that can be specified is
decremented by one.
When "Terminator setting" is set to "ETX" or "CR", the maximum amount of sent data is decremented
by one.
When "Terminator setting" is set to "CR+LF", the maximum amount of sent data is decremented by
two.
When "Terminator setting" is set to "Time", the maximum amount of sent data is not decremented.
Storage method for received data
DT200
DT201
H32(2)
H34(4)
DT202
DT203
-----
DT204
-----
-----
-----
● The case of SCU shows the case that it is used in the following combination.
• COM.0 port equipped in the CPU unit
• Communication cassettes attached to the CPU unit (COM.1 to COM.2 ports)
• Communication cassettes attached to the serial communication unit (COM.1 to COM.4
ports)
● As the communication cassette (Ethernet type) has an Ethernet-serial conversion function, the
internal interface operates with similar programs as the case of SCU. The setting method and
programming method are different from those for the CPU with built-in ET-LAN.
15-16
SCU
(Note 1)
0 to 4096
Yes (according to the SCU communication
settings (end settings))
U5
Received number of bytes are stored.
H31(1)
Received data are stored in ascending order from lower bytes.
H33(3)
H35(5)
If the number of received bytes is smaller than the area
-----
specified by the GPRECV instruction, the value is not
overwritten.
-----
In the case of CPU with built-in ET-
LAN
0 to 16384
No identification
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents