Вы находитесь на странице: 1из 16

S

m
a
r
t

s
o
l
u
t
i
o
n
s

f
o
r

c
o
m
f
o
r
t

a
n
d

s
a
f
e
t
y
Controls
Edition 26/367 E2
SAIA

PCD graphical programming


The efcient solution to your control tasks
Substantial advantages when PG5 standard library is used
I Greatly simplied programming, due to powerful FBoxes.
I Functions for control, comparison, communication, timing, etc. are not pro-
grammed: instead the user sets parameters directly.
I Integral adjust windows make short work of setting complex FBox parameters.
The diagram produced only shows operands and results, greatly improving
legibility.
I Automatic version check when the library is updated. Original functions are
used for existing projects, whereas the most recent functions are used for
new parts of a program.
I Syntax checking will not allow any invalid entries.
Features of the PG5 standard library
I Over 250 functions divided into 21 families.
I Includes all the basic functions, such as logical linkages, timers, counters,
basic mathematical functions, etc.
I Complex mathematical and logical operations in additional, comprehensive
FBoxes.
I Supports all special functions of PCD rmware.
I Communications FBoxes for creating SAIA

S-Bus networks via Ethernet TCP/IP


and RS 485/RS 232 connections and for preparing specic protocols.
I FBoxes for reading and writing analogue modules. With direct parameter setting
for input ranges and predened input elements, such as Pt 100, Ni 100, etc.
I Time functions, including timers or functions of the built-in PCD clock.
I Online help for each FBox.
PCD1
PCD2
PCD4
PCD6
2
Contents
Common features of all FUPLA FBoxes . . . . . . . . Page 2
KOPLA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 3
Logical linkages . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 4
Flip-ops and counters . . . . . . . . . . . . . . . . . . . . . . Page 5
Integer operations . . . . . . . . . . . . . . . . . . . . . . . . . . Page 6
Move commands . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 7
Floating point operations . . . . . . . . . . . . . . . . . . . . Page 8
Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 9
Converters, regulation and data blocks . . . . . . . . Page 10
Timer functions, clock and blinker . . . . . . . . . . . . Page 11
Networks and communication . . . . . . . . . . . . . . . . Page 12
System family and special family . . . . . . . . . . . . . . Page 14
Display family and analogue family . . . . . . . . . . . Page 15
Technical data and ordering information . . . . . . . Page 16
Clear subdivision into families
All FBoxes (function boxes) are divided into families. Drag-
and-drop can be used to place a selected FBox in the pro-
gram. The basic families offer not only the usual logical
and arithmetic operations, but also numerous useful system
functions.
FBoxes are further differentiated as standard, application or
user FBoxes. The FBoxes supplied with the PG5 are located
in the standard view. Additional libraries, such as those for
HEAVAC or modem applications, are stored in the Applica-
tion FBox window.
Easy differentiation between data types
Each data type is identied with a different colour. This
makes programs easier to read.
Binary data red
Integer data green
Floating-point data yellow
Text data is inserted in text elds.

Transition-triggered inputs are
marked with a wedge.
Static input
Transition-triggered input
Common features of all FUPLA FBoxes
C
o
m
m
o
n

f
e
a
t
u
r
e
s

o
f

a
l
l

F
U
P
L
A

F
B
o
x
e
s
PCD1
PCD2
PCD4
PCD6
3
KOPLA
The KOPLA editor (contact plan/ladder diagram) is an in-
tegral component of the PG5. Unlike conventional graphical
programming environments, FBoxes and ladder diagram ele-
ments can be combined at will in one and the same diagram.
If a contact is connected to an empty input box,
the input box will act as a busbar (i. e. it will
always be a logical 1).
Parameter window with online view
To prevent unnecessary lines from cluttering the diagrams,
FBoxes marked with a triangle have so-called Adjust win-
dows.
The Adjust window serves not only to set FBox parameters,
but also allows individual parameters to be observed on-
line. If required, parameters can also be changed on-line.
For example, a PID controller can be monitored directly in
the diagram window and its settings optimized.
Documentation of FBoxes
To improve documentation, each FBox can also be provided
with an individual name and comment. The name is not
just for identication, but also links very different FBoxes
to each other. For example, all FBoxes that communicate
via the same interface might be provided with the same
name. The name is used as a reference and FBoxes that
together constitute a function can therefore be assigned at
a glance.
Detailed help for
each FBox.
Default values are loaded on
start-up and can be monitored or
modied on-line.
KOPLA in FUPLA
K
O
P
L
A

i
n

F
U
P
L
A
PCD1
PCD2
PCD4
PCD6
4
Binary family: logic operations
Standard logical linkages:
All these basic linkages have
2 to 10 inputs.
AND
XOR
OR
odd inputs
even inputs
In additional to the basic boolean functions, the family of
binary operations also includes such interesting functions as:
Edge
The FBox recognizes a rising (positive)
edge at the input. The output will only
become high when the input goes from
low to high.
Move
The logical status of the FBox input
appears at the FBox output. This is used
to switch a PCD input directly to a PCD
output.
Set high
The output of the function is always set
high.
Set low
The output of the function is always set
low.
Pulse signal
As soon as the ag is set ) the FBox
generates a pulse that will last through
one cycle.
) The options offer a choice between setting or resetting.
Binary family: multiplexer
Multiplexer with binary selection
Transfers the binary value at input
I0I7 to the output, when the corre-
sponding binary enable input E0E7
is high.
If two or more enable inputs are high
at the same time, the input with the
highest priority prevails. Enable input
E0 has the highest priority and E7
the lowest.
Demultiplexer with binary selection
Transfers binary input In to one of
the outputs Q0Q7, when the cor-
responding input channel E0E7 is
high.
If an input channel Ex is low, the cor-
responding output Qx will be set low.
Mulitiplexer with integer selection
Transfers the binary status of one of the
inputs I0I7 to the output. The input
is chosen by feeding an integer value to
the Slc input.
This value corresponds to the number
of the input to be selected. The Err
(error) output is set high if there is an
invalid value at input Slc.
Demultiplexer with integer selection
Transfers binary input In to one of the
outputs Q0Q7. Outputs are selected
by the presence of an integer value at
the Slc (Selection) input.
All unselected outputs are low. The
Err (error) output is set high if there
is an invalid value at input Slc.
L
o
g
i
c
a
l

l
i
n
k
a
g
e
s
Logical linkages
PCD1
PCD2
PCD4
PCD6
5
Flip-flop family
Toggle with reset
The output is toggled on each positive
edge at the input. The ip-op is
reset by a positive edge at input R.
Toggle
The output is toggled on each positive
edge at the input.
Type SR / type RS
Standard SR/RS ip-op. Type SR gives
priority to the Set input; type RS gives
priority to the Reset input.

Type SR / type RS clocked
The S and R inputs are read when-
ever a rising edge is detected at the
Clk input. If no rising edge is identi-
ed, output Q remains unchanged.
SR = Priority to Set input
RS = Priority to Reset input
Type SR / type RS dynamized
SR/RS ip-op. Both inputs R and
S are transition triggered.
If input R goes from low to high,
output Q will be set low.
If input S goes from low to high,
output Q will be set high.
If both inputs R and S simultane-
ously go from low to high, output Q
will be set high.
SR = Priority to Set input
RS = Priority to Reset input
Counter family
All PCD counters are 31 bits in size. The maximum value is
therefore: 2
31
-1. If this value is reached an error signal will
be set at the counter output.
The PCD has a variable number of counters. Timers and
counters share the same address range. Factory settings re-
serve addresses 32 to 1599 for counters. It is always possible
to change the number of counters in the software settings
.
Familiar standard counters:
Up down with preset

Up with clear

Up down with preset and clear
Down with preset
Up wrap-around with clear

Flip-flops and counters
F
l
i
p
-
f
l
o
p
s

a
n
d

c
o
u
n
t
e
r
s
PCD1
PCD2
PCD4
PCD6
6
Integer values can be used in registers, data blocks, timers
and counters.
The integer arithmetic family comprises all FBoxes that
work with integer data. Integer values comprise the range
of numbers from 2 147 483 648 to 2 147 483 647.
This family can be subdivided into three groups:
Arithmetical operations with integer values
Basic mathematical operations, all to 32 bits.
Addition
Subtraction
Multiplication
Division
Square root
These functions link two integer values bit for bit. For ex-
ample, bitwise AND:
Input 0000 0000 1111 1111
Input 1111 0000 1111 0000
Output 0000 0000 1111 0000
These FBoxes naturally operate to 32 bits.
Bitwise: AND
Bitwise: OR
Bitwise: EXCLUSIVE_OR
Bitwise: Negation
Absolute value
Outputs the absolute value of the input.
Average
Outputs the average of input values.
Comparison of integer values
Range
The result is high as soon as the input
value can be located between Min
and Max values.
Maximum
Der grsste/kleinste Wert an den
Eingngen wird am Ausgang ausgege-
ben.
Minimum
Limit
Outputs the value of input In, with
the Min and Max inputs acting
as limits on the output value.
Is equal to
Is greater
Is greater or equal to
Is smaller than
Is smaller or equal to
Is zero
The binary output will be high as soon
as both inputs meet the condition.
Example
Addition of two integer values with subsequent calculation
of average.
I
n
t
e
g
e
r

o
p
e
r
a
t
i
o
n
s
Integer operations
PCD1
PCD2
PCD4
PCD6
7
Manipulation of integer values
Rotate left/right
The integer value at the In
input is rotated left/right by
however many bits are indi-
cated in the entry eld. The
resulting integer value is trans-
ferred to the Out output.
Shift left/right
Works like the Rotate FBox.
An additional binary shift
denes whether the spaces
should be lled with zeroes or
ones.
Move
Switches an input value directly
through to an output value. The integer
value at the input is always transferred
to the output.
Move when enabled
In the presence of a high signal at the
En (enable) input, the input value will
be switched through to the output. Oth-
erwise the output will be zero.
Move and store
If a rising edge is detected at the Sto
(store) input, the input value will be
switched through to the output. The
output will store that value until the
next edge.
Text/DB address
Outputs the numeric address of a text
or DB.
Switch
If the value at the Ref (reference)
input matches one of the values at
the switch inputs =x, the value of
the corresponding input Ix will be
transferred to the output. Otherwise the
value at the Def (default) input will be
transferred to the output.
Mux binary/integer selection
Transfers the selected input to the
output. The output can be selected with
a binary or integer value.
Demux binary/integer selection
Transfers the input to the selected
output. The output can be selected with
a binary or integer value.
Move family
The move-in/out family allows the manipulation of indi-
vidual bits or bit strings in a register. The remaining bits in
a register are not modied by this manipulation.
Input value
00000 0000 0000 0000 0000 0000 0000 0000
3100 0000 0000 0000 0000 0000 0000 00000
Move in Bits Q0Q7 Offset
00000 0000 0000 0000 000X XXXX XXX
Output value
00000 0000 0000 0000 000X XXXX XXX0 0000
3100 0000 0000 0000 0000 00000 0050 0000
Move-In Bit
Move-In Digit
Move-In Nibbel
Move-In Byte
Move-In Word
All Move-In FBoxes write
one or more bits, digits, nib-
bles, bytes or words into a
dened position in a 32 bit
register.
The exact position of the
inserted bits will be deter-
mined by the Offset input.
Move-Out Bit
Move-Out Digit
Move-Out Nibbel
Move-Out Byte
Move-Out Word
All Move-Out FBoxes read
one or more bits, digits, nib-
bles, bytes or words from a
dened position in a 32 bit
register.
The exact position of the
inserted bits will be deter-
mined by the Offset input.
Integer operations
I
n
t
e
g
e
r

o
p
e
r
a
t
i
o
n
s
PCD1
PCD2
PCD4
PCD6
8
Floating point values have a range from 2.710505E20 to
9.223371E+18 and are identied in FUPLA by a yellow
line.
It should be noted that not all devices use the same oating
point format. All SAIA

PCDs use the FFP format (fast oating


point). The converter family includes FBoxes for converting
oating point values to IEEE format.
Floating point values can be stored in registers and data
blocks.
Arithmetical operations with
floating point values
Basic mathematical operations, all to 32 bits
Addition
Subtraction
Multiplication
Division
Square root
Natural exponent
Natural logarithm
Sine
Cosine
Arc tangent
Example
Two oating point values are added together. The result
is 50 000. The Limit FBox limits the value to a maximum
of 40 000.
Manipulation of floating point values
Move
Switches an input value directly
through to an output value. The integer
value at the input is always transferred
to the output.
Move when enabled
In the presence of a high signal at the
En (enable) input, the input value
will be switched through to the output.
Otherwise the output will be zero.
Move and store
If a rising edge is detected at the Sto
(store) input, the input value will be
switched through to the output. The
output will store that value until the
next edge.
Mux binary/integer selection
Transfers the selected input to the
output. The output can be selected with
a binary or integer value.
Demux binary/integer selection
Transfers the input to the selected
output. The output can be selected
with a binary or integer value.
Switch
If the value at the Ref (reference)
input matches one of the values at the
switch inputs =x, the value of the cor-
responding input Ix will be transfer-
red to the output. Otherwise the value
at the Def (default) input will be
transferred to the output.
F
l
o
a
t
i
n
g

p
o
i
n
t

o
p
e
r
a
t
i
o
n
s
Floating point operations
PCD1
PCD2
PCD4
PCD6
9
Comparison of floating point values
Absolute value
Outputs the absolute value of the input.
Average
Outputs the average of input values.
Range
The result is high as soon as the input
value can be located between Min
and Max values.
Maximum
Outputs the greatest/smallest value
from the inputs.
Minimum

Limit
Outputs the value of input In, with
the Min and Max inputs acting
as limits on the output value.
Is equal to
Is greater
Is greater or equal to
Is smaller than
Is smaller or equal to
Is zero
The binary output will be high as soon
as both inputs meet the condition.
Buffer family
FBoxes from the buffer family store various types of data.
The size of the buffer can be adjusted individually.
The abbreviations used signify the following:
In Input value that will be loaded into the buffer
Ld Load value in buffer
Uld Unload value
Res Reset
Out Output: last value unloaded
Uld Unload: shows that a value has been unloaded
Lvl Level: number of values in the buffer
Bsy Busy: at least 1 value in buffer
Ful Buffer full
O Buffer overow (Ful +1)
U Underow: signal received when unloading an
empty buffer.
FIFO FBoxes buffer data according to the rst in/rst out
principle. LIFO FBoxes apply the last in/rst out principle.
FIFO Binary LIFO Binary

FIFO Integer LIFO Integer

FIFO Float LIFO Float

F
l
o
a
t
i
n
g

p
o
i
n
t

o
p
e
r
a
t
i
o
n
s

/

B
u
f
f
e
r
Floating point operations
Buffer
PCD1
PCD2
PCD4
PCD6
10
Different data types cannot be combined directly in calcula-
tions (e.g. a binary value cannot be added directly to an
integer value). The converter family translates one type
into another.
Converter family: integer values
Floating point to integer
These FBoxes convert an integer value to a oating point
value, and vice versa.
Integer to binary quick
Integer to binary reverse quick
Integer to 1-bit with shift
Integer LSB to 1-bit
Integer to binary 18
Integer to binary 124
All these FBoxes transmit single bits from the input value
(integer) to the output. The number and sequence of these
bits depends on the choice of FBox. QUICK means that the
result will not be given via several digital outputs, but will
instead be written directly to ags or outputs.
Converter family: binary values
Binary to integer 18
Binary to integer 124
Binary to integer quick
Binary to integer reverse quick
Binary count 18
Binary count quick
1-bit to integer LSB
1-bit to integer with shift
All these FBoxes convert available binary values to integer
values at the output. The number and sequence of these
bits depends on the choice of FBox. QUICK means that
the result will not be written to an integer output, but will
instead be stored directly in a register.
Converter family: floating point formats
IEEE to PCD floating point format
PCD to IEEE floating point format
Please note that all PCDs use Motorolas FFP format. These
FBoxes convert IEEE oating point values to Motorola format
and vice versa.
Converter family: BCD values
BCD to integer
BCD to integer quick
BCD to integer reverse quick
Integer to BCD
Integer to BCD reverse quick
Integer to BCD quick
These FBoxes convert BCD values in different ways.
QUICK means that the result will not be written to an
integer output, but will instead be copied directly to a regis-
ter.
Regulation family
Every PCD has a built-in PID controller.
PID
PID controller with adjustable cold start
value and resolution:
T0 (sampling time) should be 10
greater than the PCDs cycle time and
should never be less than 80 ms.
Data block family
Data blocks store large quantities of data. They are mostly
used for the cyclical storage of any data that must subse-
quently be output to a visual display system or printer.
A data block is an array of 32-bit values that are stored in
user memory.
Init DB
Initializes a given data block
with the value 0. Initializa-
tion takes place on detection
of a rising edge at the In
input.
DB logger
Writes the input value to
the data block. The data
block increments automat-
ically and sets the output
to 1 as soon as it is full.
Write DB
Writes the input value Val
to the data block. The input
Pos denes the position
of the entry.
Read DB
Reads an element from the
data block specied. Pos
denes the position of the
element to be read. The
result is output as an integer
value to Val.
C
o
n
v
e
r
t
e
r
s
,

r
e
g
u
l
a
t
i
o
n

a
n
d

d
a
t
a

b
l
o
c
k
s
Converters, regulation and data blocks
PCD1
PCD2
PCD4
PCD6
11
The PCD has a variable number of timers. Timers and coun-
ters share the same address range. Factory settings reserve
the rst 31 addresses for timers. The remaining addresses
up to 1599 are reserved for counters. It is always possible
to add further timers in the software settings .
In FUPLA timers always operate with a time base of 100 ms.
In the software settings, it is possible to reduce the time base
for timers to 10 ms. However, this only affects timers in an
instruction list. It has no inuence on timers in FUPLA.
Time function family: basic timers
The usual standard time functions:

On delay

Off delay

Off delay with reset

On off delay
Time function family: special functions
Store delay

After receipt of a positive edge, input
In must be high for longer than the
timer value at input TV before the
state output Q will become high. The
latter will remain high until a high
signal is received at binary reset input
R.
PCD start delay

When the PCD is powered up (cold
start) the state output Q remains low
for the period dened in the adjust
window. After this time it will be per-
manently high.
Pulse

When a positive edge is detected at
input In, the state output Q will
become high for the time dened at
timer value input TV.
If the input signal drops back to low
again, pulse state output Q will also
fall back (regardless of the TV time
value).
Exclusive pulse
If a rising edge is detected at binary
input In, the state output Q becomes
high for the time dened at timer value
input TV. The cycle starts again from
the beginning with each positive edge.
Cycle time
Measures the cycle time for
the dened number of cycles.
The maximum value is stored.
Time function family: clock
Practically all PCDs (except PCD1.M110) have a real time
clock (RTC). This clock can be adjusted with the PG5
Online Congurator . The clock has a calendar for the
date and calendar week.
Read time (hardware clock)
Reads the time and date from the
PCDs internal hardware clock and
outputs them to two integer outputs.
Write time (hardware clock)
Writes the time to the hardware clock.
Useful in combination with atomic
clock receivers.
Chronometer
This function serves to measure time
intervals.
Clocks can be synchronized via a SAIA

S-Bus network. The


Broadcast Clock FBox in the communications family syn-
chronizes the clocks of all slave stations in a network.
Blinker family
Blink delay T
Output Q blinks for as long as the
En (enable) input is high. Blink speed
is controlled by the time value input
TV (steps of 0.1 seconds).
Blink delay T0/T1
Output Q blinks for as long as the
En (enable) input is high. Blink
speed is controlled by the time value
input TV (steps of 0.1 seconds).
Sample
For as long as the En (enable) input
is high, output Q generates one pulse
every cycle. The pulse duration is
dened in TV (steps of 0.1 seconds).
T
i
m
e
r

f
u
n
c
t
i
o
n
s
Timer functions
PCD1
PCD2
PCD4
PCD6
12
Communications family: SASI
SASI signies: assign serial interface. For the PCD to be
able to communicate across one of the numerous serial
interfaces, it must rst be told how (i.e. in which mode) the
interface should be used. This FBox initializes the interface
for the corresponding mode of communication. As a rule,
it should come at the beginning of a program (before the
Send/Receive FBoxes).
SASI, SEND and RECEIVE are all identiable by the FBox
name. FBoxes belonging to the same network will use the
same name.
SASI S-Bus Master
Initializes a serial interface as
master for a SAIA

S-Bus net-
work. The PCD is now in a posi-
tion to read and write elements
to a slave.
SASI S-Bus Master IP
Initializes an Ethernet (TCP/IP)
interface as master for a SAIA


S-Bus network. The PCD is now
in a position to read and write
elements to various master and
slave stations.
SASI S-Bus Slave
Initializes a serial interface as
slave in a SAIA

S-Bus network.
The master station can now
read and write elements.
SASI S-Bus Slave
Initializes an Ethernet interface
as slave.
SASI S-Bus Extended
Identical to the S-Bus Master
FBox, but with additional para-
meters.
S-Bus Station
This FBox offers central
management functions to
a slave (optional).
Use of this FBox affects
the behaviour of SEND/
RCV FBoxes accessing the
station.
S-Bus Station IP
Identical to S-Bus
Station, but for TCP/IP
connections.
SASI RIO
Initializes serial communica-
tions for the RIO congurator.
SASI Diagnostic
Shows detailed diagnostic
information about an interface
initialized with SASI (optional).
SASI Mode D
Initializes a serial interface in
D-Mode. D-Mode allows full-
duplex communication via a
point-to-point connection.
Networks and communications
PCD1
PCD2
PCD4
PCD6
13
These FBoxes allow resources to be read and written across
a SAIA

S-Bus network. Communication does not always have


to be cyclical, but can also be controlled by the program,
if required.
Communications family: Receive elements
These FBoxes read elements (such as ags, timers, counters,
registers, BD elements, inputs and outputs) from a SAIA

S-Bus slave. In these FBox names, Quick indicates all those
FBoxes which, for each telegram, read several elements
at a time from a slave and store them directly in an array.
Multiple indicates those FBoxes which read one element
(e.g. input 32) from several stations simultaneously.

Receive Binary
Receive Integer
Receive Float

Receive Binary Quick
Receive Integer Quick
Receive Float Quick

Receive Binary Multiple
Receive Integer Multiple
Receive Float multiple

Receive Data-Block
Communications family: Transmit elements
These FBoxes write elements (such as ags, timers, coun-
ters, registers, BD elements and outputs) to a SAIA

S-Bus
slave. In these FBox names, Quick indicates all those
FBoxes which, for each telegram, write several elements at
a time to a slave and store them directly in an array.

Transmit Binary
Transmit Integer
Transmit Float

Transmit Binary Quick
Transmit Integer Quick
Transmit Float Quick

Transmit Data-Block

Transmit Command
Broadcast Clock
Broadcasts the time to all
SAIA

S-Bus stations.
Text Mode family
Text Mode (also called MC-Mode) serves to transmit ASCII
characters and strings across the serial interface without
using a protocol. This function is useful when:
preparing in-house protocols, or
outputting characters to a printer or display.
SASI Text
Initializes one of the serial
connections (also called
channels) in Text Mode
(MC-Mode).
Used when writing simple
communications tasks with-
out a protocol.
SASI Char
Similar to the SASI Text
FBox, but with additional
parameters.
SASI Text Diagnostic
Use of this FBox is optional.
It offers useful diagnostic
information when working
with the serial interface.
All the following FBoxes require a SASI FBox at the begin-
ning of the le.
Edit Value
Displays an edit menu on
a connected terminal. It
allows a register value to
be edited from that terminal.
Receive Character
Receives ASCII characters
via the serial interface.
Characters are output as
integers in ASCII format.
Transmit Character
Transmits 1 to 4 ASCII
characters via the interface
specied.
Transmit Text
Transmits text via the inter-
face specied.
N
e
t
w
o
r
k
s

a
n
d

c
o
m
m
u
n
i
c
a
t
i
o
n
s
PCD1
PCD2
PCD4
PCD6
14
System family
The system family reads and writes the most useful PCD
settings during operation. These FBoxes can be used to
ensure that the correct systems have been installed on the
equipment.
Read Device Type Reads the PCD type.
Type ASCII numeric
PCD1 D1 1
PCD2 D2 2
PCD4 D4 4
PCD6 D6 6
Read Firmware
Version Reads the rmware version of the PCD.
Read CPU Type Reads the CPU type of the PCD.
System ASCII numeric
PCD1
PCD2.M1.. M1_ 10
PCD4.M11.. M11 11
PCD4.M24.. M24 24
PCD6.M1.. M1_ 10
PCD6.M54.. M54 54
Read System Reads the system counter.
Counter The system counter is incremented
precisely once every millisecond.
Useful for precision timers.
Read S-Bus Reads the current S-Bus station number
Station of the PCD.
Write S-Bus Overwrites the S-Bus station number
Station during runtime. If the program is stored
on EPROM, the new address will be
written to RAM.
Read S-Bus PGU Reads all S-Bus parameters currently
Parameter stored in the PCD.
Read User Reads the program name. Corresponds
Program Name to CPU name in the PG5.
Special family
The special family supports all special rmware functions.
System Selftest This FBox starts a selftest. If a test fails,
that fact will be indicated at the cor-
responding output: tests 0 to 11 (H =
error). In addition, the general error
output will be set as soon as even one
test fails.
0 Public RAM
1 User Program RAM
2 User Program Checksum
3 Not yet implemented
4 Real Time Clock
5 Serial Channels
6 Firmware Checksum
7 Not yet implemented
8 System RAM Memory
9 Memory Extension
10 Public Memory
11 Not yet implemented
XOB Diagnostic This FBox saves useful information as
soon as an exception occurs. One FBox
must be put in place for each excep-
tional event.
Execute XOB Immediately starts up XOB 1719.
Particularly useful for synchronizing
tasks in multiprocessor systems.
Battery Shows whether the battery is missing
or at. This error will be cleared within
2 seconds of replacing the battery.
Install Cyclic Task This FBox starts a cyclic block as soon
as the Enable input receives a high
signal. The cyclic block is repeated
automatically every x milliseconds.
Software Only works in certain PCD systems.
Watchdog Consult manual for details.
Hardware The watchdog relay will open when
Watchdog faults arise.
Read/Write Some PCDs (PCD1, PCD2 and
EEPROM Register PCD4.M170) have EEPROM registers
that can be used in the program. The
content of these registers will be main-
tained even if the power fails and the
battery is at.
S
y
s
t
e
m

f
a
m
i
l
y

a
n
d

s
p
e
c
i
a
l

f
a
m
i
l
y
System family and special family
PCD1
PCD2
PCD4
PCD6
15
Analogue family: basic analogue FBoxes
The basic FBoxes read/write analogue values and output
them without further modication (i. e. without oversam-
pling or linearisation).
The analogue values are in integer format:
8 bits 0255
10 bits 01023
12 bits 04095
For each cycle of the PCD, one channel on the card is con-
verted. When the PCD starts up, all values are zeroed.
PCD2.W1
PCD2.W2
PCD2.W4
PCD2.W5
PCD4.W1
PCD4.W3
PCD4.W4
PCD4.W8
PCD6.W1
PCD6.W3
PCD6.W4
Analogue family: FBoxes with extra functions
These intelligent FBoxes offer extra functions, for example:
Selection of different sensor types with integral linearisa-
tion for the relevant sensor.
Error LED for out-of-range values.
The term with error in an FBox name indicates that
it does not just display the error code, but also makes it
available as a signal.
PCD2.W3
PCD2.W34
PCD2.W34 with error
PCD2.W35
PCD2.W35 with error
PCD2.W36
PCD2.W36 with error
PCD2.W220-Z29
The ..W500 and ..W600 are intelligent analogue modules
that offer further functions, such as:
Filter in module
Scaling of different ranges
Range measurement with hysteresis and logic outputs
for Value > < X
PCD2.W6
PCD4.W600
PCD4.W500
PCD4.W5 Temperature
PCD4.W5 Status
Display family
PCD2.F510 PCD2.F510 Outputs a value to the
PCD2.F5.. display. The PCD2.F5.. card
can display up to 6 digits (99 999
to 999 999). It can also display a few
predened words in combination with
two digits (099):
Text Hlp + 2 digits nn
Text Err + 2 digits nn
2 digits without text
Clock displays time
PCD2.F510 Text Predened words are displayed. The
display supports the following words:
=SAIA=
=PCd2=
HELP
Error
Blank (clears the display)
D120 Module Outputs an integer value to the
PCD7.D120 display. The value will only
be displayed for as long as the En
enable input is active. In this way,
several FBoxes can display data in turn.
The ..D120 displays are connected to
normal digital outputs. This saves a
serial port.
D120 Module Identical to FBox D120 Module,
Duplex except that two modules can be con-
nected in series.
D12 Module Both these displays have their origins in
D14 Module the old PCA family.
Text Terminals
Menu structures for text terminals do not have to be pro-
grammed in FUPLA. The HMI editor included with the PG5
allows extensive menu structures to be created quickly
and easily. Some FBox families (e. g. HEAVAC) even have
predened objects that can be imported into the HMI editor.
This means that the parameter window of each appropriate
FBox can be represented 1:1 in the HMI editor. See Technical
Information 26/355 for details.
Text can also be transmitted to a text terminal using FBoxes
from the Communication Text family.
Analogue family and display family
A
n
a
l
o
g
u
e

f
a
m
i
l
y

a
n
d

d
i
s
p
l
a
y

f
a
m
i
l
y
S
m
a
r
t

s
o
l
u
t
i
o
n
s

f
o
r

c
o
m
f
o
r
t

a
n
d

s
a
f
e
t
y
Saia-Burgess Controls Ltd.
Bahnhofstrasse 18
CH-3280 Murten / Switzerland
Telephone ++41 26 672 71 11
Telefax ++41 26 670 44 43
E-mail: pcd@saia-burgess.com
Homepage: www.saia-burgess.com
Support: www.sbc-support.ch
Saia-Burgess Controls Kft.
Liget utca 1
H2040 Budars
Telephone 023 / 501 170
Telefax 023 / 501 180
E-mail: ofce@saia-burgess.hu
Homepage: www.saia-burgess.hu
Support: www.sbc-support.ch
Your local contact:
Technical data and ordering information
Printed in Switzerland 26/367 E2 08. 2002 TA40 Subject to change without notice.
Technical data
Controller type All FBoxes will work with any PCD (with the exception of such
functions as Watchdog and Clock)
System requirements Under certain circumstances some functions will require additional
hardware components, e.g. serial ports, displays, memory, watchdog,
clock, etc.

Ordering information
Type Description
PCD8.P59 000 M9 The PG5 standard library library as described in this document is
included in every PG5 version
In addition to the standard library, the following libraries are available:
PG5 modem libraries
PCD9.M59 BAS M5 Modem Basic
Initialization and diagnostics, user profiles, list of call numbers,
password protection, establishing connection, event or time
controlled data transmission or reception between PCD systems and
external devices (e. g. SCADA), SAIA

S-Bus networks across modem


connections.
PCD9.M59 PAG M5 Modem Pager
Event or time controlled transmission of single or multiple messages
by pager. TAP and various specic national protocols are supported.
PCD9.M59 SMS M5 Modem SMS
Event or time controlled transmission of single or multiple short
messages (SMS). UCP and TAP are support. Reception of SMS
messages and control of the PCD by SMS.
PCD9.M59 DTM M5 Modem DTMF
Supports the reception of DTMF signals for control instructions via
telephone, i. e. control of the PCD by DTMF signals.
PCD9.B59 HVC M5 PG5 HEAVAC library
Library of over 150 FBoxes for solutions in heating, ventilation,
air conditioning and building technology. HEAVAC library objects can
be imported directly into the HMI editor.
PCD9.C59 EIB M5 EIB library
FBoxes for linking communications into EIB networks.

Вам также может понравиться