Publication 1769-UM009B-EN-P - May 2002
6-14 Using the 1769-SDN Scanner Module with CompactLogix Controllers
Now that you have created a Project, configured the I/O and
determined the location in the I/O tags where all input and output
data resides, you can write the application program. The program for
this example consists of a single rung that is used to place the scanner
into the RUN mode.
To place the scanner in the Run mode when the CompactLogix
controller is in the Run mode, either set “SDN_RUN” to a 1, or remove
it from the program. When “SDN_RUN” is removed, the scanner’s Run
bit is always in Run when the controller is in Run.
The rung appears as shown below:
Table 6.7 1769-SDN Output Addresses
Tag Definition
Local:3:O.Data[0] through Local:3:O.Data[1]
Control to 1769-SDN
(1)
(1)
Bit 0 of output word 0 is the Run mode bit for the scanner. With the controller in Run mode, set this bit to a 1 to
place the scanner into the Run mode. With the controller in Run and this bit a 0, the scanner will be in Idle
mode and will not scan I/O. The Module Command Array is described in more detail on page 5-8.
Local:3:O.Data[2] Output data for 1769-OB16
Local:3:O.Data[3] through Local:3:O.Data[4] Output data for 1769-OF2