Saia PCD Graphical Programming: Controls
Saia PCD Graphical Programming: Controls
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
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
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: [email protected]
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: [email protected]
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