Hardware Manual PCD1.M0160E0 │ Document 27-622
|
Version ENG04 │ 2018-08-20
Saia-Burgess Controls AG
LED behavior
CPU / Control Process Unit
3-9
3
3.6.2
Data Types / Value Ranges
Model
Comments
Integer
– 2’147’483’648 to
+ 2’147’483’647
Format: Decimal, binary, BCD
or hexadecimal
Floating-point numbers
– 9,223’37 × 10
18
to
– 5,421’01 × 10
-20
+ 9,223’37 × 10
18
to
+ 5,421’01 × 10
-20
Instructions for the conversion
of values in the Saia PCD
®
format
(Motorola Fast Floating Point,
FFTP) to IEEE 754 format and vice
versa are provided.
IEEE single precision,
IEEE double precision
±1.401 × 10
-45
to
3.403 × 10
38
±4.941
-324
to 1.798 × 10
308
double precision requires two
registers (64 bit)
3.6.3
Resources elements
Model
Number
Addresses
Comments
Flags (1 bit)
16’384
F 0…16’383
Flats are not transient, but
a transient range, starting from
Address 0 can be configured.
Register (32 bit)
16’384
R 0…16’383
For integer or floating point values
Text/data blocks
8191
X or
DB 0…8190
For text and DB
Timer/counter (31 bit)
1600
1)
T/C 0…1599
The breakdown of timers
and counters can be configured.
Timers count down periodically
under the control of the operating
system; the basic time unit can be
varied between 10 ms and 10 sec-
onds.
Constants with media code K user-defined
0…16’383
Values can be used in instructions
instead of registers
Constants without media code
user-defined
-2’147’483’648 to
+2’147’483’647
Can only be loaded to a register
with an LD command and cannot
be used in instructions instead of
registers.
1)
To avoid unnecessary load on the CPU, no more timers should be configured than required.