EasyManua.ls Logo

Siemens CPU 948 - Page 129

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...
Arithmetic operations
Operation Operand Function
ENT This causes a stack lift into ACCUs 3 and 4:
<ACCU 4> := <ACCU 3>
<ACCU 3> := <ACCU 2>
<ACCU 2> := <ACCU 2>
<ACCU 1> := <ACCU 1>
ACCUs 1 and 2 are not changed. The old contents
of ACCU 4 are lost.
Example
ACCU 1 ACCU 2 ACCU 3 ACCU 4
LKF+30 d30 ca
LKF+3 d3c30
a
Contents of the ACCUs
before the sequence of
arithmetic operations
bcd
xF c12 c30
+F c42 c
c
LKF+4 c4303
ENT 3 30 30 c
c7cc
LKF+6
c
6
c
42
:F
Table 3-19 Arithmetic operation ENT
The following fraction must be calculated: (30 + 3 * 4) / 6 = 7
Supplementary Operations
CPU 948 Programming Guide
C79000-G8576-C848-04
3 - 57

Table of Contents

Related product manuals