1769-sm1 settings, Compactlogix example program – Rockwell Automation 1769-SM1 Compact I/O to DPI/SCANport Module User Manual

Page 75

Advertising
background image

CompactLogix Ladder Example Program

6-3

The 1769-SM1 used in the example program has the following
parameter settings:

Note that the module must be reset using Parameter 02 - [Reset
Module]
before these parameter settings take effect.

Refer to

Chapter 4

for information about the I/O Image layout, Channel

Enable/Status, Logic Command/Status, Reference/Feedback, and
Datalinks.

1769-SM1 Settings

Parameter

Setting

Description

No.

Name

07

I/O Config 1

11111

CH1 Command/Status and all Datalinks are enabled

24

I/O Config 2

11111

CH2 Command/Status and all Datalinks are enabled

41

I/O Config 3

11111

CH3 Command/Status and all Datalinks are enabled

!

ATTENTION: Risk of injury or equipment damage exists.
If the module is transmitting I/O that controls the drive, the
drive may fault when you reset the module. Determine how
your drive will respond before resetting the module.

CompactLogix Example Program

Figure 6.2 CompactLogix Ladder Logic Main Program

CompactLogix w/ 1769-SM1 DPI/SCANport Module example program

Execute the 1769-SM1 Channel 1 subroutine.

0

Jump To Subroutine
Routine Name Channel_1

JSR

CompactLogix w/ 1769-SM1 DPI/SCANport Module example program

Execute the 1769-SM1 Channel 1 subroutine.

Execute the 1769-SM1 Channel 2 subroutine.

1

Jump To Subroutine
Routine Name Channel_2

JSR

Execute the 1769-SM1 Channel 2 subroutine.

Execute the 1769-SM1 Channel 3 subroutine.

2

Jump To Subroutine
Routine Name Channel_3

JSR

Execute the 1769-SM1 Channel 3 subroutine.

(End)

Advertising