Download Manual, FST 200

Transcript
FST 200-STL
4. Programming in the statement list
Example:
STEP Label 1
IF
...
THEN
LOAD
TO
...
""Alternative
STEP Label 2
IF
...
THEN
SET
WITH
V520
TP7
T7
5.2s
The LOAD instruction loads the value of the constants
into the timer preselect.
You may use any multi-bit operand instead of the constants entered. This means that you can just as easily
load an input word into the timer preselect.
Start timer
Once a timer has been initialized, it need only be activated in a program. A single instruction is sufficient for
this.
STEP Label
IF
...
THEN
SET
T7
This instruction first loads the timer preselect (TP7) into
the timer word. Then timer T7 is started. Once the timer
is running, the timer word is counted down (decremented)
until it has the value zero.
9610a
4-45