D-46
FX Series PLC User's Manual - Data Communication Edition
Computer Link
6 Control Procedures and Setting Methods
6.2 Important Points in 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
For details on the time-out time setting, refer to Subsection 6.4.4.
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 the interval times in the following table or
more after the PLC finishes receiving data in response to the previous command, and then send the next
command.
PLC
Interval times
FX
3U
,
FX
3UC
300
s
FX
2N
,
FX
2NC
,
FX
3S
,
FX
3G
,
FX
3GC
100
s
FX
2
(FX), FX
2C
, FX
0N
, FX
1S
, FX
1N
, FX
1NC
two scan times
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......