EasyManua.ls Logo

Allen-Bradley Logix5000

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 213
Input/Output Instructions (MSG, GSV, SSV, IOT) Chapter 4
GSV/SSV Programming
Example
Get Fault Information
The following examples use GSV instructions to get fault information.
Example 1: This example gets fault information from the I/O module disc_in_2 and places
the data in a user-defined structure disc_in_2_info.
Relay Ladder
Structured Text
GSV(MODULE,disc_in_2,FaultCode,disc_in_2_info.FaultCode);
GSV(MODULE,disc_in_2,FaultInfo,disc_in_2_info.FaultInfo);
GSV(MODULE,disc_in_2,Mode,disc_in_2info.Mode);
Example 2: This example gets status information about program discrete and places the data
in a user-defined structure discrete_info.
Relay Ladder

Table of Contents

Other manuals for Allen-Bradley Logix5000

Related product manuals