Mitsubishi FX3U-232-BD User Manual page 473

Fx3u series
Hide thumbs Also See for FX3U-232-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
6.2.2
Function and operation
RS instruction specifies the head device storing the sent data sent from the PLC, amount of data, head device
storing the received data and the maximum allowable amount of received data.
Create a program as shown below.
Command
M0
Sending command
(pulse operation type)
M1
Receiving complete
M8123
FNC 80
D100
D0
RS
When the command contact (M0) is set to ON, the PLC waits to send and receive.
→ For handling of sent and received data, refer to Subsection 6.2.3.
Send data is written.
When the sending command (M1) is set to ON, write the send data to D100 and so on
(as many devices as specified number).
Give the sending command of the pulse operation type.
After writing the send data, set the sending request device (M8122) to send the data.
When sending is completed, the sending request device (M8122) is automatically reset.
Do not reset it in a sequence program.
→ For operation when data is sent, refer to Subsection 6.2.4.
Receive data is moved.
When the PLC receives data from the connected equipment, the receiving complete flag
(M8123) turns ON.
When M8123 turns ON, move the received data stored in D200 to another storage area.
After moving the received data, reset the receiving complete flag (M8123).
While M8123 is ON, the PLC cannot receive the next set of data.
→ For the operation when data is received, refer to Subsection 6.2.5.
6 Creating Programs (RS Instruction)
D200
D1
Sending
request
SET
M8122
Receiving
complete
RST
M8123
6.2 How to Use RS Instruction
Apx.
F-35
A
B
C
D
E
F
G
H
I

Advertisement

Table of Contents
loading

Table of Contents