EasyManua.ls Logo

Siemens CPU 948 - Page 138

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Decrement/
increment
Operation Operand Function
D
I
1 to 255
1 to 255
Decrement the low byte (bits 0 to 7) of ACCU-1-L
by the value of the operand
1)
Increment the low byte (bits 0 to 7) of ACCU-1-L
by the value of the operand
1)
1)
The contents of the low byte of ACCU-1-L are decremented or incremented by the number specified as the
operand without a carry. The operation is executed regardless of conditions.
Example
Processing operations
Operation Operand Function
DO
DO =
DW 0 to 255
FW 0 to 254
Process data word:
the following operation is combined with
the parameter specified in the address data
word and executed.
Process flag word:
the following operation is combined with
the parameter specified in the addressed
F flag and executed.
Process formal operand (parameter type B):
Only C DB, JU PB, JU OB, JU FB, JU SB
can be substituted.
Insert formal operand
STEP 5 program: Assignment of the data words:
:L DW 7 KH = 1010
:I 16
:T DW 8 KH = 1020
:D 33
:T DW 9 KH = 10FF
Table 3-24 Decrement/increment operation
Table 3-25 Processing operations
Executive Operations
CPU 948 Programming Guide
3 - 66 C79000-G8576-C848-04

Table of Contents

Related product manuals