EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

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
Page #213 background imageLoading...
Page #213 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals