omron — Program Stacks

Program Stacks Stack Space Required by a Subroutine eV+Language User's Guide, v2.x, 18318-000 Rev A Page 26 Bytes Required For Notes 20 The actual subroutine call 32 Each subroutine argument (plus one of the following): 4 Each real subroutine argument or automatic variable 1 8 Each double-precision real subroutine argument or automatic variable 1 48 Each transformation subroutine argument or automatic variable 1, 2 varies Each precision-point subroutine argument or automatic variable 1, 2, 3 84 Each belt variable argument or automatic variable 1, 2 132 Each string variable argument or automatic variable 1, 2 NOTES: 1.

If any subroutine argument or automatic variable is an array, the size shown must be multiplied by the size of the array. (Remember that array indexes start at zero.) 2. If a subroutine argument is always called by reference, this value can be omitted for that argument. 3. Requires four bytes for each joint of the robot (on multiple robot systems, use the robot with the most joints).