Allen-Bradley 1769-SM1 User Manual page 101

Compact i/o to dpi/scanport module
Table of Contents

Advertisement

ControlLogix w/1769-ADN DeviceNet Ladder Example Program
Figure 7.22 ControlLogix Ladder Logic Channel 1 Subroutine
SBR
0
Subroutine
1769-SM1 Channel 1 Status
1769-SM1 Channel 1 Status
The bits in the Channel Status word provide status information on the channel itself, where:
The bits in the Channel Status word provide status information on the channel itself, where:
bit 00 Logic Status Valid
bit 00 Logic Status Valid
bit 01 Datlink A Out Valid - "1" indicates the Datalink A Out values in the input image are valid
bit 01 Datlink A Out Valid - "1" indicates the Datalink A Out values in the input image are valid
bit 02 Datlink B Out Valid - "1" indicates the Datalink B Out values in the input image are valid
bit 02 Datlink B Out Valid - "1" indicates the Datalink B Out values in the input image are valid
bit 03 Datlink C Out Valid - "1" indicates the Datalink C Out values in the input image are valid
bit 03 Datlink C Out Valid - "1" indicates the Datalink C Out values in the input image are valid
bit 04 Datlink D Out Valid - "1" indicates the Datalink D Out values in the input image are valid
bit 04 Datlink D Out Valid - "1" indicates the Datalink D Out values in the input image are valid
bit 05 not used
bit 05 not used
bit 06 Configuration Valid
bit 06 Configuration Valid
bit 07 Configuration Error
bit 07 Configuration Error
bit 08 DPI/SCANport Port ID bit 0 -
bit 08 DPI/SCANport Port ID bit 0 -
bit 09 DPI/SCANport Port ID bit 1 - these bits indicate the Port # connected to on the Host
bit 09 DPI/SCANport Port ID bit 1 - these bits indicate the Port # connected to on the Host
bit 10 DPI/SCANport Port ID bit 2 -
bit 10 DPI/SCANport Port ID bit 2 -
bit 11 SCANport Host Present
bit 11 SCANport Host Present
bit 12 DPI Host Present
bit 12 DPI Host Present
bit 13 32-bit Datalinks Present
bit 13 32-bit Datalinks Present
bit 14 32-bit Ref / Fdbk Present
bit 14 32-bit Ref / Fdbk Present
bit 15 not used
bit 15 not used
1
Logic Command
Logic Command
Ch1_Stop_Command
2
Ch1_Start_Command
3
Ch1_Jog_Command
4
Ch1_ClearFaults_Command
5
Channel 1 Subroutine
Channel 1 Subroutine
- "1" indicates the Logic Status / Feedback values in the input image are valid
- "1" indicates the Logic Status / Feedback values in the input image are valid
- "1" indicates if the configuration is valid (Channel 1 only)
- "1" indicates if the configuration is valid (Channel 1 only)
- "1" indicates if there is a configuration error (Channel 1 only)
- "1" indicates if there is a configuration error (Channel 1 only)
- "1" indicates a SCANport Host is present
- "1" indicates a SCANport Host is present
- "1" indicates a DPI Host is present
- "1" indicates a DPI Host is present
- "1" indicates 32-bit Datalinks are used
- "1" indicates 32-bit Datalinks are used
- "1" indicates 32-bit Reference / Feedback are used
- "1" indicates 32-bit Reference / Feedback are used
Channel 1
Enable
SM1_Output_Data[0].0
Channel 1
Status
MOV
Move
Source SM1_Input_Data[2]
4703
Dest
SM1_Ch1_Status
4703
Channel 1
Logic Command
STOP
SM1_Output_Data[1].0
Channel 1
Logic Command
START
SM1_Output_Data[1].1
Channel 1
Logic Command
JOG
SM1_Output_Data[1].2
Channel 1
Logic Command
CLEAR FAULTS
SM1_Output_Data[1].3
7-17

Advertisement

Table of Contents
loading

Table of Contents