STEP 5 Operations
8.2.9
Processing Operation
The processing operation (DO) can handle STEP 5 statements in "indexed" form. Use it to change
the parameter of an operand while the control program is being scanned. Table 8-19 and the
example that follows explain the processing operation.
Operation
Operand
DO
ID
FW
DW
Processing
The statement "Process flag or data word x" is a two-word statement that is executed inde-
pendently of the RLO.
It consists of the following two related statements:
•
The first statement contains the processing operation and specifies a flag or data word.
•
The second statement specifies the operation and the operand ID that the control program is
to process. Enter 0 or 0.0 here as parameter.
Note
If a value other than 0 or 0.0 is specified in the CPU 944, this value is replaced by 0 or
0.0.
The control program works with the parameter that is stored in the flag or data word called by
the first statement. If you are indexing binary operations, inputs, outputs, or flags, indicate the bit
address in the high byte of this word and the byte address in the low byte.
In all other cases, the high byte must be "0".
8-54
Table 8-19. Processing Operations
Process a flag or data word.
Parameter
0 to 254
0 to 255
S5-115U Manual
Meaning
EWA 4NEB 811 6130-02b