EasyManua.ls Logo

Allen-Bradley CompactLogix 5380 - JSR and RET Parameters Passing into Structures

Allen-Bradley CompactLogix 5380
172 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...
136 Rockwell Automation Publication 1756-RM100F-EN-P - October 2018
Chapter 6 Instruction Execution
JSR and RET Parameters Passing Into Structures
Parameters that pass from JSR (into subroutine) and RET (back to JSR) only
use the size of the smaller structure (either source or destination) for the copy.
Copies that are made into smaller destinations no longer overrun target arrays
or structures.
Mitigation
N/A
Language Affected
Ladder Logic (RLL) Yes
Struc tured Text (ST) Yes
Function Blocks (FBD) Yes
Sequential Function Chart (SFC) Yes
(1)
(1) Only affects embedded Structured Text.
5580/5380 Controllers 5570/5370 Controllers
JSR Return Par = Return_Par_Array[5]
RET Return Par = Test_Array[10]
JSR Return Par = Return_Par_Array[5]
RET Return Par = Test_Array[10]

Table of Contents

Other manuals for Allen-Bradley CompactLogix 5380

Related product manuals