High-level Instructions
9-19
Description
1) It is used to receive commands or data for the COM port (COM1 or COM2) of the specified MCU unit
connecting with external equipment (such as PC, measuring insrument, barcode reader).
Note: The operation mode of the communication port of the MCU should be set to the general-purpose
communication mode.
2) The received data is readout to the communication port of the MCU unit in the slot No. specified by [S], and
stored in the specified data area of [D1] to [D2].
3) The slot number and the communication port number specified by [S] is set as below.
Specify communication port number.
HC1/HD1/HE1: COM1 port
HC2/HD2/HE2: COM2 port
[D]:
Specify slot number.
Specify from H00 to H1F.
4) The received byte number is set for the initial address of the data area specified by [D1].
* If the received data exceeds the ending address specified by [D2], the operation error is detected.
At that time, the data which has been received up to the area of [D2] is stored.
D1
D1+1
D1+2
D1+3
D1+4
Data table (received buffer)
D2-3
D2-2
D2-1
D2
Received data
storage area
The received byte
number is stored.
<Reading of communication parameter and condition>
5) When the communication port numbers specified by [S] is HD1 or HD2, HE1 or HE2, the registered
communication parameter and the monitoring data are read.
HD1:The communicaton parameter data in the COM 1 port is read.
HD2:The communicaton parameter data in the COM 2 port is read.
When HE1 or HE2 is designated, the operation mode of each communication port and the information on
the communication cassette detection is read.
HE1:The monitoring data in the COM 1 port is read.
HE2:The monitoring data in the COM 2 port is read.
R0
F161 (MRCV) HD1, DT0, DT11
example:
R0
F161 (MRCV) HE1, DT0, DT7
example:
6) There are eight 2048-byte buffers in the received buffer of the MCU unit, and eight data can be received
sequentially.
FP2/FP2SH
Содержание FP2
Страница 2: ......
Страница 8: ......
Страница 9: ...Chapter 1 Functions and Restrictions of the Unit...
Страница 14: ...1 6...
Страница 15: ...Chapter 2 Specifications and Functions...
Страница 29: ...Chapter 3 Installation and Wiring of Communication Blocks...
Страница 35: ...Chapter 4 Communication Function...
Страница 36: ...4 2...
Страница 44: ...4 10 4 4 4 Flow Chart...
Страница 46: ...4 12...
Страница 47: ...Chapter 5 Communication Function PC PLC Link...
Страница 65: ...Chapter 6 Communication Function General purpose Serial communication...
Страница 94: ...6 30...
Страница 95: ...Chapter 7 Communication Function Computer link...
Страница 108: ...7 14...
Страница 109: ...Chapter 8 Applications...
Страница 118: ...8 10...
Страница 119: ...Chapter 9 Specifications...
Страница 139: ...Chapter 10 Dimensions and Sample Programs...
Страница 141: ...10 3 10 1 2 Communication Blocks FP2 CB232 AFP2803 FP2 CB422 AFP2804 FP2 CB485 AFP2805...
Страница 142: ...10 4...