Important Points In Computer Link - Mitsubishi FX3U-USB-BD User Manual

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
6.2

Important Points in Computer Link

This section explains important points to be understood before creating programs for computer link.
6.2.1
Operations of PLC caused by data transfer
The PLC operations and scan time using computer link are as described below.
1. While the PLC is in RUN mode
For requests from the computer, the PLC executes access for one request during each END processing.
Sending and receiving are executed as interrupts.
Accordingly, when sending and receiving are executed, the scan time is longer by about 10%. The scan time
can be checked in D8010 to D8012 in the PLC.
2. Condition in which the transfer sequence in the PLC is initialized
The transfer sequence in the PLC is initialized in the following cases:
- When the power is turned ON
- When regular sending/receiving is completed
- When the control code "EOT" or "CL" is received in each format
- When the control code "NAK" is sent
- When the time-out time setting is detected
3. Occurrence of framing error in the computer
When a commercial interface in accordance with RS-485 is used in the computer, a framing error may occur
while nothing is sent from the PLC to the computer depending on the interface in the computer.
To cope with this nonconformity, let the computer ignore any data until the PLC sends STX, ACK or NAK.
4. Response of "NAK" from the PLC
When an error is detected, the PLC sends NAK to the computer.
5. Command sending from the computer
When sending commands from the computer to the PLC, wait for two scan times
finishes receiving data in response to the previous command, and then send the next command.
100 µs or more in the FX
*1.
→ For details on the time-out time setting, refer to Subsection 6.4.4.
, FX
, FX
, FX
, and FX
2N
3G
3U
2NC
6 Control Procedures and Setting Methods
6.2 Important Points in Computer Link
*1
or more after the PLC
Series
3UC
A
B
C
D
E
F
G
H
I
Apx.
D-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents