Greetings stasis,
you said:
[/font][/color]
yes, that’s perfectly valid ...
in simplest terms: yes, that is correct ...
but ... if you really want to split hairs ...
the Allen-Bradley PLC-5 and SLC-500 processor families also do a “pre-scan” when they first go into the “Run” mode ... this is a one-time pass through ALL of the program files (even uncalled subroutines) which is done pretty much for safety reasons ... and the “pre-scan” happens just BEFORE the “First Pass - S:1/15” scan ... several things happen during the “pre-scan” ... one important thing is that ALL of the OTE (Output Energize) instructions in the program are written to a “0” state ... even OTEs on unconditional (or otherwise “true”) rungs which are located in “uncalled” subroutine files ...
I helped debug a program once which might be of interest as an example ... the programmer had left a “scrap” subroutine file in the program ... this was an “uncalled” and “unused” subroutine ... in fact, the JSR rung which had previously been used to “call” this subroutine had been totally deleted ... the programmer had then gone to a new subroutine and set up Latch and Unlatch instructions to control a particular output ... reason: he needed this particular output to retain its On/Off status after a power failure ... problem: after each “power down” test cycle, the output always went Off ... reason: the OTE located in the “uncalled” and “unused” and “scrap” subroutine file was writing a “0” into the bit during each “pre-scan” ... solution: delete the OTE ... problem solved ...
and so ... most people look at this thing exactly the way you seem to look at it: “S:1/15 is true the first time a processor scans after power-up.” ...
and I’m not going to debate what we mean by the term “scans” ... but like I said earlier, if you really want to split hairs ... technically there is a “scan” (specifically, the “pre-scan”) which happens once when the processor first goes into the “Run” mode just BEFORE S:1/15 comes into play ... and sometimes knowing about the “pre-scan” is exactly the kung-fu which can solve a ticklish problem ...
finally ... I’m sure that none of this is related to your immediate question ... but it’s a slow day ... I thought I’d just pass this on for what it’s worth ...