Hardware Manual for the PCD2.M5 Series│Document 26/856; Version EN 12│2014-07-24
Saia-Burgess Controls AG
PCD2 CPUs
PCD2.M5_ Classic CPUs and expansion housings
3-5
3
3.3
System resources
3.3.1 Program blocks
Type
Quantity
Addresses
Remarks
Cyclic organization blocks
(COB)
32* (16)
0...31 (0...15)
Main program elements
Exception/system-dependent
organization blocks (XOB)
32
0...31
called from the system
Program blocks (PB)
1000* (300)
0...999 (0...299)
Sub-programs
Function blocks (FB)
2000* (1000) 0...1999 (0...999)
Sub-programs with
parameters
Sequential blocks (SB)
total 6000 steps and transitions
each (with PG5 ≥ 1.3 and
firmware version ≥≥ xxx)
96
0...95
for Graftec programming
of sequential processes
* This information is valid for firmware 1.10.16 and later. Before this version 16 COBs, 300 PBs and 1000 FBs were
supported.
3.3.2 Computation ranges for count types
Type
Remarks
Integers
– 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 are provided to convert
values held in Saia format (Motorola
Fast Floating Point, FFP) to IEEE 754
format and vice versa.
3.3.3 Media
Type
Quantity Addresses
Remarks
Flags (1 bit)
14’336**
(8192)
F0...8191
By default, flags are not volatile, but
a volatile range can be configured,
beginning with address 0
Registers (32 bit)
16384
R 0...16383
For integer or floating point values
Text/data blocks
8191
X or DB
0...8190
The texts 0..3999 are always written
to the same memory area as the user
program.
Where the user memory has been
extended, the base memory can be
configured to hold RAM texts and DBs.
The texts and DBs held in this way have
addresses ≥ 4000
Timers/counters (31 bit)
1600
1)
T/C 0...1599 The breakdown of timers and counters
is configurable. Timers are periodically
decremented by the operating system;
the basic time unit can be set between
10 ms and 10 seconds
Constants with media
code K
any
Values 0...16383; may be used in in
-
structions instead of registers
Constants with no
media code
any
Values - 2,147,483,648 to
+2,147,483,647. Can only be loaded
into a register with an LD command,
and cannot be used in instructions
instead of registers.
1) The number of timers configured should be only as many as required, to prevent unnecessary CPU loading
** Since firmware 1.14.23 14’336 flags are supported, before it was 8192. In order to use flags > 8191 PG5 2.6.150 is