SmartAXIS Touch User's Manual 12-49
4 Remote I/O
12
Control Function
● Communication Error Information with the Remote I/O Slaves
Communication errors with the remote I/O slaves can be confirmed by referring to M8005 to M8007 (remote I/O
slave communication error). The details of the communication error can be confirmed by referring to D8148, D8157,
and D8166 (remote I/O slave communication error status).
*1 The remote I/O master can communicate with the remote I/O slave, but this state indicates a system error has occurred on
the remote I/O slave. Check the status of the remote I/O slave.
● Remote I/O Communication Timing Chart
Establish connection
The remote I/O master issues a communication request to the remote I/O slave in the END processing.
Communication timeout
Item Device Description
Remote I/O slave 1 communication error M8005
ON: Communication error occurs (ON while the error is
occurring)
OFF: Communicating normally
Remote I/O slave 2 communication error M8006
Remote I/O slave 3 communication error M8007
Remote I/O slave 1 communication error status D8148 0: Normal
1: Communication timeout error
2: Connection disconnected
10: Slave output error
*1
Remote I/O slave 2 communication error status D8157
Remote I/O slave 3 communication error status D8166
1. The remote I/O master's initial state is that the remote slave communication error (M8005 to M8007) is on and the
remote slave communication error status (D8148, D8157, D8166) is "2" (connection disconnected).
2. The remote I/O master attempts to establish a connection with remote I/O slave 1, but the connection cannot be
established. At the event above, the remote I/O slave 1 communication error (M8005) is kept on, and the remote
I/O slave 1 communication status (D8148) is kept as "2" (connection disconnected).
3. When the connection is successfully established afterward, the remote I/O slave 1 communication error (M8005)
turns off, and the remote I/O slave 1 communication error status (D8148) also becomes "0" (normal).
4. Communication with remote I/O slave 1 is continued.
ON
OFF
Remote I/O master
Establish connection wait time
(fixed by system: 1.5 s)
END processing
Remote I/O slave 1
communication error
(M8005)
Remote I/O slave 1
D8148 = 2
D8148 = 0
1. 2. 3. 4.
One scan
1. While communicating with the remote I/O slave, the remote slave communication error (M8005 to M8007) is off
and the remote slave communication error status (D8148, D8157, D8166) is "0" (normal).
2. If the response for a request issued to remote I/O slave 2 takes longer than the communication timeout, the
remote I/O slave 2 communication error (M8006) turns on and the remote I/O slave 2 communication error status
(D8157) becomes "1" (communication timeout error).
3. When a response from remote I/O slave 2 is returned, the remote I/O slave 2 communication error (M8006) turns
off, and the remote I/O slave 2 communication error status (D8157) becomes "0" (normal).
ON
OFF
Remote I/O master
Communication
timeout time
END processing
Remote I/O slave 2
communication error
(M8006)
Remote I/O slave 2
D8157 = 0
D8157 = 1
1. 2. 3.
D8157 = 0
One scan