EasyManua.ls Logo

NAiS FP2 - Page 136

NAiS FP2
144 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.50 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)
HC1
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, whenthe specified address using the index modifier exceeds alimit.
- 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

Table of Contents

Related product manuals