D-44
FX Series PLC User's Manual - Data Communication Edition
Computer Link
6 Control Procedures and Setting Methods
6.4 Basic Formats of Dedicated Protocol
6.4.4 Time-out time setting
When the receiving of data from the computer is interrupted and is not restarted within the preset time (time-
out time setting), the PLC regards the situation as a timeout error and initializes the transfer sequence.
1. Time-out time setting range
The time-out time setting can be set using parameters or sequence program.
In the FX
2(FX), FX2C, and FX0N Series, however, the parameter setting method is not applicable.
When setting the time-out time setting in a sequence program, write a value for ch1 to D8129, and a value for
ch2 (in the FX
3U and FX3UC Series) to D8429 (unit: 10 ms).
The setting range is different between the parameter method and the sequence program method.
1) Details of setting range
When the set value is "0", it is handled as "100 ms".
2) Example of setting program
When setting the time-out time setting to 60 ms
→ For details on the program, refer to Section 9.3.
2. Caution on programming
The time-out time setting is not updated until the next character data is received. Set a time to receive a
character according to the transmission speed (baud rate).
For one character (12-bit), the minimum set value of the time-out time setting is as shown below:
FX Series Setting range in parameter
Setting range in sequence program
(D8129 and D8429)
FX
2(FX), FX2C Not applicable 1 to 3276 (10 to 32760 ms)
FX
0N Not applicable 1 to 255 (10 to 2550 ms)
FX
1S, FX1N, FX1NC 1 to 255 (10 to 2550 ms) 1 to 255 (10 to 2550 ms)
FX
2N, FX2NC 1 to 255 (10 to 2550 ms) 1 to 3276 (10 to 32760 ms)
FX
3U, FX3UC
ch1 1 to 255 (10 to 2550 ms) 1 to 3276 (10 to 32760 ms)
ch2 1 to 3276 (10 to 32760 ms) 1 to 3276 (10 to 32760 ms)
Baud rate (bps) Time to receive one character (ms) Time-out time setting (minimum set value)
300 40 50 ms (5)
600 20 30 ms (3)
1200 10 20 ms (2)
2400 5 10 ms (1)
4800 2.5 10 ms (1)
9600 1.25 10 ms (1)
19200 0.625 10 ms (1)
M8002
MOV K6 D8129