![NAiS FP2 Скачать руководство пользователя страница 136](http://html2.mh-extra.com/html/nais/fp2/fp2_technical-manual_3062214136.webp)
High-level Instructions
9-18
Outline
Data is received from external equipment via the COM port of the
specified MCU.
This function is available from FP2/FP2SH Ver. 1.
5
0 or later.
Program example
Ladder Diagram
Boolean
Ladder Diagram
Address
Instruction
Trigger
S
D1
10
X0
F161 MRCV,
H C1, DT0, DT100
1
1
DF
D2
10
11
12
ST
X
0
DF
F161
(MRCV)
H
C1
DT
0
DT
100
S
Specification of the slot number and port number of the MCU unit which the
data is received.
D1
Initial address in which the received data stored.
D2
Ending address in which the received data stored.
Operands
Operand
Relay
Timer/Counter
Register
Index
register
Constant
Index
Operand
WX WY WR WL
SV
EV
DT LD FL
I
(
*
1)
K
H
Index
modifier
S
A
A
A
A
A
A
A
A
A
A
A
A
A
D1
N/A
A
A
A
A
A
A
A
A
A
N/A N/A
A
D2
N/A
A
A
A
A
A
A
A
A
A
N/A N/A
A
(
*
1) I0 to ID.
Explanation of example
When the reception done signal X0 of the COM 1 port is on, the received data is readout, and stored in DT0 to
DT100.
Flag conditions
・
Error flag (R9007) (R9008):
- It turns on, when the specified address using the index modifier exceeds a limit.
- It turns on, when the MCU unit does not exist in the slot No. specified by [S].
- It turns on, when the communication port specified by [S] does not exist.
- It turns on, when the data device specified by [D1] exceeds the area.
- It turns on, when the data device specified by [D2] exceeds the area.
- It turns on, when [D1] > [D2].
FP2/FP2SH
F161
P161
(PMRCV)
(MRCV)
Serial data reception
(for MCU COM port)
Availability
FP2/FP2SH
A: Available
N/A: Not Available
Содержание 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...