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

Page 68

Advertising
background image

Publication 1746-UM022B-EN-P - January 2005

5-12 Programming Examples

NEQ

Not Equal
Source A

N10:25
0<

Source B

0

0<

NEQ

NT8_CH5_STS_FLAGS

L

B3:7

5

NT8_CH5_ERROR

MVM

Masked Move
Source

I:1.6

0<

Mask

0F000h

-4096<

Dest

N10:26

0<

MVM

NT8_CH6_STS_FLAGS

NEQ

Not Equal
Source A

N10:26
0<

Source B

0

0<

NEQ

NT8_CH6_STS_FLAGS

L

B3:7

6

NT8_CH6_ERROR

MVM

Masked Move
Source

I:1.7

0<

Mask

0F000h

-4096<

Dest

N10:27

0<

MVM

NT8_CH7_STS_FLAGS

NEQ

Not Equal
Source A

N10:27
0<

Source B

0

0<

NEQ

NT8_CH7_STS_FLAGS

L

B3:7

7

NT8_CH7_ERROR

T11:1

DN

NT8_STS_CNF_TMR/DN

COP

Copy File
Source

#N10:0

Dest

#O:1.0

Length

8

COP

#NT8_CH_CNF

0007

After updating the error status registers and flags, copy the “regular” NT8 channel configuration words into the NT8
I/O image. Begin 7-second timer to wait for the NT8 to change its I/O image back to the regular channel configuration.
Again, the time required by the NT8 I/O image is dependent on the NT8 configuration.

Advertising