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 Programblocks
Type Quantity Addresses Remarks
Cyclic organization blocks
(COB)
32*(16) 0...31(0...15) Main program elements
Exception/system-dependent
organizationblocks(XOB)
32 0...31 called from the system
Programblocks(PB) 1000*(300) 0...999(0...299) Sub-programs
Functionblocks(FB) 2000*(1000) 0...1999(0...999) Sub-programs with
parameters
Sequentialblocks(SB)
total 6000 steps and transitions
each(withPG5≥1.3and
rmwareversion≥≥xxx)
96 0...95
for Graftec programming
of sequential processes
*Thisinformationisvalidforrmware1.10.16andlater.Beforethisversion16COBs,300PBsand1000FBswere
supported.
3.3.2 Computationrangesforcounttypes
Type Remarks
Integers – 2,147,483,648 to
+ 2,147,483,647
Format:decimal,binary,BCDor
hexadecimal
Floatingpointnumbers – 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
valuesheldinSaiaformat(Motorola
FastFloatingPoint,FFP)toIEEE754
format and vice versa.
3.3.3 Media
Type Quantity Addresses Remarks
Flags(1bit) 14’336**
(8192)
F0...8191 Bydefault,agsarenotvolatile,but
avolatilerangecanbecongured,
beginning with address 0
Registers(32bit) 16384 R 0...16383 Forintegeroroatingpointvalues
Text/data blocks
8191
XorDB
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
conguredtoholdRAMtextsandDBs.
The texts and DBs held in this way have
addresses≥4000
Timers/counters(31bit) 1600
1)
T/C 0...1599 The breakdown of timers and counters
iscongurable.Timersareperiodically
decrementedbytheoperatingsystem;
the basic time unit can be set between
10 ms and 10 seconds
Constants with media
code K
any Values0...16383;maybeusedinin-
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)Thenumberoftimersconguredshouldbeonlyasmanyasrequired,topreventunnecessaryCPUloading
**Sincermware1.14.2314’336agsaresupported,beforeitwas8192.Inordertouseags>8191PG52.6.150is