Rockwell Automation 1746-NT8 SLC 500 Thermocouple/mV Analog Input Module User Manual User Manual
Page 66

Publication 1746-UM022B-EN-P - January 2005
5-10 Programming Examples
T11:1
DN
NT8_STS_CNF_TMR/DN
OSR
B3:6
5
NT8_CHECK_FLAGS
MOV
Move
Source
0
0<
Dest
B3:7
0000000000000001<
MOV
MVM
Masked Move
Source
I:1.0
0<
Mask
0F000h
-4096<
Dest
N10:20
4096<
MVM
NT8_CH0_STS_FLAGS
NEQ
Not Equal
Source A
N10:20
4096<
Source B
0
0<
NEQ
NT8_CH0_STS_FLAGS
L
B3:7
0
NT8_CH0_ERROR
MVM
Masked Move
Source
I:1.1
0<
Mask
0F000h
-4096<
Dest
N10:21
0<
MVM
NT8_CH1_STS_FLAGS
NEQ
Not Equal
Source A
N10:21
0<
Source B
0
0<
NEQ
NT8_CH1_STS_FLAGS
L
B3:7
1
NT8_CH1_ERROR
MVM
Masked Move
Source
I:1.2
0<
Mask
0F000h
-4096<
Dest
N10:22
0<
MVM
NT8_CH2_STS_FLAGS
0005
AFter waiting for the NT8 to update its I/O image, check each channel’s status error bits by masking off the appropriate
bits and checking if these bits are set (non-zero). If an error is detected, set the appropriate channel status error bits
(B3:112 - B3/119). Rung 5 checks channels 0 to 3).