Chapter 12 Thermocouple Input Option Module (XBO-TC02A)
12.13 Example Program
(1) It describes how to set operation parameter.
(2) The initial settings are saved in the internal memory of thermocouple module
(3) The following is program example that reads the temp. value of thermocouple input module of slot
1 and check whether disconnection occurs or not.
12.13.1 Example using [I/O Parameter]
(1) I/O parameter setting window
(2) Program example
(a) If module is under normal operation, M0000 is on.
U0A.00.F(module Ready) = On
U0A.00.E(module H/W error) = Off
U0A.01.0(CH0 running) = On
(b) If M0000 is on, temp. conversion value (U0A.04) of CH0 moves to D0000.
(c) If disconnection error occurs at CH0, U0A.01.4 (CH0 disconnection) is on and M0001 bit is set.
12 - 31