Download Introduction - Artisan Technology Group

Transcript
Chapter 11
Program Control Instructions (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)
Condition
Relay Ladder Action
Structured Text Action
instruction execution
input parameters
yes
JSR copies input parameters to
appropriate SBR tags
no
logic execution begins in routine
identified by JSR
yes
yes
RET instruction
return parameters
RET copies return parameters to
appropriate JSR tags
no
no
yes
end of subroutine
no
rung-condition-out is set to false
rung-condition-out is set to true
end
postscan
442
Same action as prescan described above.
Same action as prescan described above.
Publication 1756-RM003K-EN-P - July 2008
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com