|
Note that the first entry in the sequencer table will only be output the first time the function is un, or if reset has been used.
Status Bits: EN DN ER Enable -will be true when the input to the function is true Done -will be set when the sequencer is fully loaded Error -will be set when there has been an error
Registers: none
Available on: Micrologix, PLC-5
34.1.10 Program Control
EOT -End Of Transition A
Description: This function will cause a transition in an SFC. This will be in a program
file for an SFC step. When ’A’ becomes true the transition will end
and the SFC will move to the next step and transitions.
Status Bits: none
Registers: none
Available on: PLC-5
plc function ref -34.31
FOR, NXT, BRK -For, Next, Break
Description:
Status Bits: Registers:
FOR
FOR
Label Number 0
Index N7:0
Initial Value 0
Terminal Value 10
Step Size 2
This instruction will create a loop like traditional programming languages with a start and end value with a step size for each loop. Instructions between the FOR and NXT will be repeated. If the line with the BRK statement becomes true, the NXT command will be ignored.
none
none
Available on: Micrologix, PLC-5
plc function ref -34.32
JSR/SBR/RET -Jump Subroutine / Subroutine / Return
A SBR SUBROUTINE Input par N7:20 Input par N7:21 B RET RETURN() Return par N7:22 Return par N7:23 Return par N7:24 C
Program File 3
Input par N7:0
Input par N7:1
Return par N7:10
Return par N7:11
Return par N7:12
Description: The JSR will jump to another program file and pass a list of arguments that can be a variable length. BACK | NEXT Easy Access To All Pages 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|