12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Array (File)/Misc. <strong>Instructions</strong> (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) 385Fault Conditions:none.Execution:Condition Relay Ladder Action Structured Text Actionprescan The rung-condition-out is set to false. No action taken.rung-condition-in is false The rung-condition-out is set to false. narung-condition-in is true The instruction executes.naThe rung-condition-out is set to true.EnableIn is set na EnableIn is always set.The instruction executes.instruction execution The instruction finds the size of a dimension. The instruction finds the size of a dimension.postscan The rung-condition-out is set to false. No action taken.Example 1:Find the number of elements in dimension 0 (first dimension) ofarray_a. Store the size in array_a_size. In this example, dimension 0of array_a has 10 elements.Relay LadderSIZESize in ElementsSource array_a[0]255Dim. To Vary 0Size array_a_size10Structured TextSIZE(array_a,0,array_a_size);Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!