Download Introduction - Artisan Technology Group

Transcript
Chapter 8
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE)
Condition
Relay Ladder Action
rung-condition-in is true
.LEN < 0 or
.POS < 0
examine .ER bit
yes
page 341
major fault
numeric
mode
.ER bit = 0
no
no
.DN bit = 0
.ER bit = 1
examine .IN bit
.LEN = 0
no
no
INC mode
ALL mode
.DN bit = 1
yes
.IN bit = 0
yes
yes
.DN bit is set
INC
mode
examine .DN bit
.DN bit = 1
ALL
mode
page 340
page 339
common
.DN bit = 0
loop_count =
loop_count - 1
loop_count < 0
no
.POS = .POS + 1
yes
evaluate comparison
match
no
yes
.EN bit is set
.POS = .POS + 1
.FD bit is set
.POS = .LEN
no
yes
.DN bit is set
.POS = .POS + 1
rung-condition-out is set to
true
end
postscan
348
The rung-condition-out is set to false.
Publication 1756-RM003K-EN-P - July 2008
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com