0% found this document useful (0 votes)
62 views

Manual PCA1 PDF

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views

Manual PCA1 PDF

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 177

Manual of the

SAIA®PLC series PCA 1


Programmable controllers Hardware

English edition 26/719 E1


HARDWARE- PCA1

GENERAL

PART A BASIC MODULES

PART B INPUT/OUTPUT MODULES as well as


ADDITIONAL and DISPLAY MODULES

PART C OPERATING MODES

SAIA"PLC Programmable controllers


t:-
): V'>
c:
...n
"a 3
3
ni
-s
"a
Cl
OQ
,. - - -s~srCAfi-- -- .J I Series PCA 1 - J I Series PCA2 -- --- J 0
-+.

"'3
u M12/M14 M22/M24 PCA15 PCA14 PCA221 PCA222 PCA232
c+
:::r
C1l
3 HARD 2 HARD 2 HARD 2
.,.u HARDWARE PCA0 PCA!i1
SOFT 1H
HARD 1

SOFT 1H
HARD 1
SOFT 1H
~1H
3
ni
::I
c:
; SOFTWARE SOFT 1H
ni
SOFT2 SOFT 2 I FT 2
"0
[] 0 [] 01 1410
VI

...
~ SOFT 3 ni

0
<

-
3 ni
......

0
......
i ni
t:T
......
"'
M
C1l

PCA1.H1

SAIA
PMS

~
llllllllllL___ _ _ _ _ _ _ _ _ _ _ __
) ) )
) ) ) )

;
;;,, 0
,.. <
Series PCA0 Sedes PCAl
~ Series PCA2 (I)
-s
,,
n <
......
(I)
~
C1 Soft level 3 PCA232
.,
OQ

IJ
a
a
Soft
+ 32
level 2
word instructions for User memory
c:J 0
-+.
t+
:::::r
(I)

~~SK ~~~fr~~a~!~~~rs I 1~1 ____,_I


- arithmetic ± 9 digits
IJ - data transfer Vl
ID' + )>

i - word register + byte data ~-~--·~. .....


)>
0
256 or 512 I/O
"0,...
~
""C
I
n
PCA14
!. Soft level 2 Standard versions and OEM
PCA141 PCA147 PCA147 C45
PCA222 Vl
<
.,i
~
T ••
Vl
Soft level 1H .--- ~
t+
(I)
lit
PCA0.M22 PCM.M24

[J
+ Serial interface 3
+ Date-time

CJ bJ
-+.
+ Data register
+ Parameter instructions
(soft interrupt, FIFO,
PID)
[Q
max. 32 I/O max. 64 I/O 32(56) 64(112)
~
128(224) I/O
OD
256 or 512 I/O
CU
3
......

""C
n
User memory User memory User memory )>
max. 4K program steps max. 8K program steps max. 8K program steps
max. 4K text characters/data max. BK text characters/data max. 8K text characters/data

,-
Soft level 1H Standard versions PCA15 PCA221
PCA151 PCA156 PCA157 + •• C45
Instruction set with ~ ~

~
[J
32 basic instructions for PCA0.M12 PCA0.M14
- timers and counters
- parallel programs and
subroutines
- indexing, etc.
20 additional instructions for
[Q
24/32 I/O
11 • .M14
48/64 I/O
I Q ~
11~1 . =1
32(56) 64( 112) 128( 224) I/O 256 or 512 I/O
- arithmetic
- data transfer User memory
- check-sum User memory User memory
max. 4K program steps max. 4K program steps max. BK program steps

~
llllllllll....___ _ _ _ _ _ _ _ _ _ _ __...
-
TABLE OF CONTENTS
Page
PART A BASIC MODULES
A1 System structure lA
A 1.1 Block circuit diagram of the SAIA 0 PLC lA
A 1.2 Functional description of the SAIA 0 PLC 2A
A2 Technical data of system series PCA15 JA
A 2.1 Versions of system series PCA15 4A
A 2.2 Block circuit diagram PCA15 5A
A 2.3 Basic modules 6A
A 2.3.1 Operating panel of the basic modules PCA1.M51/M56/M57 6A
A 2.4 Register organization 9A
A 2.5 Brief instruction for operating a PCA15 lOA
A3 Technical data of system series PCA14 13A
A 3.1 Versions of system series PCA14 14A
A 3.2 Block circuit diagram PCA14 15A
A 3.3 Basic modules 16A
A 3.3.1 Operating panel of the basic modules PCA1.M41/M47 16A
A 3.4 Organization of program and text memory 20A
A 3.5 Register organization 21A
A 3.6 Instructions for operating a PCA14 in brief 23A
A 4 Extension housing .. C45 29A
A 4.1 Basic module PCA1.M47/M57 with extension housing PCA1.C45 29A
A 4.2 Type of system PCA157/147 with extension housing PCA1.C45 29A
A 4.3 Arrangement of the PCA157/147 with extension housing .. C45 30A
A 4.4 Block circuit diagram 31A
A 4.5 Operating panel of extension housing .. C45 32A
A5 Power supply, watchdog, reset, dimensions 33A
A 5.1 Power supply of PCAl 33A
A 5.2 Various external power supply circuits 34A
A 5.3 Voltage monitoring 35A
A 5.4 Watchdog monitoring circuit 35A
A 5.5 Fast external RESET circuit 36A
A 5.6 Connection circuits of system series PCAl 39A
A 5.7 Dimensions of system series PCAl 40A

PART B INPUT/OUTPUT MODULES as well as


ADDITIONAL and DISPLAY MODULES
B1 Plug-in input/output modules lB
B 1.1 I+O modules of series PCAl lB
B 1.1.1 Type PCA1.E10 Electrically connected input module 3B
B 1.1.2 Type PCAl.Ell Input module for NAMUR proximity switches 58
B 1.1.3 Type PCA1.E20 Opto-isolated input module 68
B 1.1.4 Type PCA1.E50 Opto-isolated input module for VAC SB
B 1.1.5 Type PCA1.A10 Electrically connected output module 108
for 1(2)A
B 1.1.6 Type PCA1.A21 Output module with relay contacts 12B

Selling price: sFr 60.-

SAIA"'PLC Programmable controllers


----
8 1.1.7 Type PCA1.A30 Opto-isolated output module for 1(2)A 148
8 1.1.8 Type PCA1.A50 Output module for VAC with static relay 168
(Triac)
8 1.1.9 Type PCAl.810 Electrically connected input/output module 188
8 1.1.10 Type PCAl.880 Compact input/output module with 218
short-circuit-protected outputs
8 1.1.11 Type PCAl.890 Electrically connected compact I/O module 258
8 1.1.12 Type PCA1.E40 Combined date-time and input module 298
(only PCA14)
8 1.1.13 Type PCAl.Wl .. Analog I/O module with 8- or 7-bit 408
resolution
8 1.1.14 Type PCA1.W2 .• 12-bit analog output module 428
B 1.1.15 Type PCA1.W3 •• 12-bit analog input and output module 468
B 1.1.16 Type PCA1.W40 Analog input module for temperature 548
sensor PT 100
8 1.1.17 Type PCA1.Fll/F12 preselector module for entering 578
numerical values
B 1.1.18 Type PCA1.F21/PCA1.F22 Data line switching module 598
(only PCA14)
B 1.1.19 Type PCAl.Hl .• Rapid counter or pulse generator up to 678
10kHz, 6 decades
8 1.2 Internal power requirement of the PCAl modules 698
8 2 Programming units, additional units and accessories 718
8 2.1 Programming units 728
B 2.1.1 Hand-held programming unit PCA2.P05 728
8 2.1.2 Programming interface PCA0.P01 for PCA15 738
8 2.1.3 PCA2.S10 Input simulation unit 738
8 2.1.4 PCA2.S05 Input simulation and supply module 748
8 2.1.5 Programming unit PCA2.P18 758
8 2.1.6 SAIA 0 PCA ASSEMBLER 768
8 2.1.7 PCA2.P16 EPROM-copying unit 788
8 2.1.8 Type PCA1.R95/R96 Buffered RAM chip 818
8 2.1.9 Type PCA1.R20 Text memory extension module, 32 characters 828
8 2.1.10 Type PCA1.R25 Data memory extension module, 16K words 858
8 2.2 Display modules 878
8 2.2.1 PCAl.Dll Operand display module 878
8 2.2.2 PCA2.D12 Display module 888
8 2.2.3 PCA1.D13 Display interface 958
8 2.2.4 PCA2.D14 Display module 988
8 2.3 KOM series external interface module 1028
8 2.3.1 Type KOM 1118 Dual input interface 1028
8 2.3.2 Type KOM 1218 Dual-relay-output interface 1038
8 2.4 Dimensions of additional units 1048
8 2.5 Dimensions, assembly and installation of PCA2.D12 1068
8 2.6 Dimensions, assembly and installation of PCA2.D14 1078
PART C OPERATING MODES
c1 Selection of operating modes 2C
c 1.1 Operating modes, level lH for PCA15 and PCA14 3C
c 1.2 Summary of operating modes 4C
c 1.3 Detailed description of the operating modes 5C
c2 Further operating modes (only PCA14) BC

SAINPLC Programmable controllers


PART A BASIC MODULES

Chapter A 1 System structure

Chapter A 2 Technical data of system series PCA15

Chapter A 3 Technical data of system series PCA14

Chapter A 4 Extension housing .. C45

Chapter A 5 Voltage supply, watchdog, reset, dimensions

SAIA"PLC Programmable controllers


lA

PART A Hardware

A1 System structure
A 1.1 Block circuit diagram of the SAIA 0 PLC
Prograrnning
unit The SAIA 0 PLC is subdivided into the
"'c following hardware modules:
~ - Central processing unit CPU
- User MEMORY
r· ·-·--· -1 - SUPPLY module
Serial communication interface
i ...---'Power
...___, i· - Input modules (digital or analog)
! supply I - Output modules (digital or analog)
I
USER

tID!QB.Y
module I All listed modules can be plugged onto
the common bus.
I
CPU
Central i Program input takes place via the pro-
gramming unit.
I process-
ing unit I
IN ,...,...ou"""r.__.., I
Input Output ,.
modules

~~---
PROCESS
-r$fj
4 or 8 plug-in locations
for I/O modules which may
be arranged as desired

Basic module (without I/O)


comprising processor section
(CPU), supply section and rack.
Some basic modules allow the
connection to an extension
housing.

SAIA"'PLC Programmable controllers


2A

A 1.2 Functional description of the SAIA 0 PLC

Instruct ion
/ •
Line WHAT WHERE " Counters ~ IN 9
111
(address Timers 11
STEP CODE OPERAND
256-;-2871) 288-;-.999 07255 12
13
WHERE 14
Address 15
16
H L Oa ta 17
H
0123 STH 0011
L 36
0124 ANH 0014 OUT
Processor 37
0125 ORH 0017 I H 38
I WHAT Data 39
0126 OUT 0038 I L
40
I Address 41
r.J + 1 0 42
0.;-255 43
I
~~
I
STEP

~
L
COUNTER
7

User memory Central processing


... /
' Inputs/Outputs
unit (CPU)

The instructions for linking the input signals and formation of the actual
output states are entered by the user in the user memory, arranged in 11 words 11 •
Each word having a length of 16 bits comprises a complete instruction,
subdivided into CODE and OPERAND. The CODE states 11 what 11 is to be executed,
whilst the OPERAND states 11 where 11 the element in question is located.
The instructions are read and interpreted consecutively by the CPU. After an
instruction has been processed, the step counter reading is incremented by 1
and the next instruction in the user memory is read. Additionally, the logical
states of the elements (H or L) are interrogated by the CPU via the data bus.
Each linkage result is stored in the accumulator (ACCU). With an output in-
struction, the result of the operation for example is transferred to an output.
The CPU contains all units required for auxiliary functions, such as e.g.
timer and counter registers, flag memories, index registers, etc. The return
addresses for subroutines are stored in additional memories.

1) The registers 288 to 479 may be used as counters with the PCA14 from
version V6.034 onwards.

SAIA"PLC Programmable controllers


3A

A 2 Technical data of system series PCA15


CPU µP 8085.2, system program V6.3 .. 1 >

Cycle time 70µs per program line (average of logic instructions)


Instruction set Software level lH
32 basic instructions + 20 additional instructions
for transfer functions, arithmetics (+, -, x, 7) and
check sum
Parallel programs and Up to 16 parallel programs, any number of subroutines
subroutines nested down through 3 levels
Index register 1 per parallel program (max. 16)
User memory lK, 2K or 4K program lines on EPROM,
RAM or buffered RAM chip
Inputs and outputs 32, 64 or 128 input/output addresses corresponding to
the housing size
Up to 56, 112 or 224 inputs/outputs corresponding to
the housing size, with compact module PCAl.890 or 880
Flag memory 712 flags, 235 of which are non-volatile
477 are volatile or non-volatile 2 >

Timer and counter or 32 timer or counter registers +


arithmetic registers 32 counter registers, volatile 2 >
Counting or 65 535 (2 16 -l) per counter register, extendible as
1

computing capacity desired by means of cascading


Time range 0.1 ... 6553s (0.01 ... 655s) 2
>

-
1
> When switching on the PLC, the CPU system version is displayed on the
programming unit .. Pl0 or .. P05 for one second.
2 > Please refer to PCA15, page 8A for modification possibilities

SAIA"PLC Programmable controllers


4A

A 2.1 Versions of system series PCA15


3 versions are available, corresponding to the required number of input and
output addresses.
Type of system PCA151 Type of system PCA156
32 I+O addresses 64 I+O addresses
56 I+O with compact module PCA1.B90 112 I+O with compact module PCA1.B90

:~o::
23
• 40
Window showing I/O status ------H--IJ--_;~
16 47
Directly connectable, screw-
less terminal blocks for I+O-----U-.

Window showing display module


ro:: •
Operating panel beneath
removable cover
lD:~
0 0

Basic module PCA1.M51 Basic module PCA1.M56

PCA1.M51 and PCA1.M56 Basic modules


In addition to the processor (CPU), the basic modules of the system series
PCA15 also include the internal power supply and the housing.

Presentation (PCA1.M56)

Securing screw for


I/O module
-r~-- I/O module
.--.-___ Intermediate shielding

lower connecting board

~'*---+f---1--lf----tS!f-- 8 I /0 module 1oca t ions


with connecting terminals Connector

Operating panel Print with CPU and


power supply

SAIA'PLC Programmable controllers


5A

A 2.2 Block circuit diagram PCA15

4 24VDC
i
-- -
-r - Power
Opera- Bit Watchdog supply
µp ting and User +
8085.2 system register memory voltage
memory . ,,. monitoring
. ~ •' ... . ... ·' i.

. ... . ... ...... 7 . ,.. ..


l
. ;.. . ... y

. ... . 7

INTER- INTER-
FACE FACE
PGU
I/O connector
...-· "::. .'~~

I
. 7 . ,..
~ ~
P.l!J5
"" "" P.l!Jl
PlB
........... . >' . >'
Dll
Dl3
A/D IBM-PC
.. E.. ..A •• D/A
Input Output .. H .
.. F

1tt +++ it +

SAIA"PLC Programmable controllers


6A

A 2.3 Basic modules


A 2.3.1 Operating panel of the basic modules PCA1.M51/M56/M57
All operating elements for the PCA15 are clearly arranged on the operating
panel which can be covered.
(8) Jumper for (9) Jumper for
WO/ext. reset NVOL/ 1 /1 o
Fuse (2) Buffer (5) PGU-connector for (10) Jumpers for type
1. 6A slow blow battery prograrrming units of memory

.......: !--u-
+ ..
OOO
0;:,z z
~ ~;l ;l
......
.: .. . ®
~
WRITE
''''"'"""
iJJ.UJillWIWJUWUl 0
--.~PIN

j++1.11.11s e 1j
,----
'-- _ _ _ _.a
(7) Connector for
~
(4) Connector for extension write lead
(1) Power supply WD .. C45 (only PCA157)
(6) Plug-in socket for
24VOC
(3) LED-displays user memory

(!)The terminal board is plugged onto the circuit board. Wires with cross-
sections up to 1.5 mm 2 are accepted by the screw terminals.
~The buffered battery supplies the non-volatile flags, counters/timers and,
if used, the 6116 or 6264 RAM chip user memory. Data are retained approx. 2
months with the PLC switched off. The pluggable NiCd cell lasts approx. 5
years (order no. for spare batteries: no. 4'507'1360'0).
0 The LED "CPU RUN" (yellow) blinks every 2s during normal operation. When the
time base is set to 0.01s, the blinking rate is 0.2s. If the LED stays on or
off, there is either no power available, the PLC is in RESET mode, the CPU
has a malfunction or a trap has been produced in the software sequence.
The LED RUN" (green) is illuminated when the CPU is in the operating mode
11

RUN and the user program is executed normally.


The watchdog monitoring indicator (green) is illuminated when the watchdog
relay is excited.
~The 25-pole connector for the extension cable (only on the PCA157) allows
connection to housing •. C45 which means that the number of I+O addresses is
increased from 64 to 128 I+O or 112 to 224 I+O respectively.
~The 25-pole PGU connector is used to connect the programming unit .. P05
or any other programming unit by using the programming interface PCA0.P01.
Also the display modules PCAl.Dll and .. D13 can be connected here.

SAIA~PLC Programmable controllers


7A

~The 28-pole plug-in socket accomodates the user memory. When inserting,
please make sure that the index groove is at the top. If memory chips
with a 24-pole socket are used (e.g. 6116, 2716, 2732A), please insert
in such a way that they are flush with the lower edge of the socket.
The following memory chips can be used:
- unbuffered RAM chips, on plug-in socket .
No. 4 1 502 1 4512 1 0 (type 6116) for lK program lines (24-pole)
No. 4 1 502 1 4718 1 0 (type 6264 or 8464) for 4K program lines (28-pole)
Comment: The RAM 6116 and 6264 or 8464 allow writing. erasing and modi-
fication of a program. On voltage failure, the memory contents are stored
via the buffered battery for approx. 2 months. The program, however, is
not transportable, because the data stored is lost, if the RAM chip is
removed.
- buffered RAM chips, on plug-in socket
PCA1.R92 for 2K program lines (24-pole, with write lead) 1 >
PCA1.R95 for 4K program lines (28-pole) ~ see page 818
PCA1.R96 for 4K program lines (28-pole)
In contrast to the unbuffered RAM chip, the program in this memory is
transportable, since it is protected by an integrated circuit and a
lithium battery which lasts approx. 8 years ( .. R96 approx. 6 years).
These chips are therefore particularly suitable for starting the con-
troller.
- EPROM chips, on plug-in socket
No. 4 1 502 1 4373 1 0 (type 2716) for lK program lines (24-pole)
No. 4 1 502 1 4644 1 0 (type 2732A) for 2K program lines (24-pole)
No. 4 1 502 1 4719 1 0 (type 2764) for 4K program lines (28-pole)
According to the prior art, reliable operation of user programs over
a period of several years is only ensured, if EPROM memories are used.
The manufacturers chosen by us guarantee program safety for at least
10 years.
It is recommended to protect the window of the EPROM by means of a
sticker to prevent the memory from being accidently subjected to
UV-radiation.
~Connector for the write lead for the types PCA1.R91/R92/R94 ( .. R91 and .. R94
are no more available).

1
> Attention: Neither the write lead nor the connector WR must be touched or
get into contact with the frame, since otherwise changes in
contents may occur.

SAIA"'PLC Programmable controllers


BA

Function of the preselection jumpers

~Watchdog/external reset (factory setting: jumper in position watchdog)


According to the block circuit diagram in chapter "Power supply", terminal
7 of the terminal board can be preselected either for the break contact of
the WO-relay or as a fast reset input (see chapter "Fast external RESET
circuit 11 ) .
(2) NVOL (factory setting: not inserted)
If the jumper is inserted, all flags, timer and counter registers are non-
volatile (retentive).
1/10 (factory setting: jumper inserted)
If the jumper is inserted, the time-base is 1/10s. If the jumper is not
inserted, the time-base is to 1/100s.
~ Preselection for the user memory
Corresponding to the type of memory and storage capacity the jumpers must
be inserted differently (see the following table).
Attention: Do not use any other combinations, as these can cause damage to
the CPU.

R95
3) 6116
RAM
6264
8464 R91 11
buffered RAM

R92 R94 i>


R95
R96 2716
EPROM

2732A 2764
-
EPROM
~
RAM 0 ~ ~ ~ ~ ~ ~ ~ ~ ~
2764
8464
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
R95

3)

6116 0 0 0--0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
2716 0 0 0 0 0 0 0--0 0 0 0 0 0 0 0--0 0 0 0 0
8464 0--0 0 0 0--0 0 0 0--0 0--0 0--0 0 0 0--0 0--0
2732/64

i) memory chips which are no more available


z) position write disable
11 11

3 ) factory setting for .. R95/ .. R96

SAIA'PLC Programmable controllers


9A

2.4 Register organization

Register
1 bit 16 bits
Element
address

999

F Flags
(NV)
765
a bits
764

PP 15
•IR
F Flags
(VOL*) Index registers

pp .0 M

320

319
F/C Flags
(VOL*) Counters c Counters
288 (VOL*)

287

CIT Counters
(VOL*) Timers
T
256 Timers (VOL*)

255
1/0 Inputs
M Outputs

000

(V) volatile
(NV) non-volatile
(VOL*) volatile, can be made non-volatile with jumper NVOL

SAIA'PLC Programmable controllers


lOA

A 2.5 Brief instruction for operating a PCA15


a) Installation of I/O modules In order to try out the programming
31 32 examples, it is recommended that
s [10 .. A21
!t- addresses 0 ... 31 of a PCA156 should
be equipped with .. E10 I-modules,
while 0-modules should use the
.EHi .A10 addresses 32 ... 63 .

.. El~ .. AHi
~Undo fastening screw to remove the
cover and lift.
.. ElG .. Al0 (Dcenter I/O modules above the two M2-
63 pins and carefully press them into
~
0 CJ 0
!I- the blade connectors.
Knurled ~Tighten M2-knurled nuts and cheese
nut m head screws with tooth washers on
-O . ---M2-pins
the terminal side.

LED_ .o
0
~Provide the LEDs with the correspon-
0 ding address labels.
0
0
0
o.

b) Power supply G) Take a transformer (for "playing"


30VA are sufficient) with a secondary
0 voltage of 24VAC and connect the
terminals + and M of the PLC via the
bridge rectifier.
~A switch has the advantage that all
resettable elements and the STEP-
counter can easily be reset to their
defined starting positions by switch-
ing off the PLC.
c) Connecting the user memory .. R96 and the programming unit .. P05
,.--------------------f©All jumpers must be positioned as
evident from the figure (factory
setting), so that the PCA1.R96
buffered RAM chip can be used.
~
OOO
Q~~
~ UCIC U
1 1 I I I I I 1 1 1 I 11

· iliJ&LUIWIWJUilllll..
r------,
'------J
rn @
~ ~Insert
Wl'llTE
PIN
the buffered RAM chip .. R96 as
shown with the index groove at the
top.
~Connect the .. P05 programming unit at
the 25-pole PGU-connector.
PCA2.Pl!5

SAIA®PLC Programmable controllers


llA

d) Example program 11 Blinker 11


@Switch on the power supply of the PLC. The yellow "CPU RUN" of the 3
LEDs on the operating panel blinks, ls on, ls off, while the green LED
does not light up.
~Actuate the mode selecting key [[) (PROG) at the programming unit for
approx. 1/2s, until the LED 11
PROG 11
lights up.
@Type in the following "Blinker" program:
STEP CODE OPERAND Programm in mnemocode
A,E ~0)1> 100) (0000)
E (0001)
E (0002)
E (0003)
02
14
00
256
256
5
[--snSTR
256
256
0.5s
E (0004) 13 32 coo 32
E (0005) 20 1 -- JMP 1
E (0006) (00) (0000)
1 > The values in brackets need not be keyed in, but will be displayed.

~Actuate the mode selecting key []] (RUN) for approx. l/2s.
--> Red LED "RUN 11 on .. P05 is i 11 umi nated
-->Green LED 11 RUN 11 on PCA15 is illuminated
--> Program will be run, i.e. output 32 will blink 0.5s on and 0.5s off
(frequency lHz).
~If the time base is to be changed to 1/100s proceed as follows: switch
off the PLC, remove jumper from 1/10 and insert at 1/100.
Switch the PLC on again. Push the mode selecting key ~ (RUN) for
approx. l/2s.
-->Output 32 blinks ten times faster, i.e. at 10Hz. The selection of
the time base 1/100s is also evident from the higher blinking fre-
quency of the ye 11 ow LED "CPU RUN 11 •
e) Example program "Blinker" with watchdog activated
If it is desired that the watchdog function be activated for the preceding
example program, the instruction COO 255 must be added to this circulating
program. To ensure that this instruction is executed in every cycle inde-
pendently of the blinker program, SEA must precede it. This alteration is
programmed as follows:
~Actuate the mode selecting key [iJ (PROG) for approx. 1/2s.
@Type in:
Mnemocode
A 5 (20) (1)
E
E
E
E
(0005)
(0006)
(0007)
(0008)
19
13
20
(00)
0
255
(0000)
1 L SEA
coo
JMP
255
0
1

SAIA"PLC Programmable controllers


12A

~Actuate the mode selecting key []] (RUN) for approx. l/2s.
-->The program will be run and the green WD lamp will light because the
watchdog circuit receives a frequency of approx. 1000Hz. If an opera-
ting mode is selected other than RUN the WD relay will release and
11 11

the green WO lamp will go out. In order to provide effective protec-


tion for the controller, terminals 5 and 6 should be wired as de-
scribed in chapter A 5.4 The watchdog monitoring circuit
11 11

f) Connection of the input simulation unit


A complete programming work station is obtained by using the PCA2.S10 input
simulation unit with a PCA1.K80 connecting cable; many program examples can
be tested with it.

31 32 Detail @
.Sl.0'
E10 A
blue

E10 A

5
0 0 0 0 0 0 0 0 E10 A
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 E10 A .. EHL
0 0 0 0 0 0 0 0 .. KB.0'
0 63
PCA2.S10
or PCA2.S05 D [j\ o_

m
Ill II 1111 .. P.65

24V
DC Connection of I-modules
AC

If a program starts, for example, at address 110, proceed as follows:


@Actuate the mode selecting key [I] (STEP) for approx. 1/2s and type in
0 u0 G
~Actuate the mode selecting key []] (RUN) for approx. 1/2s
--> Program starts to run from address 110.
Proceed similarly for all other examples.

SAIA"PLC Programmable controllers


13A

A 3 Technical data of system series PCA14


CPU µP B0B5.2, system program V6.0 .. i>
Cycle time 70µs (per program line, average)
Instruction set 32 basic instructions, 20 additional in-
structions for arithmetics, text output,
communication and parameter functions
Parameter functions - PIO-loops
- Shift registers
- Check sum
- Interrupt management
Number of parallel programs 16 (PP 15 for interrupt control)
Number of index registers 16 (1 per parallel program)
Number of subroutines as desired, 3 levels per parallel program
User memory lK, 2K, 4K or BK program lines on EPROM,
RAM or buffered RAM memory
Text or data memory 2K, 4K or BK character or data bytes on
EPROM, RAM or buffered RAM memory, memory
extension up to 40K characters with
modules PCA1.R20/R25
Number of input and output addresses
(depending on .the housing size) 32, 64, 12B
Max. no. of inputs + outputs (890) 56, 112, 224
Flags 712 (477 volatile 2 > 235 non-volatile)

No. of timers 32 (ADD 256 .•• 287)


No. of counters or arithmetic reg. 224 (ADD 256 ... 479) as of V6.034
Counting capacity 65 535 (2 16 -1)
or arithmetic registers with cascading as desired
Time range 0.1 (0,01)s ... 6553 (655)s
Date-time (software) 3 > Week, day of the week, year, month, day,
hour, minute, second
Accuracy of date-time 3 > <3s/day
Serial data interface 20mA current loop, active or passive
depending on cabling, for input/output of
text or communication acc. to DIN 66019
Baud rate 110 ... 9600 bauds 4 >
1) When switching on the PLC, the system version is displayed on the prograrrming unit P10 or P05 for
one second. For this reason, the operating mode selector switch has to be in operating mode RUN.
2) Please refer to the text for modification possibilities.
3) Hardware date-time see chapter PCA1.E40.
4) Owing to the high baud rates an appropriate program structure is required.

SAIA"PLC Programmable controllers


14A

-
A 3.1 Versions of system series PCA14
3 versions are available, corresponding to the required number of input and
output addresses (PCA1.M47 and extension housing .. C45, see chapter A 4).
Type of system PCA141 Type of system PCA147
for 32 I+O addresses for 64 I+O addresses
~ 56 I+O with module B90 ~ 112 I+O with module B90

:~o:~
23
• 40
Window showing I/O status -------H--11----...:-L
16 47
Directly connectable, screw-
less terminal blocks for I+O----JL

Window showing display module


10:: •
Operating panel beneath
removable cover
ro:~
0

Basic module PCA1.M41 Basic module PCA1.M47

Types PCA1.M41 and M47 basic modules


In addition to the processor (CPU), the basic module of the system series PCA14
also includes the internal power supply and the housing.

Presentation (type of system PCA1.M47)

Securing screw for


I/O module
--r- 0~- I/O module
----upper connecting board r-r.--- Intermediate shielding
§=ll----++-f-l---~=;3

Lower connecting board

i:;=::t---.++--H--~~r--s I/O module locations


with connecting terminals Connector

Print with CPU and


Operating panel power supply

SAIA.PLC Programmable controllers


15A

A 3.2 Block circuit diagram PCA14

24VDC
i
--
-
-r Power
J.lP Opera- Bit User Text Watchdog supply
8085.2 ting and memory memory +
system register data voltage
memory memory . ... monitoring
. ~ / ';>. ·'~ . ~ . ;.

.
\
.
. ,. 7 .. ,.. . .,.
Operating INTER- INTER-
mode FACE FACE USART
selection PGU
I/O connector
. ;::.. . ';:-.

... ,,. .. .... >"

/~ ./ ./~
P0'5
P.0'1
Pl8
.
L
~ ....... 7

.. A..
. >"

A/D
D/A
IBM-PC

Dll
013
!t
Tx Rx

Input Output

1tt +++ i1+


PCA141/46/47

SAIA"PLC Programmable controllers


16A

A 3.3 Basic modules


A 3.3.1 Operating panel of the basic modules PCA1.M41/M47
All operating elements for the PCA14 are clearly arranged on the operating
panel which can be covered.
Fuse Jumper for Jumper for Jumper for Connector for© Jumper for type
l,6A SB watchdog timer, counter selection"/progra11111ing unit of memory
or reset and flags of time base Operating mode ~

\ \ @ JSl sele~ switch ( _

CPU o©
ERROR 00
WO 0©

~ The serial data interface is connected on the circuit board. Depending on


wiring, it can be defined whether the PCA14 is active or passive at the
20mA-current loop.
~The buffer battery supplies the retentive flags, counters/timers and, if
used, the 6116 or 6264 RAM chip user memory. The data is protected for
approx. 2 months when the PLC is switched off. The NiCd cells last approx.
5 years. Spare battery no. 4 507 1195 0. A new version with a plug-in
1 1 1

battery is available as of 1989 (no. 4 507 1360 0). 1 1 1

(£)The CPU monitorin lam ellow blinks every 2s during normal operation.
When the time-base is set to . ls, the blinking rate is 0.2s. If the light
stays on or off, there is either no power available, the PLC is in RESET
mode, the CPU has a malfunction or a trap has been produced in the software
sequence.
~ The ERROR lamp (red) indicates errors at the serial data interface. For
details refer to chapter "The serial data interface" (see manual software
level 2).
~The watchdog monitoring lamp (red) is illuminated when the watchdog relay
is excited. Please refer to chapter "The watchdog monitoring circuit" for
details.
(i:J The 25- ole connector of the extension cable (only on the PCA147) allows an
increase in I 0 from 64 or 112 to 128 or 224 inputs/outputs owing to the
connecting cable attached to the extension housing .. C45.

SAIA"PLC Programmable controllers


17A

-
~ The 25-pole connector (PGU) is used to connect the programming unit. A
latch is not provided, because the mode selected on the operating mode
selector switch remains operative (unlike the PCA2) when the programming
unit is removed.
~ The operating mode selector switch is used for starting up, trouble-
shooting and editing of texts. Position "LCM" (transfer from e.g. RAM to
EPROM) is not available, because this function is not possible with the
PCAl; the PCA2.P16 copying unit is required.
(10)
~ The two 28-pole sockets accomodate the user or text memory "PROG" or "TEXP
respectively (see chapter "Organization of program and text memory''). When
inserting them, make sure that the groove points to the top. If 25-pole
sockets are used (e.g. 6116, 2716, 2732A), please insert in such a way
that they are flush with the lower edge of the socket. The following
- memory types can be used.
. RAM chip on socket
4 502 4512 0 (type 6116) for lK program lines (24-pole)
4 502 4718 0 (type 6264 or 8464) for 4K program lines (28-pole)
Comment: The 6116 and 6264 or 8464 RAMs allow writing, erasing and modifi-
cation of a program. On power failure, the memory contents are stored by
the buffer battery for approx. 2 months. The program, however, is not
transportable, because the data stored is lost, if the RAM chip is removed .
. Buffered RAM memory
Type PCA1.R92 for
Type PCA1.R95 for
module
2K program lines (24-pole)
4K program lines (28-pole)
i)} see chapter B 2
Type PCA1.R96 for 4K program lines (28-pole)
User programs can be introduced on the left socket (PROG) as well as on the
right socket (TEXT). Text can only be introduced on the right socket. For

- programming or introduction of texts please insert the write lead for the
left socket on the left and that for the right socket on the right. In
order to avoid program mutations interrupt both connections during conti-
nuous operation in the RUN mode.
Contrary to the 6116 or 6264 RAM chip, the program in this memory is
transportable, since it is protected by an integrated circuit and a
lithium battery which lasts approx. 8 years. This module is therefore
particularly suitable for starting up the controller.
For copying of programs please refer to chapter "PCA2.Pl6 EPROM-copying
unit".

- 1) Attention: Neither the wire lead nor the connector WR must be touched or get
into contact with the ground, since otherwise changes in contents
may occur.

SAIA"PLC Programmable controllers


18A

. EPROM chips on socket


No. 4 502 4373 0 (type 2716) for lK program lines (24-pole)
No. 4 502 4644 0 (type 2732A) for 2K program lines (24-pole)
No. 4 502 4719 0 (type 2764) for 4K program lines (28-pole)
According to prior art, reliable operation of user programs over a period
of several years is only ensured, if EPROM memories are used. The manufac-
turers chosen by us guarantee program safety for at least 10 years.
It is recommended to protect the window of the EPROM by means of a sticker
in order to prevent the memory from being accidently subjected to UV-
radiation.
An extension of the text and data memory up to 40K bytes is possible by
using the modules PCA2.R20 and R25.

SAIA~PLC Programmable controllers


19A

~ The selector jumpers allow various selections:


._The selection of the time base for the timers
""-
1/10s: jumper inserted (factory
setting)
l/100s: jumper not inserted
NV 1/10
. The selection of the retentive flaas ~
If the jumper is inserted, all flags, timers and counter registers are
retentive. If the jumper is not inserted (factory setting), only the
flags 765 .•. 999 are retentive •
• The selection of the user or text memory ~
When using the various RAM or EPROM for user program or text, the jumpers
have to be inserted as is shown in the following table.
. Buffered RAM
RAM or EPROM
... 6264/ R91 R92 R95/96
P6 l l 6 0 0 ,,, 6116 8464 2716 2732A 2764
P27 ..
P6116
P2716
P2732
0
0
0
0
0
0
0
} PROG-
memory
>-··
6116
27 ..
6116
~

0--0 0
c
0
o~
0 0 0
~ ~
0 0 0 0

2716 0 0 0 0 0--0 0 0 0 0
T6116 0 0
T27 .. 0 2732 0 0 c 0 0 0 c 0 c 0
T6116 0 0 TEXT-
T2716 0 0 memory
~ T2732 0 0 J 0
0
0
0
Jumper inserted
Jumper not inserted

Attention: Do not use any other plug combinations, as these can cause
damage to the CPU!

Example: When using an EPROM 2732 for the user program (P) and a RAM
6116 for the text (T), insert the jumpers as follows:
P6116 ~
P27 ..
P6116 o o Note:
P2716 o o The preselection jumpers of the
P2732 o o PCA14 for RAM R91 or EPROM 2716
respectively are inserted
(factory setting).
T6116 0

8
T27 ..
T6116 0 0
T2716 0
T2732 0

SAIA"PLC Programmable controllers


20A

A 3.4 Organization of program and text memory


All RAM, EPROM or buffered RAM-memory modules mentioned in paragraph "28-pole
socket for user memory" can be used both for user programs and texts.
User programs can have a length of up to BK program lines (at 16 bits). With
user programs having a length of more than 4K, the first 4K are stored in the
PROG memory on the left (1K ... 4K) and up to 4K more can be stored in the TEXT
memory on the right (5K ... BK).
If, e.g., only 2K-memories are available and a user program of> 2K has to be
prepared, the 1. and the 2.K can be stored on the left socket PROG (addresses
0 ... 2047) and the 3. and the 4.K on the right socket (addresses 4096 ... 6143).
Texts having a length of up to BK characters (at B bits) can only be stored in
the TEXT memory on the right.

user-+-- or---..text
user
program program

Step Step Text Character


addresses addresses numbers numbers
I I I
I I I I
0 4096 0 fJ

1. K 5. K (5. K)
Socket Socket
PROG 1023 5119 TEXT 204 2047
1024 5120 205 2048

2. K 6. K (6. K)

2047 6143 409 4095


2048 6144 410 4096

3. K 7. K ( 7. K)

3071 7167 614 6142

3072 7168 615 6143

4. K 8. K (8. K)

4095 8191 818 8191

SAIA'PLC Programmable controllers


21A

A 3.5 Register organization


Register
1 bit 16 bits 64 bits
Element
address

999

F Flags
(NV)
765

764

F Flags
(VOL*) DBLK31 Data (PIO)
480 DBLK 30 blocks
(A)
(NV)

479 DBLK 29

F/C Flags 2 ) c Counters 1)


Data
blocks
(PID)
(VOL*) Counters (NV) (A)
DBLK 0
(NV)
320

319
8 bits


F/C Flags
i

II (VOL*) Counters c Counters


288 (VOL*) pp 15
IA
287 Index register
CIT Counters
pp 0 M
(VOL*) Timers
s
256 mln
h
Day of the month
255 Month
Year
1/0 Inputs Day of the week
M Outputs Week of the year

Software date-time
8x8bits
non-volatile
(without power reserve)
(V) volatile
(NV) non-volatile
(VOL*) volatile, can be made non-volatile with jumper NVOL
(A) jumper A open: all 32 DBLK are non-volatile

1) Counter registers C320 ... C479 and PIO-data blocks 0 ... 29 use the same
memory area. It is therefore recommended to start with DBLK 31 for PID-
control tasks.
2) The counter registers C320 ... C479 are available from system program version
V6.034 onwards.

SAIA"PLC Programmable controllers


22A

Notes:

SAIA"PLC Programmable controllers


23A

A 3.6 Instructions for operating a PCA14 in brief


a) Installation of I/O modules
In order to test the programming examples,
om Al3
the I/0-equipment must be selected as evi-
A
B10 W12
dent from the accompanying figure. For a
Ell
E10
E9
short test it suffices to install the I/0-
ES module 890 using the address range 0 ... 7.
E7

~Undo fastening screw of the cover and


E6
ES
E4
AS
A4 30 8 626
B90 F12
E3
E2
A3
A2 29 8 625 1ift.
El Al
E0 A0 28 8 624
~Center I/0-modules above the two M2-pins
PCA141 and carefully press them into the blade
connectors.
Knurled
nut (Drighten knurled nuts M2 and ZK-screws
O •r--- M2-pi ns
with tooth washers on the terminal side.
~Provide the LEDs with the corresponding
0
LED - .0
0 address labels.
0
0
0
0.

b) Power supply
@rake a transformer (for playing 30VA
11 11

is enough) with a secondary voltage of


0
24VAC and connect the terminals + and
M of the PLC via a bridge rectifier.
~A switch has the advantage that all
resettable elements and the STEP-counter
can easily be reset to their defined
starting positions by switching off the
PLC.

c) Connection of the user memory or text memory R95 or R96 and the
programming unit P05
Jumper for
t11ner, counter,
Jumper for
time base
Connector for
progralJllling unlt
Operating mode
selector switch
Jumpers for
memory type
(DFor employment of the buffered RAM memory
module R95/96 the preselection jumpers on

.
flag

the outer right must be inserted corres-


.. . }~
-
pondingly (see fig.). For the following
simple example (without text output) it

Bo 0
PROG
: :
~
-,;-

--~

0
TEXT
,- .

~ ;
}~
is sufficient to use the program memory
and to insert the jumpers in position
PROG accordingly.
11 11

~The buffered RAM-module R95/96 must be


14/t 111 111/I inserted in the marked position - notch
at the top.
(2")The programming unit P05 is connected to
the 25-pole connector.
P.65

SAIA"PLC Programmable controllers


24A

d) Programming example 11 Blinker 11


@Set operating mode selector switch to 11 PROG 11 •
~Switch on power supply of the PLC. The CPU lamp (yellow) flashes ls on,
ls off. The watchdog lamp (red) is not illuminated.
~Enter the following blinker program:
STEP CODE OPERAND Program in mnemocode
A,E (0000)* (00) (0000)
E (0001) 01 1 STH El
E (0002) 04 256 ANL T 256
E (0003) 14 256 STR T 256
E (0004) 00 5 0.5 s
E (0005) 13 400 coo M400
E (0006) 01 400 STH M400
E (0007) 10 5 OUT AS
E (0008) 20 1 JMP 1
E (0009) (00) (0000)
*) The values in brackets do not have to be entered, but they are displayed

@Set.the operating mode selector switch to 11 RUN 11 • Switch PLC off and on
again.
~The program is executed. In order that output A5 flashes, a
voltage of +24V must be applied to input El. The easiest way to
do this is to lead a wire from the power supply terminal + to
input terminal El. As long as this connection exists, AS flashes
at a frequency of !Hz (if present, the jumper on the B90-module
must be 11 - 11 (minus)).
~If the time base is to be changed to l/100s, proceed as follows:
Switch off PLC, remove jumper 11 1/10 11 • Switch on PLC again.
~output A5 flashes 10 times faster, i.e. at 10Hz. The selection
of the time base of l/100s is also recognizable by the higher
flashing frequency of the CPU-lamp (yellow).
e) Blinker example with watchdog activated
If in the preceding example the watchdog is to be activated, the instruction
COO 255 must be added to this circulating program. In order that this in-
struction be executed during each cycle independently of the indicator pro-
gram, it must be preceded by SEA.
This is programmed as follows:
@Set operating mode selector switch to 11
PROG 11 •
@ Enter:
Mnemocode
8 (20) (1)
A
E
E
(0008)
(0009)
19
13
0
255
LSEA coo
0
255
E (0010) 20 1 JMP 1
E (0011) (00) (0000)

SAIA'PLC Programmable controllers


25A

@ Set operating mode selector to 11 RUN 11 again.


~The program is executed, the red WD-lamp is illuminated, as the
WO-circuit receives a frequency of approx. 700Hz. If the operating mode
selector switch is set to any other position than 11 RUN 11 , the WO-relay is
released, the red WD-lamp goes out. In order to provide effective WD-
protection for the controller, the connectors 5 and 6 and the power
supply line must be wired accordingly.
f) Connection of the input simulation unit PCA2.S10
~ The input simulation unit, further modules, a variable DC-voltage of
0 ... 5V as well as a voltmeter 0 ... 10VDC (10kn) and a video terminal
with a 20mA-data input (or with an adapter 20mA/(RS232c) form a com-
plete program developing and simulation unit for the following pro-
gramming examples.

B10 W12
v
I I I 31 f/S-10V
I I I I I I I I
30
I I I I I I I B90 F12
I I I I I I I 29 B E32s
PCA2. Slll' 28 B 824
or PCA2.SlJ5

~!JQ 0

P05

The above configuration corresponds to the simulation case V-PCX8.

SAIA"'PLC Programmable controllers


26A

g) Installation of the 20mA-serial data interface with a video terminal


for text input and output
gl) Establishing the cable connection PCA14 <--->video terminal
Transmitter Current It must be provided that the video terminal
Receiver source is fitted with a 20mA-current loop interface
\\ II 20 mA for full-duplex operation (or a suitable
+ ++ adapter 20mA/RS 232c).
PCA14 8 9 10 11 12 13 14
19. The cable connection (max. length of
(active) ©©©©©©© 100m) can be established according to
the accompanying figure. The terminal
must be "passive", i.e. the 20mA are
supplied by the PCA14.
(

Rx+ Rx- Tx- Tx+

Video
termi na 1 II II
(passive) Receiver Transmitter

g2) Installation of the text memory module


20. The RAM-memory module R95/96 is inserted to the right of the user
memory for the st~ge of texts. The jumpers are preselected according
to chapter point ~ of this chapter.
g3) Selection of the communication parameters
They are defined according to chapter "Activation of the interface via the
software ••. 11 •
21. Assumed values for setting the video terminal:
Most of the following values can be preselected via the OIL-switches.
If a switch or a key for "Full Duplex" is available, it should be
locked in position (for details refer to the manual of the video
terminal).
Communication parameters for PAS 100 (assumed)
. Baud rate 4800 6
. Data bits 7 0
. Parity yes 128
. Even yes 256
. Stop-bit 1 512
Total 902
This value must be added in line 2 of the 10-line assignment instruc-
tion PAS 100.

SAIA.PLC Programmable controllers


27A

- g4) Activation of the PCA14 data interface


as editor and for checking the text output
22. The PAS 100-instruction for activating the editor and test output of
the text just edited is given at the end of the user memory e.g. at
address 4001.
4001 PAS 29 100
4002 00 902 Transmission parameters (4800 bauds etc.)
4003 01 12 01 for text editor, A12 for Text Busy
4004 00 254 ~ The higher address of 2 elements
4005 00 254 permanently remain L e.g. 11 11
,

4006 00 0 elements 254 and 253

.
4010
.
00 0
. } NUL

[4011
4012
4013
PAS
JMP
29
00
20
23
30
0
} Text output from text no. 30 on

4014 00 4011 (01 1963)

g5) Enter a text into the text memory


23. Set operating mode selector switch to STEP 11 11

24. By pressing ~ 4001 [!] on the P05 input unit jump to the beginning
of the assignment.
25. By pressing ~ execute assignment up to 4011.
26. Type in 030 CR on the VDU terminal.
11 11

- The displayed text is random in case of


an uncleared text memory. A point pre-
ceding a character means that this char-
acter is part of the visible section of
the ASCII-table (32 .•. 127). Control in-
030:.A.B . . . • A@A@A@A@ structions from the "control case" are
030: preceded by an arrow or a A.

SAIA"'PLC Programmable controllers


28A

Display on the screen

CTRL/T-----------27. To activate the text input mode, press


keys I CTRL I and [[] (CTRL/T) simultane-
ously.
~-------- 28. Then enter 5 spaces using the special
!
,----·--'--~ character [JJ, the followed by the
030:. $. . o. o. 5. s. A. r. A. -- SAIA 0 PLC logo.
030:
031: .P.L.C"M'J.C.R.O.W.N -29. Note that as soon as 10 characters have
031: been entered, the screen automatically
032: .E.D . . W. I .T.H . . P.C proceeds to the following text number.
032:

033:
A

T-- _::._ - - - -
0 3 3 : . A . 1 . 4 M J " (d (cl - (Cl " (0 ·' (cl
A A
30. To enter CR without changing the text
11 11

mode, ~ must be pressed first.


The CPU answers with "'M (CTRL/M = 11 CR 11 ) .
'---+------ 31. To enter LF = Line Feed, I CTRL/J I
11 11

is pressed which corresponds to LP 11 11

"'J appears.
~----- 32. NUL is entered to end text input. This
is possible via I CTRL/@ I (may differ
from one peripheral unit to another).
33. To exit from the editor mode enter i "CR I.11

g6) Output of this text


34. With ~~ on the P05 unit the program loop 4011 to 4014 is
executed once, as a result of which the text is output.

SAIA 0 PLC
CROWNED WITH PCA14

After this sample text has been input/output successfully, the


programming examples in the Software manual can be entered and
11 11

tested.

SAIA"PLC Programmable controllers


27A

g4) Activation of the PCA14 data interface


as editor and for checking the text output
22. The PAS 100-instruction for activating the editor and test output of
the text just edited is given at the end of the user memory e.g. at
address 4001.
4001 PAS 29 100
4002 00 902 Transmission parameters (4800 bauds etc.)
4003 01 12 01 for text editor, A12 for Text Busy
4004 00 254 ~ The higher address of 2 elements
4005 00 254 permanently remain "L", e.g.
4006 00 0 elements 254 and 253

-
.
4010
.
00 0
. } NUL

[40114012
4013
PAS
JMP
29
00
20
23
30
0
} Text output from text no. 30 on

4014 00 4011 (01 1963)

g5) Enter a text into the text memory


23. Set operating mode selector switch to "STEP".
24. By pressing CK] 4001 [!] on the P05 input unit jump to the beginning
of the assignment.
25. By pressing ~ execute assignment up to 4011.
26. Type in 030 11 CR 11 on the VDU terminal.
The displayed text is random in case of
an uncleared text memory. A point pre-
ceding a character means that this char-
acter is part of the visible section of
the ASCII-table (32 ... 127). Control in-
030:.A.B • • . . A@A@A@A@ structions from the "control case" are
030: preceded by an arrow or a A.

SAIA"PLC Programmable controllers


28A

Display on the screen

CTRL/T-----------27. To activate the text input mode, press


keys I CTRL I and DJ (CTRL/T) s imu 1tane-
ous ly.
. - - - - - - - - - - - 28. Then enter 5 spaces using the special
I character [JJ, the followed by the
030: '. $. . 0. 0. 5. S. A. I . A.-·
0
SAIA PLC logo.
030:
0 31 : . p . L . c ,. MA Ll . c . R . 0 . w. N - 29. Note that as soon as 10 characters have
031: been entered, the screen automatically
032: .E.D . . W. I.T.H . . P.C proceeds to the following text number.
032:
0 3 3 : . A . 1 . 4 MA J (s\ @ @,. @ @ 30. To enter 11 CR 11 without changing the text
033:
A

T----
A A A A

mode, ~ must be pressed first.


The CPU answers with "'M (CTRL/M = 11 CR 11 ) .
'--+--+--------1

'----+------ 31. To enter LF = Line Feed, I CTRL/J I


11 11

is pressed which corresponds to 11 LP 11


"'J appears .
._________ 32. NUL is entered to end text input. This
is possible via I CTRL/@ I (may differ
from one peripheral unit to another).
33. To exit from the editor mode enter I 11CR I.
11

g6) Output of this text


34. With [i]~ on the P05 unit the program loop 4011 to 4014 is
executed once, as a result of which the text is output.

SAIA 0 PLC
CROWNED WITH PCA14

After this sample text has been input/output successfully, the


programming examples in the 11 Software'1 manual can be entered and
tested.

SAIA,PLC Programmable controllers


29A

-
A4 Extension housing .. C45
A 4.1 Basic module PCA1.M57/M47 with extension housing PCA1.C45
In addition to the entire circuitry of the PCA1.M47/M57, the basic module
PCA1.M56 also contains the switching circuits and the connector for connec-
tion to the extension housing.
The extension housing PCA1.C45 is connected via the connecting cable PCA1.K90.
It also has a power supply unit of its own.

A 4.2 Type of system PCA157/147 with extension housin~ PCA1.C45


128 I+O addresses, 224 I+O with compact module PCA1.B9

Window showing display module

Operating panel beneath


0
removable cover 0

- Basic module PCA1.M57 or PCA1.M47 Extension housing PCA1.C45

The three versions are completely compatible as regards hardware and software
and can be equipped with all the old and new I/O modules of the series PCAl.

SAIA®PLC Programmable controllers


30A

A 4.3 Arrangement of the PCA157/147 with extension housing .. C45


Basic module Extension housing
PCA1.M47/M57 PCA1.C45

Extension cable PCA1.K90

1
> There has to be a good metallic bond between both housings.

The extension cable PCA1.K90 is screened so that the I/O wiring and other lines
can be laid above this cable.

SAIA"PLC Programmable controllers


) )

;: I
,.
~ i- 24VOC
)>

I I .
~

,.~ -
- Power
I Power
-
~

3 µp Opera- Bit User Watchdog supply supply Watchdog OJ


---'
OQ 8085.2 ting and memory + I + 0
n
a""
I)
system register voltage
I
voltage "n
a memory
. monitoring monitoring .....
., .. . . ,,,. :..
:0.
I_ voltage
::.. -s

-
I) ::.. :0. :0. n
c:
It
I monitoring .....
r+
s,...
=i . .... . ~ .. .,. .. >'
I
I . .....
0..
Ill
INTER-
I "
.
) 0

-
3
i
;:
. :0. :.. • v FACE .'4 . :..
I -s
Ill
3

·-..? . .> .. ...


INTER- INTER- INTER-
FACE FACE FACE
PGU
1/0
connector 1/0
.. ::.. .....-~ /".:.,

........ .,. ........ _, ,7


P05
/
.......-~ ..."'~
PfH
/ "'::... L"::.. .,.,, "::..
Pl8

' ... .......__.,. . ,. IBM-PC


011 ... 7 ,7 .. _.,
A/D 013
A/D
•• E•• ..A •. D/A 014
•• E•• ..A •. D/A
Input Output H H
F F
..
~
1 I£ I I I I J. I -.:

w
.......
1111111111 PCA157 /147 Ex tens ion housing PCAl. C45 )>
32A

A 4.5 Operating panel of extension housing .. C45


As with PCA157/147, all operating elements for extension housing .. C45 are
logically arranged on the operating panel which can be covered.
Fuse Jumper for watchdog
l .6A SB or RESET

Relay WO

Fl

WO 0
Extension plug
65 .... 127 ltO

Connection to M47/M57

Supply WO
power
24VDC

The operating elements described here have the same functions as those of the
PCAl (see chapter 11 0perating panel 11 ) .

SAIA"PLC Programmable controllers


33A

A5 Power supply, watchdog, reset, dimensions


A 5.1 Power supply of PCAl
Supply voltage V1n 24VDC, smoothed or pulsating
Voltage tolerance normally ±20% (see following page for details)
Supply current max. IA for basic modules and .. C45
Output voltages to 24VDC, smoothed, for internal output driver
electronics 5VDC, stabilised ±3%, for remaining electronics
Output current 5V 1. lA

-
Ambient temperature Ta 0 ... 50°C (see following page for details)

As indicated on the following page, the PCA15 can be operated with pulsating
(P) or smoothed (G) direct current. It may also be connected to the same power
supply available for the sensors and actuators. Several components protect the
PLC against interference voltages, polarity reversal and low voltages. The 5VDC
for supply of the electronic components is generated by a stabiliser.

Block circuit diagram for PCAl and extension housing .. C45

+SV

- System ground

+24V

RESET
Monitor circuit
for 24V and 5V

WD coo 255
Watchdog
decoder
~
WD

SAIA"PLC Programmable controllers


34A

A 5.2 Various external power supply circuits


In order to provide the PCAl and the extension housing .. C45 with the
reasonably priced power supplies, a stabiliser has been included in the
power section of the PCAl and the extension housing .. C45, in addition to
interference and polarity reversal protection. In case of PCA1.A2 .. output
modules, this smoothed 24VDC is used for the internal excitation of the re-
lays. One differentiates between two types of power supply, P and G 11 11 11 11

P Power supply with pulsating DC from a transformer with a bridge rectifier

Diodes: 80V, 2A
p
50VA min. r·-·-
PCAl
220VAC+l0% The following information is based on
-15% the assumption that the mains supply
N and therefore the secondary voltage
will vary +10/-15%; the AC voltages
"'----~M(-) are based on 220VAC primary.
·1ro--'-------"' L._._
Pl Without relay output modules
Secondary alternating voltage Vnac: 22 ... 24.5VAC (Ta= 0 ... 50°C)
(complete range incl. primary voltage fluctuations of +10/-15%:
18.7 ..• 27VAC).
P2 With max. 4 relay output modules PCA1.A2 ..
Secondary alternating voltage Vnac: 24VAC (Ta= 0 ... 50°C)
(complete range incl. primary voltage fluctuations of +10/-15%:
20 .4 ••. 26. 4VAC)
P optimal For all combinations Vnac: 24VAC

G Power supply with smoothed DC from power supply unit

p
PCAl
oc V·in . It is assumed that the external
power supply will not only
N smoothen but will also stabilise
/ the DC voltage.
//
•lt-e----- - - - _ _,, ,.
L--·-

Gl Without relay output modules


Direct voltage range Vin: 20 •.. 32VDC (Ta= 0... 50°C)
62 With max. 4 rela out ut modules PCA1.A2 ..
Direct voltage range Vin: 24 ... 3 VDC Ta= 0 ... 50°C)
Direct voltage range Vin: 22 ... 32VDC (Ta= 0 ... 35°C)
G optimal For all combinations V1n: 26VDC

SAIA'"PLC Programmable controllers


35A

A 5.3 Voltage monitoring


Both the supply voltage V1n and the 5V of the PCAl and the extension housing
the CPU is set in RESET mode, i.e. all volatile flags as well as all outputs
are reset. When the input voltage is switched on (or switched on again), the
CPU is cleared for operation after 100ms. This delay allows safe resetting of
all outputs and provides a clearly defined starting position for program
execution.

A 5.4 Watchdog monitoring circuit


Both the PCA15/14 and the housing •• C45 incorporate this circuit. The two
watchdog circuits of the PCA157/147 and the extension housing .. C45 are
connected with an extension cable. Via the watchdog circuit, correct user
program execution can be monitored reliably and, if a malfunction occurs,
effective safety measures can be taken.
The watchdog relay remains excited (contact 5 and 6 closed) as long as address
255 receives a square-wave signal of~ 5Hz. This signal is generated easily
with the COO 255 instruction in a circulating monitoring program. Terminals 5
and 6 remain connected (refer to the block circuit diagram for "Power supply")
as long as the CPU functions properly in the RUN mode. If a malfunction occurs
in the CPU or if any operating mode but RUN is selected, contact 5 a.~ opens
and the WO warning lamp is illuminated.
The following safety circuit is recommended (factory setting of watchdog
jumper(s)), where the WO-contact 5 interrupts the power supply of the PLC
(as well as of the extension housing •. C45) in case of drop of a WO-relay.
The CPU provides resetting of the outputs. The breaking capacity of WO-con-
tacts 5, 6 and 7 is 1.5A, 48VAC or DC. The WO-contact is therefore not to
be used for direct switching of the total output current.

Process

.. C45

Extension cable
Voltage 1-----------t
monitoring
WO BUS WO

+Z4Y t>---L--J.----i-+-+-------------t----t~------'

Switching power
WO-alarm
WO-contact: 1.5A/48V AC/Dl

SAIA"'PLC Programmable controllers


36A

A 5.5 Fast external RESET circuit


The watchdog monitoring circuit is in any case recommended as a safety measure.
As an alternative, the external reset can be used for an extremely fast reset-
ting of the microprocessor and all the outputs.
Terminal 7 can be connected to the RESET circuit (instead of being connected
to the WO-contact) by moving the jumper from WO to RESET. After applying the
ground potential (M) at terminal 7, all the outputs are reset within 2ms. They
remain reset for at least 100ms. If a RESET signal is applied over a longer
time, the outputs remain reset fort +25ms. Apart from the outputs, all the
other volatile (non-retentive) registers are reset.

Process

PCA157 C45
PCA147

Extension cable

Voltage
man it or i ng
BUS

+ M Reset + M

+24V 0 -......_ _ _..,_+---.4--------------+-+----+-------~

0V <>-----+--+---+-+---------------'

T
Reset

SAIA"'PLC Programmable controllers


37A

Notes:

SAIA"PLC Programmable controllers


38A

Circuit information: 24V '3V Transmitter -modules


- .an.
(!)The PLC-housing, the supply terminal M, and + + -
the negative pole of the 24VDC supply (except - -~I·
with opto-isolated I/•s) are to be connected ~ ~
El0
to a good, common ground.
-----c-~ ------+-1w ~ H---..-
~~- -
~The entire 24V supply can be a pulsating DC. source operation h :-..
It is only necessary to have a smoothed,
.....,._ _.!....._. r•µ .._
regulated voltage where this is demanded by
the transmitter or the load. Proximity
switches for example, have to some extent, .______.I
I I PNP + 1---+L-+I

J::
~ -
:
I
I

close voltage limits and will in most cases


only tolerate ripple of up to 10%.
~ Watchdog monitoring (COO 255) is active in the
circuit shown. If a mains failure should
-~
L
;J 1111
l

__
occur, all outputs are reset. To start again
when power returns, a start pulse is
necessary. - .. ._i,,
~If in sink operation, the load resistors (L)
are connected to a regulated +24V supply, NPN
~ -- -
;- ~-.....,....._'

-
El0

oper~tiol-n---+.I~ = ,/
proximity switches can also be fitted here.
Sink
~ NAMUR proximity switches are connected to
NAMUR inputs type Ell.* © I I NPN - _ .i.
~With the opto-isolated input circuit type E20 I ~Ji:-//
- independent of the type of connection - the
closing of a contact or the driving of a --- ------+• 1: """"' I
proximity switch, produces an "H" signal.
In this event the supply voltages can be of
-
._-1-_.________ r>-. '°""'. . .'==~:!_
I.
+.:....+tl.J,l...l.J::!:l::::::: _ _j
differing potentials.
~Some positive terminals on the output modules ~
Al0 and A30 should (in spite of the internal
connection) be looped in order that the
6------,----~·fr :~.....,~''-'-~
-
.. .....J,
E11
+24V L
current does not exceed 4A per double ter-
minal. fs\ ...
l ...._1-..-=....I ~ 1.. i-+--1 -
~The opto-isolated 0-modules type A21 and A30
\::.J I
*NAMUR-switch in L-.-._._r.'-'-----' -
...
;- -
I
I

can be supplied from separate circuits. source operation _ I


~ Ifr,relay modules type A21 are used, then with l - I
iron-free inductances in particular, it is I I
recommended that these are provided with a II =I .. [ I
resistor (R~Z) or an RC element. """ I
''-----+'8 -It I

@ Lines which are long or subject to heavy I


I
interference are - when using type A21 relay
modules - to be connected to ground by means 7
of a capacitor at the switch cabinet .--...---------~l-4:- E20
terminals. Recommended values for Y- or B- 6 ~3;;;;;E~I
._..__-r./------<t-•..;..
capacitors are 3.3 to 22 nF, 250VAC.
*) See chapter B 1.1.2 for details
------------------., L_ ~ ~T3~1~:=i:l----
f I PNP + ·~---__. 4- :
______,! © 4. :
, . - . -_ _ _. . . . . . . _ , ! ~ I
I I NPN - I----+ :
p -0 >,
~c.®
--
1---c:t-------------t---+-1---------'' i---H~J~~~~·~~L==d
II• g' ~-
---
N ~::J '5" 2 24VDC Smoothed
VI

Q ....
..------------...-.-_._l____~'=T~
I C:: ~~-

I
I
- + -- I

I 24VAC 24VOC
I
I
I - IG)
I

SAIA"'PLC Programmable controllers


39A

CPU and supply 0-modules Loads 24V .an. 0V


+
Al0

..-4

u
c::(
+
0..
I/I
(])
.,.... A30
S-
(])
I/I

E
(])
+> I
I/I

I/I ®

rll
4-
0
I/I
+>
.,....
u
::s + p N ..;:.
S-
.,....
u
i:: A21
0
.,....
+>
u
(])
i::
i::
0
u
l.D
l.O
.
c::( ®
----
A21

PCA1.M4 ••
M5 ••
C45.
®
@

p N
Warning lamp

SAIA®PLC Programmable controllers


40A

A 5.7 Dimensions of system series PCAl


Sma 11 housing Large housing
for 4 I/O modules for 8 I/O modules
max. 32 or 56 I+O max. 64 or 112 I+O

.e!!r g;sfGJ
I ~1 .e!!t EEIGJ
I ~1
300 300
1-- 288 ~1 1· 288 ~1

D•
D

D
ISI

D
c;i.
\SI. '<t'
N N

D 0

D (") -
sIi) co
...,.

0
D
CJ 0

for cheese-head screws M4

System type Basic module, System type Basic module,


CPU incl. housin CPU incl. housin
PCA141 PCA1.M41 PCA147 PCA1.M47
PCA151 PCA1.M51 PCA156 PCA1.M56
PCA157 PCA1.M57 +
PCA1.C45

SAIA®PLC Programmable controllers


Part B Input/output modules as well as
additional and display modules
Chapter B 1 Plug-in input/output modules
(pluggable onto basic modules)

Chapter B 2 Programming units, additional units


and accessories

SAIA"PLC Programmable controllers


1B

B1 Plug-in input/output modules


B 1.1 I+O modules of series PCAl
- Modules with 8 digital inputs
PCA1.E10 - electrically connected,
24V- smoothed or pulsating,
Input current: 10mA
PCAl.Ell - for NAMUR proximity switch,
24V- smoothed
Input current: 0 •.. 6mA
PCA1.E20 - opto-isolated,
24V- smoothed or pulsating,
Input current: 12mA
PCA1.E50 - 110 ... 240VAC, opto-isolated
Input current: 10mA, 220VAC
- Modules with 8 digital outputs
PCA1.A10 - 5 ••• 36VDC electrically connected,
1(2)A, positive switching
PCA1.A21 - 250VAC/3A, opto-isolated,
output with relay contacts
PCA1.A30 - 5 ... 36VDC, opto-isolated,
1(2)A, positive switching
PCA1.A50 - 24 •.• 240VAC/1A opto-isolated, Triac
- Combined digital input/output modules
PCA1.B10 - 4 inputs 24VDC smoothed or pulsating, electrically connected,
4 outputs 24VDC, 1(2)A electrically connected, positive switching
PCA1.B80 - 8 inputs, 24VDC smoothed or pulsating, electrically connected
6 outputs, 8 ..• 32VDC, 5mA ... 0.5A positive switching,
smoothed and short-circuit protected
PCA1.B90 - 8 inputs 24VDC smoothed or pulsating, electrically connected,
6 outputs 24VDC, 0.5A electrically connected, positive switching
- Combined date-time and input module
PCA1.E40 - Date-time with power reserve
7 digital inputs 24VDC smoothed or pulsating,
electrically connected
Input current: 10mA

SAIA"PLC Programmable controllers


28

- Analog input/output modules


PCAl.Wl .. - 6 input channels of 8 bits each, 0... 5V (0 ... 10V bzw. 0 ... 20mA)
electrically connected
0..• 2 output channels of 7 bits each, 0 ..• 10V (0 ..• 2.56V)
electrically connected
PCA1.W2 .. - 2 or 4 analog output channels of 12 bits
0 ... 10V (0 ... 5V, -5 ... 5V, -10 ... 10V)
PCA1.W3 .. - 4 input channels of 12 bits (0 ... 10V, -5 ... 5V, -10 ... 10V)
0 or 2 output channels of 12 bits 0 ... 10V (0 •.. 5V, -5 ... 5V,
-10 ... 10V)
PCA1.W40 - 6 input channels of 8 bits for PT 100 temperature sensor
for sensors with 2, 3 or 4 conductors
- Preselector modules for input of numerical values
PCAl.Fll - for direct selection of 4 two-digit BCD-preselector switches
PCA1.F12 - for direct selection of 8 two-digit BCD-preselector switches
- Data line switching module with conversion 20mA/RS 232c
PCA1.F21 - for 1 interface with conversion 20mA/RS 232c
PCA1.F22 - for 2 interfaces with conversion 20mA/RS 232c
- Counter module up to 10kHz
PCAl.Hl •• - Counter, frequency generator and frequency measurement
- Internal power consumption of the PCAl modules

SAIA'PLC Programmable controllers


38

-
B 1.1.1 Type PCA1.E10 Electrically connected input module
Technical data
Number of inputs per module 8, electrically connected
Input voltage V1n 24VDC, smoothed or pulsating
Input current at 24VDC 10mA
Input delay (typical) Bms

Presentation and terminal layout

- 0
0
-----------
0 0 0 0 0 0
0
Bus plug

LED display
Threshold switch &
address coding

Input filter and delay

Load resistors (L)

Screwless connection
terminals in pairs
Mounting holes and ground
connection to housing

-
Definition of input voltages

u
Because of the input delay of
max. 32V Bms, pulsating DC is adequate
"H" {
type 24V as external supply voltage.
min. 19V
max. 4V
"L" {
0V

Connection terminals for the I+O modules: By depressing the grey rib with a
screwdriver, the screwless terminal is opened for one wire of max. l.Smm 2 •
Two terminals for the same connection are located opposite one another to
facilitate installation of jumpers when needed. Plug-in connectors on request.

SAIA"'PLC Programmable controllers


48

Input circuit
This module can be used either in source or sink operation, depending on the
external circuitry.
Source operation or positive logic (normal case):

External Tenninals Interference LEO


suppression Threshold
filter & delay switch ~

System ground

User ground

*) PCA1.E10 is also suitable for NAMUR proximity switches which can carry a
current of 10mA at 24VDC and 2.2kn.
Switch closed (positive at input): "H" ~ LED ON
Switch open (negative at input): "L" ~ LED OFF

Sink operation or negative logic:

Externa 1 Terminals Interference Threshold LEO


suppression switch
filter

+24VDC
~ L
2.2k/0.5W System ground
R_ l Load resistors
.-----.......,.,..Mr''
1
User ground

Switch closed (negative at input): L11 ~LED OFF


11

Switch open (positive at input): 11


H11 ~LED ON

SAIA"'PLC Programmable controllers


58

B 1.1.2 Type PCAl.Ell Input module for NAMUR proximity switches


On the basis of the object distance NAMUR proximity switches give a current
of 0 ... 6mA. To take these special conditions into consideration, two resistors
are changed per input in the NAMUR version as opposed to the standard PCA1.E10.
Technical data
Number of inputs per module 8, electrically connected
Voltage source in series with
NAMUR proximity switches V1n 24VDC smoothed
Input delay (typical) 8ms
Input circuit

*NAMUR- Tenninals Input filter and LED


proximity delay Threshold
switch switch ~

11~1
......____,
I
I
I

63

System ground

Definition of input current

llH II: LED ON = proximity switch


r~·
6.~mA
"H" de-energized
min. 4.5mA
"L II: LED OFF = proximity switch
"L"
{"'" l .2mA

f'mA
t
energized

*) PCAl.Ell is suitable for NAMUR proximity switches which can carry a current
of 6mA at 24VDC and 3.3kn.

SAIA'"PLC Programmable controllers


68

B 1.1.3 Type PCA1.E20 Opto-isolated input module


Technical data
Number of inputs per module 8, electrically isolated between
process, CPU and mutually
Input voltage V1n 24VDC, smoothed or pulsating
Input current at 24VDC 12mA
Input delay (typical) 7ms
Dielectric strength of
optocouplers min. 2000V

Presentation and terminal layout


Bus plug
0 ----------- 0
0 0 0 0 0 0 0 LED display
Threshold switch &
address coding
Optocoupler
DDDDDDD
Interference suppression
filter

Load resistors

IIIIIII Screwless connection


terminals in pairs
Mounting holes & ground
connection to housing

Definition of Input circuit


input voltage V1n operating modes
vin
"H"
{
max.
typ.
+40V
24V "Source" ~4+
min. l5V operation
~-
max. 8V
"L"
{ min. -40V
0V "Sink"
operation
~+
~'-i-

Pulsating DC is adequate The LED lights in both cases


as supply voltage because when the input contact is
of ?ms input delay. closed.

SAIA~PLC Programmable controllers


78

Input circuit

Tenninal Interference Optocoupler Delay LED


suppression Threshold
fi 1ter switch
+
0 Sk

+
7 Sk

system ground
-=-Housing ground

11
H11 ~ LED ON ~ voltage at input
11
L11 ~ LED OFF ~ no voltage at input

SAIA'"PLC Programmable controllers


88

B 1.1.4 Type PCA1.E50 Opto-isolated input module for VAC


Technical data
Number of inputs per module 8, galvanically isolated
Input voltage range 95 ... 280VAC eff. (110 ... 240VAC nom.)
Input voltage at 220VAC 10mA
Overvoltage max. 1500V/10µs
500V/ 3ms
Input delay (typical) typ. 15ms
Isolation voltage of optocoupler 2500V eff.
Isolation resistance of optocoupler 100MO

Presentation and terminal layout


~---Bus plug
0 --------- -- 0
0000000

Signal adaption
and address coding
0 0 0 0 0 0 0 1-l-+--Optocoupler

Input circuit

Screwless connection
tenninals in pairs

Mounting holes and ground


connection to housing

For opto-isolation very long lasting (>100'000h) optocouplers are used. This
results from the use of threshold switches in the diode circuit of the opto-
coupler.
Definition of input voltage

260V-

"H"

"L"
l{ 95V-
65V-

0V

SAIA"'PLC Programmable controllers


98

Input circuit

Terminals Input circuit Optocoupler Signal


adapt ion
+SV LED
/
/
b
I!I
a
,A
/
b
17

Warning
For reasons of protection of data transmission lines, displays and user input
elements use low voltage material when connecting low voltage on the PLC.
All connections of an E50-module are to be connected on the same circuit; that
means at one point in such a way that they are all protected against one AC-
phase by one fuse.

Ground N P Fuse

*) The neutral conductor is only to be interrupted if local regulations are


not violated.

SAIA"PLC Programmable controllers


108

-
B 1.1.5 Type PCA1.Al0 Electrically connected output module for 1(2)A
Technical data
Number of outputs per module 8, electrically connected
Output current 5mA - IA (2A)*
When operated at 5 •.. 25VDC, the load
resistance should be at least 240.
Short-circuit protection 1.6A quick-acting fuse
Operating mode Source operating positive switching
Total current See diagram
Voltage range Vaut
Voltage drop
5... 36VDC, smoothed or pulsating
max. 1.5V at I = IA
-
Output delay (typical) 10µs (With an inductive load, the turn-
off delay is greater due to the protective
diode.)

* Two outputs per module can carry a load of 2A each if the total current does
not exceed that shown in the diagram. For such outputs, a quick-acting 2.5A
fuse should be used. Please note however, that the voltage drop at the
terminals is approx. 2.5V with a load of 2A.
Presentation and terminal layout

Bus plug
0 ----------- 0
0 0 0 0 0 0 0 LED displays

Address decoding

!------------!
0----------0
Output transistors

Fuses

~~~~ggg
Screwless connection terminals
in pairs
Mounting holes and ground
connection to housing

SAIA~PLC Programmable controllers


118

Output circuit
Terminals
Output
LED +5V +24V transistor Fuse ! Load
+

IV

....,"'°'
0
>
....,
><
IV

User
ground

Output conducting (set) ~ LED ON


Output non-conductive (reset) ~ LED OFF

Max. permissible total current for complete PCAl (housing for 8 I/O modules)
The average (thermal) continuous total current is relevant.
Example: 40 outputs assigned
...... Vout = 24V I mean
0 61'!
IV
-0
Vl
8 multiplex outputs
55
+'
::l
0
at 10mA (10%ED) 0.01A
c: 50
0
IV
6 display lamps at 2W (100%ED) 0.50A
s..
::l
+' 45
"'s..
IV
16 valves at 24W (40%ED) 6.40A
~ c:
Ol 40
IV
+' Vl
:::J
2 valves at 48W (25%ED) 1.00A
+' 0 35
c: .c:
IV ,.....
.0
E
<(
u
8 control relays at 8W (100%ED) 2.70A
<( 0...

0 10 20 30A
Mean continuous total current Mean total current 10.61A
for all outputs of a PCAl ======
(Housing for 8 I/O modules)
Permissible ambient temperature 48°C

Note:
In spite of the internal loops of the
positive, several terminals are to be
used since the current is not to
exceed 4A per double terminal.

SAIA"PLC Programmable controllers


12B

B 1.1.6 Type PCA1.A21 Output module with relay contacts


Technical data
Number of outputs per module 8, galvanically isolated normally-open contacts
Power rating 3A, 250VAC ACl
lA, 250VAC ACll
(3A, 24VDC DCl)*
(lA, 24VDC DCll)*
Contact protection 3.3nF mit 330
Contact life (ACl) 3A, 220VAC 0.1 mio. switching cycles
l.5A, 220VAC 0.5 mio. switching cycles
0.3A, 220VAC 5 mio. switching cycles

*) Transistor outputs A10 or A30 should be used when switching DC for reasons
associated with contact life and to ensure positive switching.

Presentation and terminal layout

Bus plug
0 ----------- 0 LED display
0 0 0 0 0 0 0

Address decoding

Output relays with


contact protection (RC)

Screwless connector terminals


in pairs
Mounting holes and ground
connection to housing

SAIA"PLC Programmable controllers


138

Output circuit

Relay Contact Tenninals


protection
LED +24V
a
+SV

f 33.n.
i0
3.3nF i
b

a
33n. • 63
f I
3.3nF i
b

System ground

Important
For safety reasons however, it is recommended that extra-low voltages (up to
50V) and low voltages (51 to 250V) should not be used on the same card, or that
one channel should be left unused between them.
If highly inductive, 220VAC loads are to be switched (e.g. control relays or
valves), it is recommended that an additional spark protection be connected
across the load or the contact. Thus, arcing to the coil circuit can be
prevented successfully. The following values are recommended:
R (0) = load Z (0)
C (µF) = current (A)
For DC-voltages the transistor output modules are recommended.

SAIA"PLC Programmable controllers


148

B 1.1.7 Type PCA1.A30 Opto-isolated output module for 1(2)A


Technical data
Number of outputs per module 8, galvanically isolated between process
and CPU
Output current 5mA - lA (2A) *
When operated at 5... 24VDC, the load
resistance should be at least 240.
Operating mode Source operation (pas. switching voltage)
Short-circuit protection l.6A quick-acting fuse
Total current ref er to graph
Voltage range Vout 5••. 36VDC
Voltage drop max. 1.5V at I = lA
Isolation voltage of
optocouplerc::. 2000V
o~tput delay (typical) 500µs (i.e. approx. 7 cycles at 70µs)

*) Two outputs per module can carry a load 2A each if the total current does
not exceed that shown in the figure. For such outputs, a quick-acting 2.5A
fuse should be used. Please note, however, that the voltage drop at the
terminals is approx. 2.5V with a load of 2A.

Presentation and terminal layout

BUS
0 ----------- 0

Address decoding
Optocoupler

Output transistors

!----------! Fuses

~~g~~gg
Screwless connector tenninals
in pairs
Mounting holes and ground
connection to housing

SAIA"'PLC Programmable controllers


158

-
I
Output circuit
LED +5V Opto- Output Protective Termina 1s externa 1
ooup l oc '""' i Hoe di odo l Lood "lt•g•

--[> /<I*~
t..
I
I
I
I
I
I
I
I
I
r;fJ
I
I
!
'""r
E3 l:
.:
I. :·
LI I
I
I
I

PNP

- Output conducting (set)


Output non-conductive (reset)
Housing ground-=-

~
~
LED ON
LED OFF
Note
Terminal M is to be connected to the negative of the external voltage. It is
used for the internal supply of the module. Accordingly the positive terminal
is omitted on the first output per card (in the example above on A0). However
because the positive terminals are looped, connection is via one of the
remaining positive terminals.

Max. permissible total current for the entire PCAl (housing for 8 I/O modules)
The average (thermal) continuous total current is relevant.

- ..,_
0
Q)
-0
Vl
.....
::J
6~ .-----,------.----~

55--~~-+-~~-+-~~--1-1
Example: (24V)
8 valves at 18W 100%ED
I mean
6.0A
0
c:
0 50 I ~I I 11 4 valves at 48W 30%ED 2.4A
Q)
s...
.P 45 I I! """t.. I I I 4 control relays at 12W 100%ED 2.0A
"'s...
Q)
~ i? 40 I I1 I ~ I I
Q) ·~
..... Vl

~
::J
_g 35 I I' I 1"il
Mean total current 10.4A
Q)
=====
~3
<>:: 0...

0 10 20 30A Max. ambient temperature 48°C


Mean continuous total current ====
for all outputs of a PCAl
Note:
!· (Housing for 8 I/O modules)
In spite of the internal loops of the
positive, several terminals are to be
,,-- used, since the current is not to
exceed 4A per double terminal.

SAIA®PLC Programmable controllers Jillfillm


168

B 1.1.8 Type PCA1.A50 Output module for VAC with static relay (Triac)
Technical data
Number of outputs per module 8, galvanically isolated
Output voltage range 24 ... 280VAC eff. (24 ••• 240VAC nom.)
Output current nom. lA eff.
Output current min. 60mA eff .*
Overcurrent max. 28A peaks 20ms, non-repetitive
7A peaks ls, non-repetitive
Overvoltage max. 600V peaks, non-repetitive
Voltage drop max. 1.4V
Isolation voltage of 2500V eff.
optocoupler
Isolation resistance of 100MO
optocoupler

Presentation and terminal layout

Bus plug

0000000

.....,..___ Address decod 1ng

Static relay (Triac)

Screwless connection
terminals in pairs
Mounting holes and
ground connection
to housing

*) Important: Due to minimal current of 60mA, for example contactors with a


hold-power of <13VA have to be provided by an adequate shunt over
the coil!

SAIA"PLC Programmable controllers


178

-
The output module PCA1.A50 with static relay can be used to control resistor
loads (lamps, heating equipment) and to control inductive loads (motors,
valves, contactors). The outputs are opto-isolated against the CPU and against
one another. The integrated zero-switches who set load at the zero-passage,
have a very positive effect on lifetime, number of switch operations and
interference suppression.

Warning
For reasons of protection of data transmission lines, displays and user input
elements use low voltage material when connecting low voltage on the PLC.
All connections of an A50-module are to be connected on the same circuit; that
means at one point in such a way that they are all protected against one AC-
phase by one fuse. Each load circuit may be protected individually by a fuse

- of max. 1. 6A.

Fuse
P N Ground

l.6A

PLC housing

SAIA"PLC Programmable controllers


188

B I.I.9 Type PCAI.BI0 Electrically connected input/output module


The BI0 module is a combination of modules EI0 and AI0. The I/0-division and
therefore also the modularity can be reduced to four.
Techn ica 1 data
Inputs:
Number of inputs per module 4, electrically connected
Input voltage V1n 24VDC, smoothed or pulsating
Input current at 24V 10mA
Input delay (typical) Bms
Operating modes Source or sink operation, depending on
connection

Outputs:
Number of outputs per module 4, electrically connected
Output voltage SmA - IA (2A) *
When operated at 5... 24V, the load
resistance should be at least 240.
Short-circuit protection I.6A quick-acting fuse
Operating mode Source operation (pos. switching voltage)
Total current See diagram for type PCAI.AI0
Voltage range Vout 5•.. 36VDC, smoothed or pulsating
Voltage drop max. I.SV at I = IA
Output delay (typical) 10µs (with an inductive load, the turn-
off delay is greater due to the protec-
tive diode.)

*) Two outputs per module can carry a load of 2A each if the total current does
not exceed that shown in the figure. For such outputs, a quick-acting 2.SA
fuse should be used. Please note however, that the voltage drop at the
terminals is approx. 2.SV with a load of 2A.

Definition of the input voltages

v Pulsating DC is adequate as supply


voltage because of the 8ms input delay.
"H"
{ max.
typ.

min.
32V
24V

19V

"L"
{ max. 4V
0V t

SAIA"PLC Programmable controllers


198

Presentation and terminal layout

~--- Bus p1ug


0 ---------- - 0
0 0 0 0 0 0 0 V"--- LED-display
Write or read
circuit and
address logic
Preparation of the
input signals
~~!~~i s-to_r_s_---tilf:-::-:___ -1 and delay

0----0

~~~
Load resistors

Screwless connection
terminals in pairs
Mounting holes and ground
connection to housing

Input/output circuit
The inputs can be used in either source or sink operation, depending on the
external circuitry.
The outputs can only be driven in source operation.
Inputs in sink operation or negative logic
Switch closed (negative at input) 11
L11
~ LED OFF
Switch open (positive at input) 11
H" ~ LED ON
External Terminals Interference LED
suppression Threshold
filter and delay switch
100k 100k

System ground

T
.;'.I
~

LED

User Fuse Output Protective


ground transistor diode

Output conducting (set) ~ LED ON } Source


Output non-conductive (reset) ~ LED OFF operation

SAIA"PLC Programmable controllers


208

Inputs in source operation or positive logic (normal case)


Switch closed (positive at input): 11
W g LED ON
Switch open (negative at input) : 11
L
11
g LED OFF

External Terminals Interference Threshold LED


suppression
filter & delay switch

L
System ground

I f
+ r-{h1
c:T
I
·~I
>--1-
I
I
1

LED
M

User Load I Fuse Output Protective


ground transistor diode

Output conducting (set) g LED ON } Source


Output non-conductive (reset) g LED OFF operation

Max. permissible total current for complete PCAl (housing for 8 I/O modules)
Refer to data on PCA1.A10 output module

SAIA"'PLC Programmable controllers


218

8 1.1.10 PCAl.880 Compact input/output module with short-circuit-protected


outputs
The PCAl.880 module is a compact input/output module similar to the PCAl.890,
but with short-circuit-protected outputs. The inputs and outputs are electri-
cally connected and fed by the same power supply unit. As they use the same
addresses, only the instructions OUT, SEO and REO can be used for the outputs.
Any interrogation commands refer to the corresponding inputs.
Technical data
Inputs
Number of inputs per module 8, electrically connected
Input voltage Vin 24VDC, smoothed or pulsating
Input current at Vin = 24V 10mA
Input delay (typical) 9ms
Operating mode Source or sink operation
Outputs
Number of outputs per module 6, electrically connected
Output current range 5mA - 0.5A
In the voltage range 5 - 24VDC the load
resistance has to be at least 480.
Operating mode Source operation
Voltage range Vout 8 - 32V smoothed
Residual ripple of Vout max. 10%
Voltage drop max. 1.5V at I = 0.5A
Output delay (typical) 10µ,s
In case of inductive load, the output delay
is greater due to the freewheeling diode.
Input voltage
Owing to the input delay of 9ms, pulsating
DC-voltage is sufficient for the external
power supply (in source operation).

"l:' {max. ov
4V

What to do in the event of a short-circuit


In a short-circuited load circuit, the output current is limited to IA. If the
short-circuit remains, the output is switched off after 0.5 - 2s. From this
moment on, every 0.5s a new attempt is made of switching it on again. When the
short-circuit is removed, the output is automatically switched on again.

SAIA'"PLC Programmable controllers


22B

User power supply of the PCAl when using the PCA1.B80 module
The short-circuit protection feature makes higher demands on the power supply
of the PCA1.B80 module. Therefore, two suggestions will be made in the
following with regard to the user power supply.

When using a 3-phase transformer


hmax = 10A
+
380'1/19V >
...

~~
1.0'9'9' uF N

I "
'O
:I
PCA1

280' VA

•Ill M

When using a 1-phase transformer

II.
"
p
22'J/24V
.
:=I
'Q
.,
'Q

~
v PCA1
c DC AC
N e0
289' VA
.,,1r-- M

Presentation
,,-.--- Bus connector
LED-display I: red

• • •• •e •• •e •• •e LED-display 0: yellow

Write or read circuit and -~­


address logic
_.,.......___ Input signal processing
and delay
Jumper for source or sink ---~-----1-
operation

Output circuit

Pairs of screwless terminals

Mounting holes and housing


User power supply ground connection
of the module 6 outputs 8 inputs
+,M

SAIA"PLC Programmable controllers


238

-
Terminal assignment fj~l]@.

Power 6 outputs 8 Inputs


supply
Electric input and output circuit
Depending on the external circuitry, the inputs can be used in source or sink
operation. Outputs can only be used in source operation.
Inputs in source operation or positive logic (normal case)
Switch closed (positive at input): H" = LED ON 11

Switch open (negative at input) : L = LED OFF 11 11

Jumper B is in position 11
-
11

External Treshold LED


switch

15V

I
I
I Load resistor 2k2
I - +
+

+
Short-c i rcu it
protected output
driver
y
System ground

M
The outputs are in source
User ground Load operation (positive switching)
*) Absolute address = basic address + relative address
Vout: smoothed voltage V1n: smoothed or pulsating voltage

SAIA"'PLC Programmable controllers


248

Inputs in sink operation or negative logic


Switch closed (negative at input): "L" = LED OFF
Switch open (positive at input) "H" = LED ON
Jumper B is in position "+".

External Terminals Interference suppr. Treshold LED


filter and delay switch ~

t5V

7*1
r-~~-----<~--<r-+-..--1-

Load resistor 2k2


+

+
j
1-----< >---+---.----+-Sh_,ort-c irct-u-it--~
protected output
driver
1------< <t-
Vout[
y
System ground

J_
User ground Load
The outputs are in source
operation (positive switching)
*) Absolute address = basic address + relative address
Vout: smoothed voltage

SAIA"PLC Programmable controllers


258

8 1.1.11 Type PCAl.890 Electrically connected compact I/O module


The I/O capacity of the PCAl series can be expanded economically to 56 or 112
inputs and outputs through this module. I/O circuits use a common supply vol-
tage and operate in the source mode. Inputs and outputs use the same addresses.
Only the three instructions OUT, SEO and REO can be used for outputs. Inter-
rogation commands refer to the respective inputs.
Technical data
Inputs:
Number of inputs per module 8, electrically connected
Input voltage V1n 24VDC, smoothed or pulsating
Input current at 24V 10mA
Input delay (typical) 9ms
Operating mode Source operation,
sink operation by commuting jumper 8
Outputs:
Number of outputs per module 6, electrically connected
Output voltage 5mA - 0.SA
When operated at 5•.• 24VDC, the load
resistance should be at .least 480.
Operating mode Source operation (positive switching)
Voltage range Vout 5••. 36VDC, smoothed or pulsating
Voltage drop max. 1.5V at I = 0.5A
Output delay (typical) 10µs (With an inductive load, the turn-
off delay is greater due to the free-
wheeling diode.)

Definition of the input voltages

v Pulsating DC is adequate as supply


voltage because of the 9ms input delay.
"H"
{ max.
type

min.
32V
24V

l9V

"L"
{ max. 4V
rav t

SAIA"'PLC Programmable controllers


26B

Presentation and terminal layout

,---- Bus plug

0 -----------
Displays Input: red
0 0 0
0

Write or read
circuit and
address logic D Preparation of the
Output { input signals
transistor and delay

Jumper which can be/


conrnuted from source Screwless connection
operation to sink terminal in pairs
operation for the inputs
Mounting holes and ground
User power supply connection to housing
of the module

Input/output circuit
All inputs are switched to source operation (-) (factory setting). The inputs
can be switched to sink operation by commuting jumper 8 to + 11 11

The outputs may only be used in sink operation.

Connection of inputs and outputs

Jumper B

~
Q)

+ °'
~
Q)
+ "'
......
°'
"'
...... .,.- ...... 0
r:::T >
0 ·~I I 0::l
> > I I 0 I>
...I.- -I.- r:::s..."'
"'s...
c Q)
......
.....x
Q)
......
.....x M
";'"

Factory setting: jumper B on II


- .
11.
source operation

SAIA®PLC Programmable controllers


278

-
In uts in source o eration or ositive lo ic
factory setting: jumper B on 11_11

Switch closed (positive at input): 11H11 = LED ON


Switch open (negative at input): uLu = LED OFF

External Terminals Interference Tresh- LED


suppression old red
filter & delay switch //
+24VDC 47k

~I
63

I
II -
..____.r,__,____.. . .- - .
I
Load resistors
System ground

+ r-fh-ri~
I .j
I :.
I .I
:!
_.....__6~~.I---+-....,_..
i

User
.,__..___...__"P--+--+---~
Load I Output Protective
System LED
ground yellow

ground transistors diode

Output conducting (set) = LED ON } Source


Output non-conductive (reset) = LED OFF operation

SAIA"PLC Programmable controllers


288

In uts in sink o eration or ne ative lo in source o eration


jumper B on 11 + 11

External Terminals Interference Treshold LED


suppression switch red
filter & delay
+24V• 47k

Inputs: Sink operation


47k
System ground
•Switch closed
(- at input): H Q LED OFF

•Switch open
(+ at input): L Q LED ON

Outputs: Source operation

•Output conducting
(set) Q LED ON
LED
•Output non-conductive diode yellow
(reset) Q LED OFF
User Output
ground Load transistors

SAIA"PLC Programmable controllers


298

- B 1.1.12 Type PCA1.E40 Combined date-time and input module (only PCA14)
In addition to 7 inputs, the module PCA1.E40 contains a precise date-time with
power reserve. This buffered date-time can only be evaluated with the system
series PCA14 in connection with its software date-time.

Technical data
Inputs:
Number of inputs per module 7, electrically connected
(addr. 1. .. 7)
Input voltage V1n 24VDC, smoothed or pulsating

- Input current at 24VDC


Input delay (typical)
10mA
9ms
Operating mode Source or sink operation

Date-time:
Accuracy <15s/month at T = 15 - 30°C
Power reserve 2 months due to NiCd battery 3 >
Date-time values Day of the week 01. .. 07 2 >
Year 00 ..• 99
Month 01. •. 12
Day of the month 01. •• 31 J.)
Hours 00 ... 23
Minutes 00 ... 59
Seconds 00 ... 59
Internal power consumption of 15 ... 70mA
the module (5V)

1) The date-time takes the various months and leap years into account.
2) Day of the week 01 stands for Monday, 07 stands for Sunday.
3) Life of buffer battery approx. 5 years
Spare part no. 4 507 11 950
1 1 1

SAIA"PLC Programmable controllers


308

Presentation and terminal layout

0~~-:":-:"':-~-=-=-:"':-~-:"':-::":-:"'-=":_:-:~~'1---- BUS connector


1":
',______ LEO displays
0 0 0 0 0 0 0

------- Threshold switch and address


coding

---1--------1----.-- Date-time

'------~---Trimmer

->----------- Buffer batteries

---t----+--- Circuit for input signals


and delay

7 M 6 M 5 M 4 M 3
__.. ___Screwless connection termi-
nals in pairs
O_ _ _ _ _ _ _ _ _ _c+--__.
...,_ __. _ _ Mounting
connectionholes and ground
to housing

Definition of the inQUt voltages


v Pulsating DC-voltage is sufficient
as supply voltage, because of the

{ max. 32V 9ms input delay.


"H" type 24V

min. l9V

"L"
{ max. 4V
0V t

The 7 inputs (addresses 1... 7) can be used without restrictions and indepen-
dently of the date-time. The address 0 is reserved for the data transfer from
and to the date-time.

SAIA"PLC Programmable controllers


31B

Input circuit
Depending on the external circuitry this module can be used either in source
or sink operation.

Source operation or positive logic (normal case):

External Terminals Input filter Threshold LED


and delay switch
~
+24VOC 47k
~ 1
300n 15V
QJ

°'
ro

~

0
>

System ground

Switch closed (positive at input): 11


H" ~LED ON
Switch open (negative at input): 11
L11
~LED OFF

Sink operation or negative logic:

External Terminals Input filter Threshold LED


and delay switch

15V
+24VOC l
~ L Load resistors System ground
.~T . 2.2k/0.5W
;;>_j_
-----M-
~ II User ground
-

Switch closed (negative at input): 11


L11
~LED OFF
Switch open (positive at input): 11
H" ~LED ON

SAIA"PLC Programmable controllers


32B

Handling of the date-time


Owing to its higher accuracy, the hardware date-time is considered the master
as compared with the software date-time. The comfortable instructions such as
PAS 50 and the special text characters $T, $H and $0 (see PCA14 manual), how-
ever, refer only to the software date-time. It is therefore necessary to
synchronize the hardware and the software date-time at times (e.g. every 24h).
Moreover, the date and time values of the hardware date-time must be set on the
first start-up.
Make sure that synchronization of the software date-time and setting of the
hardware date-time are performed only when required in order to prevent the
hardware date-time from being permanently blocked.
Its handling will be described in detail on the following pages.

Principle of the data transfer between software and hardware date-time

1· Flags Counters
·1
''"'ii-~
[\, ..
.
PCA2.P05

Hardware Software
date-time date-time
PAS 50
PCA1.E40
Text output
0
($T, $0, $H)

.J
(BCD)

L. User program

As evident from the above figure, a flag field (for the whole contents 60 or
68 flags) as well as 1 counter must be reserved for the duration of the data
transfer between both date-times. The transfer from the hardware date-time to
the flag field or vice versa is effected serially with the address 0. The
addresses 6 and 7 are used as control signals.
Address 0: This address is used for the data transfer between the date-time and
the flags.
Address 6: With address 6 a clock is generated. With every clock signal a data
bit is received or transmitted by the hardware date-time.
Address 7: Chip select. In order to activate the data transfer, this address
must be set to 11 H11 • As soon as the transmission is finished, address
7 must be reset to 11 L11 •

SAIA®PLC Programmable controllers


338

Format of the data transfer (4 control bits followed by 7 x 8 bits BCD)

a) Setting of the hardware date-time

I
Control
bit
I Hours Minutes Day of the
month
l Month Year Day of the
week
Seconds

..... co
NN

.......
·M~ • •

Transfer direction

MSB must be transmitted before LSB.


MSB = Most Significant Bit
LSB = Least Significant Bit

b) Reading of the hardware date-time

I Seconds I Dayw~:k the I Year I Month I Da~~:h the I Minutes I Hours Control I
I bit

I I I I I I I I I I I I I I I I I I I I I I I II I I I I I I I I I I I I I I I I II II I I II I I I I I I I I I I I I
co ... 1... ~~ ~~ ~~ co"' co
_,
I~ ...... 2~ ..... -~~ -~~ -~~ "'"' <.I>

..... .... .. . 0\ Q
M<e:r'
. . . • . . ,.....,
_, :::E:
IX)
-.:l"V
••• • • • ui \Q
_,.,LO . "'
"'
Transfer direction

When reading the hardware date-time the individual bits are read in the
sequence LSB ... MSB. To guarantee that the format corresponds to the read-in
instruction for 2 x 4 bits BCD (code 16 in the 2nd line of the instruction
SCR), make sure that the LSB of the individual date-time values is at the
highest flag address. For the sake of an optimum transfer routine hardware 11

date-time to software date-time" the control bits are fitted with the 4
highest (out of 60) flag addresses. This results in the above inverse 11 11

transfer direction.

SAINPLC Programmable controllers


348

Function of the control bits


The 4 control bits tell the date-time "what to do 11 • The first three bits
received by the date-time define the data to be transmitted. The 4th bit is
used to determine whether the date-time is set or read.
These 4 control bits must be transmitted before every data transfer, irres-
pective of whether the date-time is set or read.

1. 2. 3. 4. Bit

1 1 1 x Whole contents

1 1 0 x Year

1 0 1 x Day of the week

1 0 0 x Month

0 1 1 x Day of the month

0 1 0 x Hours

0 0 1 x Minutes

0 0 0 x Seconds

x x x @ -Set date-time
x x x CD Read
- - date-time

SAIA®PLC Programmable controllers


358

Transfer diagram
a) Setting the whole date-time contents

b) Reading the whole date-time contents

Address
Chip select 7
1. Cl k 2. Cl k 60.Clk
Clock 6
co co
Vl Vl
Data 0 ..J ::E:

- I} control bits
J 56 data bits

c) Reading the seconds

Address
Chip select 7 ____J
l.Clk 2.Clk 12.Clk
Clock 6

Data 0 I n'.:Jco
r:i_

~J
I! control bits
....I 8 data bits

SAIA"PLC Programmable controllers


36B

Examples
1. Setting the hardware date-time (whole contents)
During the first startup of the hardware date-time, the correct values must
be set. Proceed as follows:
- The current date-time values are introduced into the software date-time
(e.g. with a PCA2.P05, see chapter "Operating modes").
- In the STEP-mode the following routine is selected and executed. The hard-
ware date-time automatically accepts the values of the software date-time
and keeps on running, irrespective of whether the PLC stays switched on.
This procedure can be repeated, if after months the deviation from the
actual date-time has become too great.
Program
4020 29 PAS
21 17 17 260
50} Seconds
22 15 SCR 260
23 20 20 459
24 29 PAS
25 11 11 260
50} Day of the week
26 15 SCR 260
27 20 20 451
28 29 PAS
29 12 12 260
50} Year
4030 15 SCR 260
31 20 20 443
32 29 PAS
33 13 13 260
50} Month Transfer contents of the
34 15 SCR 260 software date-time to flags
35 20 20 435 .....,
"'
'.Q
36 29 PAS ~
.....,
37 14 14 260
50} Day of the month C:
0
v
UI
....
:::>
38 15 SCR 260 l• oq-f ~
39 20 20 427 I I I I
4040 29 PAS
41 16 16 260
50} Minutes
42 15 SCR 260
43 20 20 419 Transfer direction
44 29 PAS
45 15 15 50} Hours
260
46 15 SCR 260 Flags ---- Hardware date-time
47 20 20 411

*) With code 20 in the 2nd line of the instruction SCR 20 bits BCD are
transferred. Therefore, the flags 392 ... 403 must also be reserved, with
M400 •.. M403 serving as control bits for the hardware date-time. On the
whole, 68 flags are required for setting the hardware date-time.

SAIA"PLC Programmable controllers


378

4048
49
11
11
SEO 400}
SEO 401 Control bits for
1.

4Ml
2.

401
3.
402 403
4. Control bit
Flag
50 11 SEO 402 hardware date-time
51 12 REO ( 403) 1 1 1 0
11hole date-time Set
52 11 SEO 7* Chip select _s- contents -
53 16 SEI 0
r- 54 01 STH 1400
I 55 10 OUT 0 * Data Transfer the contents
I 56 19 SEA 0 of the flags M400 ... M459
I 57 11 SEO 6* Clock _j to the hardware
I 58 12 REO Clock date-time
I 6* {_
I 59 27 INI 59
I 4060 21 JIO 0
L_ 61 00 00 4054
4062 12 REO 7* Chip select --i__
C::4063 20 JMP 00
4064 00 00 4063

*) These addresses do not depend on the plug-in location of the module


(example for addr. 0••. 7).

2. Reading the hardware date-time (whole contents)


The routine "Reading the hardware date-time" must be executed after each
voltage failure upon switching on the PLC aga-:rn:-It can also be called in
the main program depending on internal or external conditions, ensuring that
the software date-time does never deviate much from the hardware date-time.
It is of advantage to write the program ''Reading the hardware date-time" as
a subroutine.

Program structure

Initializ:a~t1~·o~n:..l.----~-------------------------:
JMS Subroutine
"Read the
hardware
date-time"
PP-assignment RET

pp 0 PP 1
I
JMS I
L----

SAIA"PLC Programmable controllers


38B

Subroutine: Read the whole contents 1. 2. 3. 4. Control bit

459 458 457 456 Flag


~56
:~g
SEO
57
58
11
11
11
SEO
SEO 457
} Control bits for
hardware date-time
1 1 1 CD
59 11 SEO @) Whole date-time Read
contents
60 11 SEO 7 * : Chip select _ j
61 16 SEI 59
r-62 01 STH 1400
I 63 10 OUT 0 * : Data Contro 1 bits
I 64 19 SEA 0 (M459 •.• M456) to
I 65 SEO
I
11 6 * : Clock hardware date-time
I 66 12 REO 6 * : Clock (control co11111and)
I 67 28 DEi 56
I 68 21 JIO 0
L 69 00 00 62
70 16 SEI 55
r-71 01 STH 0 * Data
I 72 10 OUT 1400
I 73 19 SEA 0 Transfer date
I 74 11 SEO 6 * : Clock ~ from hardware
I 75 12 REO 6 * : Clock ' - - date-time to flags
I 76 28 DEI 0 M455 .•. M400
I 77 21 JI0 0
L 78 00 00 71
79 12 REO 7 * : Chip select L
15 SCR
}
80 260
81 16 16 415 Day of the week
82 29 PAS 50
83 01 01 260
15 SCR
}
84 260
85 16 16 423 Year
86 29 PAS 50
87 02 02 260
88 15 SCR
89
90
91
16
29
03
16
PAS
03
260
431
50
260
} Month

92 15 SCR 260 Transfer contents


93 16 16 439 Day of the month of flags
94
95
29
04
PAS
04
50
260 J M400 ..• M455 to
software date-time
QJ
..c:
QI
...., ....
..c:

}
96 15 SCR 260 0s...
97 16 16 447 Minutes "'c:
"O ....0 ....0 ..c: "'QJ
...., ....,
98 29 PAS 50 0 s... ....,
..c: ...., Cl)
s...
c:

99 06 06 260
u >, """
QJ
"' c: >, c: "'c:
"'
0"'
u....,
QJ
Vl "' ):
Cl QJ
QJ
>-
0
::E:
"'0
Cl E ;: 0
:I: 'OT .0
·~

100 15 SCR 260


101
102
103
16
29
05
16
PAS
05
455
50
260
} Hours

104
105
106
107
15
16
29
07
SCR
16
PAS
07
260
407
50
260
J Seconds CQ CQ
V> Vl
...J::E:

Transfer direction
CQ CQ
Vl Vl
..... ::E:
CQ
V>
.....
108 24 RET 0
Hardware date-time - Flags

*) These addresses depend on the plug-in location of the module.

SAIA'PLC Programmable controllers


398

3. Transferring the seconds from the hardware date-time (to software date-time)
As is well known, it is also possible to transfer only single values of the
date-time. If the software date-time is regularly synchronized with the
hardware date-time, it may be sufficient to transfer only the seconds
(accuracy of the software date-time: <3s/day).
Subroutine: Read the seconds
2. 3. 4.
=> 501 12 REO
411 }
1. Control bit
502 12 REO 410 Control bits for 411 410 409 408 Flag
503 12 REO 409 hardware date-time
504 11 SEO ( 408) 0 0 0 CD
Seconds Read
505 11 SEO 7 * Chip select_t
506 16 SEI 11
,------ 507 01 STH 1400
I
I 508 10 OUT 0 * Data Control bits
I
I
509 19 SEA 0 (M411 ..• M408)
I 510 11 SEO 6 * Clock _s- to hardware date-time
I
I
511 12 REO 6 * Clock~ (control instruction)
I 512 28 DEI 8
I
I
513 21 JIO 0
'-- 514 00 00 507 Seconds

515 16 SEI 7
r---
I
516 01 STH 0 * Data
I 517 10 OUT 1400
I 518 19 SEA 0
I
I
519 11 SEO 6 * Clock ___r Transfer seconds from
I 520 12 REO 6 * Clock~ hardware date-time to
I
I
521 28 DEi 0 flags M407 •.. M400
I 522 21 JIO 0
L_
523 00 00 516
524 12 REO 7 * Chip select L
525 15 SCR 260
526 16 16 407 Transfer seconds to
527 29 PAS 50 } software date-time
528 07 07 260
529 24 RET 0

*) These addresses depend on the plug-in location of the module.

SAIA"PLC Programmable controllers


408

B 1.1.13 Type PCAl.Wl .. Analog I/O module with 8- or 7-bit resolution


Technical data
Inputs:
Number of channels 6, electrically connected
Voltage range 0... 5V= 1 >
Resolution 8 bits (1/256 ~ 0.4%)
Accuracy (absolute deviation) 1 1/2 bits ~ 0.6%)
Input impedance ~ lMO 1 >
Time constant of input filter 0.2ms
A/D conversion time < 100µs

All inputs are protected against positive and negative overvoltages.


Outputs:
Number of channels 0, 1 or 2 2
>
Voltage range 0 ... 10V, can be changed to
0 ... 2. 56V
Resolution 7 bits (1/128 ~ 0.8%)
Accuracy 1 1/2 bits ~ 1.0%
Load impedance ~ lKU
Power consumption ( 5V) 30 ... 40mA
(24V) 25mA

1) Special variants PCAl.Wl .. Z09: 0... 20mA input impedance 2960


PCAl.Wl .. Z10: 0 ... 10V input impedance 20kn
2) Number of analog without output: PCAl. W10
outputs with 1 output: PCAl. Wll (A7)
with 2 outputs: PCA1.W12 (A7 and A6)
Presentation
Bus plug
Analog/digital converter for inputs
Reference voltage
Oigital/analog converter for outputs (pluggable)
Jumpers for output voltage
Voltage stabilisation

Input/output circuits

Mounting holes and ground


connection to housing

SAIA"PLC Programmable controllers


418

Input/output circuit and block circuit diagram

Example for output at


0 ... +10V A6, input at E3
7>-----~

lk ISE07] or IRE071
clearance or blocking for
Analog-
OUT alteration of output value
output -storage
channels j
1 bit data for analog
output
10n
Write instruction: IOUT31
-Input of bit 3
-AD conversion of input
Ana 1og-
input
,__----r---.------ vo 1tage at channel 3
channels
Start Read instruction: jORH61
sj s
3-
- ADC IN -Read bit 6 from input
0... +5V
1)--{==h--+-~-C:::l-.......,~ 0 ~
-•--<>-+---. digital value
-If blocking removed (SFn 7 '
channel then storage & cc-r
J 10n selector
of digital •~
channel 6
1 bit data from analog input
0-address I-address
*) Only required at 19V or 20mA

Programming example for address location 0... 7


Read analog input voltage present on channel 3 (ADDR 3).
The corresponding binary value is to be transferred to counter 260.

100 OUT 32 > Select I-channel 3 and trigger A/D conversion


- 101 SCR 260
102 24 72 > } Transmit binary value (8 bits) to counter 260

200 SCR 310 } Transmit value 0... 255 from counter


201 21 71 >2 > to D/A converter
202 SEO 72 > Clearance for altering the output value
203 ORH 62 > Storage of binary value, conversion
and output to output channel 5
204 RED 72 > Blocking of output value

1) The counter value of 0... 255 corresponds to an output voltage of 0 ... 10V.
The resolution, however, is only 7 bits.
2) If this module uses, for example, the addresses 24 to 31, it must be noted
that the highest address of the card is 31. This means that input channel 3
corresponds to address 27, the output channel corresponds to address 30 and
the block or clear command is assigned to address 31.

SAIA"'PLC Programmable controllers


438

Block circuit diagram PCA1.W2

r------------------------1
i----1----------~
1
II Output channel ® fA\ ORH .0
I \.:::,J I Instruct ion for ana log output ORH
1
I I
I I ~---------l ORH2
VOUT
ii o--.+<

I ....."'
I ..Q

M~ I <.O
.....
<(
I -:;- @ I u
Q..
I
I I .<::
<(

~
~ ~-----------------------~ ..... u
Vl
~ 1v
CD Conversion I ....,"'
.<::
u Vl
-5 16 OUT ..... :::>
co
.....:::> ~
..Q
....,
,e- Mr-::::i_
.....
N
co
g I ~ I <.O
SEO/REO 7
~-------------------------~ "'
..... 0...
Iv u
6 OUT ..Q ....c: ·~
O'>
2 0 0
<.O '-'- SEO/REO 6

M~ I
r--------------------------~
IVOUT
30>----

M~ I
~--------------------------~

Connection to the process


A voltage output is made up of the plug-in DIA-converter and the two soldered-
in amplifiers.
The standard output voltage is 0... 10v. For special applications, appropriate
precision resistors are soldered in.
The signals are always measured potential to ground.

I Vout
RL ;?: 10kOhm

SAIA"PLC Programmable controllers


448

Software
Output analog value
The 12-bit digital value to be output must be applied at the inputs of the D/A-
converters. By means of an instruction (ORH 0... 3) this value is stored and
output as analog value by the DIA-converter.
The unchanged analog values of all 4 outputs are available to the process as
long as they are not redefined by means of a new instruction.
Procedure
With the series PCAl only 8 element addresses are available per I/0-module. In
order to process the 12-bit data, they are split up into two words consisting
of 6 bits each and processed one after the other.
The following steps must be distinguished:
A) Transfer the first 6 bits (starting with LSB) to buffer 1 (SEO 7)

B) Transfer the second 6 bits (up to MSB) to buffer 0 (REO 7)


C) Select the output channel with ORH 0... 3 and trigger DIA-conversion at the
same time.
Program for EA ~ ..• 7
MSB LSB
400 405 406 411
f SEA 0)
• • 6•bits
• • • • •••••
6 bits
SEO 71* Word 1
STH 411)
'--v--' '--v--' OUT 5 *
Word 0 Word 1 STH 410)
OUT 4 * Transfer 6 bits 0
®
0REO 7
0SEO 7 @ .
to buff er 1
STH 406)
EA 0 5 0 5 OUT 0*
I~uf fe~ ~
I I I I 1

I Buffer
6 bits
0
6 bits
SEA
REO Word 0
STH 4
OUT Transfer 6 bits
to buff er 0 ®
ORH 0 ... 3 .
© STH 400)
OUT 0*
SEO 6 Select output
Al A2 A3
ORH 0.. 3 * channel 0 ... 3
REO 6 * and output
0 .•• 10V analog value

*) If the module is placed to a position other than 0, the corresponding


basic address must be added.

SAIA"PLC Programmable controllers


458

Analog value output in the form of subroutines


The following versions a to c are distinguished by their software levels, pro-
gram lengths, execution times and the number of program changes. Due to the
standard execution time of 2.13 ms the PP-change is blocked and the serial
interface is no longer operated for this period. If the interface is to func-
tion with a baud rate of 4800 or 9600 baud simultaneously, either version a
or b can be used or version c with the commands NOP 1111 (operation of the
data interface) given in brackets.
Subroutine Number of Execution time Number of program
version program changes (incl. RET)
lines PCA14/15 PCA14/15
a 31 3.09 ms 11
b 15 4.31 ms 13
c 18 2.13 ms 1
a b f (software level @)
600 (SEA 0) 650 f SEA 0) 700 (SEA 0)
~,S~E0.-----=2"'"""3I* _SEO 231* SCR 301 } Value from C301
STH 411 SEI 0 22 411 to flag 400 ... 411
N
..., OUT 21 * 1--STH 1406 REO 412
STH 410 I OUT 1016 * ISEO 413 I ~SEO 23: word 1
~ OUT 20 * i INI 5 SCR 300 Word 1 (8 bits)
L __ JIO
;:5 STH 409 24 413 to C300
~ OUT 19 * IREO 231* (NOP 1111**)
.e STH 408 r--STH 1400 SCR 300 } Word 1 (8 bits) to
~ OUT 18 * : OUT 1016 * 21 23 * buffer 1 (SEO 23)
~ STH 407 : DEI 0 REO 406
~ OUT 17 * L __ JIO REO 407 * - - REO 23: word 0
~ STH 406 SEO 22 * SCR 300 } Word 0 (8 bits)
c:c OUT 16 *
~-'--~"--
ORH 17 * 24 407 to C300
SEA 0 REO 22 * (NOP 1111 **)
IREO 231* RET SCR 300 } Word 0 (8 bits) to
STH 405 21 23 * buffer 0 (REO 23)
OUT 21 * SEO 22 *}Output analog
ORH 17 * value via
. REO 22 * channel 17
STH 400 RET 0 Word 0 Word 1
OUT 16 *
SEA 0 400 405 , 406 4111 413
•••••••••••• 0 0
SEO 22 * 1
ORH 17 *
REO 22 * 16 v 21

RET 0 1 I I I I I I
EA 16 21 1_ Buffer 1 @
I I I I I
.___Buffer
__
I
0 _,
I I
@
For versions a and b flags 400 ... 411 are used. Version c uses counter C301
as an output register. 14 flags 400 ... 413 are used in version c to load the
buffers.
* For basic address 16.
** PCA14 as of version-v6.034 for a baud rate of 9600 bauds.

SAIA~PLC Programmable controllers


46B

B 1.1.15 Type PCA1.W3 .. 12-bit analog input and output module


Technical data
Inputs:
Number of input channels 4
Input circuit Differential with filter
Signal ranges: - voltage 1) 0V ... +10V Selectable for
2) - 5V ... + 5V each module by
3) -10V ... +10V } means of a plug

- current 1) 0 ... +20mA Alternatively pluggable


2 ) -10 ... +10mA as current loop. Current
3) -20 ... +20mA } range acc. to voltage
range selected above
Resolution 12 bits = 1/4096
Accuracy (measured value) typ. 0.4% (max. 0.8% during bipolar
operation)
Repeatability ± 2 LSB*
Input impedance - voltage ~ 1 Mn
- current 499 n
Time constant of the input filter 0.lms
AID-conversion time $ 30µs
Max. admissible voltage ±15V
Outputs:
Number of output channels max. 2
Re solution 12 bits = 114096
DIA-conversion $ 20µs
Signal ranges: - voltage Standard: 0V ... +10V
0V ... + 5V
Spezial { - 5V ... + 5V
-10V ... +10V
Accuracy (actual value) typ. 0.4% ± 30mV**;
in range 0 ... 5V or 0 ... 10v max. 1% ± 30mV**
Load impedance ~ 10kO
Current consumption 5V 100 ... 120mA
25V 60 ... 100mA
*) LSB: Least Significant Bit; e.g. 10V divided by 4096: approx. 2.5mV
**) Max. constant offset value

SAIA"PLC Programmable controllers


478

Block circuit diagram PCA1.W3 ..

,----------------------, Basic address=0


I I
I Output channel ® I
I ......
>-+~~~~~~~~~~~

I
I ORH Z
Vout

I
:!!. I
Cll M I
c:
c:
"'u
..c:
.....
rI l © II
:::l
c. ~------------------------1 ..c:
..... I .....u
0
:::l
I CD I "'
I .....
I
Instructions for analog output ..0
I N
Vl SEO/RED 6
.--<
.....
bI Vout .c.
<O

'-
Cl)
4- u

Mn_ ! 4-
:::J
co Ol
0 SEO/RED 7

L_________________________
I 7
J
I p
.;::;
c:
0
u

OUT lL .. 3

+ +Analog Channel Conversion


3
input channel G selector instruction
M .....Vl
....... ..a
<O
+ +
2 0 I-
Cl)
4-
~ 4-
:::l
Cl)
Cl) M co
c: ::l
c: ~

'- ..c:
"'u
..c:
+ 0-- lOV RANGE
0
4- "'>
.....::l
u
.....
..... I 0 ..c: "'
::l
c.
-
c:
M
©
20V RANGE
I u c.
.....
"'
.,_,
c:

N
.....
·~
..a
.--<

+
C/1
.....
® ..0
<O

ll I-
Cl)
4-
4-
::l
co

SAIA~PLC Programmable controllers


488

Presentation

Connector for
power supply board Power supply board-----------.
o,_____ ~
Bus connector - - - - - - - - - - : .

~
Address .------.. Data buffer for input values
decoding
AID-converter for inputs
and
logic 1-reinsertable jumpers
B = bipolar I U = unipolar
Reference voltage for outputs
1-reinsertable jumpers for
voltage ranges, total 1.fJV/2.fJV
Data buffer for output values
DIA-converter for outputs

Potentiometer for output signal


Amplifiers
1-reinsertable jumpers
C = current I V = voltage
Pairs of screwless connection terminals
0 PCA1.W3 Mounting holes and ground
connection to the housing

Versions, order specifications


Type PCA1.W30 with 4 I-channels, without output channel
Type PCA1.W32 with 4 I-channels + 2 output channels (A0 +Al)
Signal ranges for inputs : selectable by jumpers
Signal ranges for outputs: 0 ... 10V (other ranges of values on request)

SAIA®PLC Programmable controllers


49B

Connection to the process


Connection of the input channels
The common-mode voltage range of all input channels is ±10V 1 i.e., both
potentials of each input channel must be within ±l0V with respect to the
ground. Under this condition correct registration of the measured data
is ensured.
Preselection of the I-ranges:
- The process ground or measuring amplifier ground must be connected to
the user ground of the PLC.
- The input voltage range of 10/20V is preselected jointly for all inputs
of a module via the connector.
- Whether bipolar voltages (±V) or unipolar voltages are to be registrated,

- is preselected jointly for all inputs of a module via the connector B/U.
- Operation with current can be selected for each input individually via the
plug (C = current, V = voltage). If the connector is plugged into C, a pre-
cision resistance of 4990 is switched into this input circuit, the voltage
of which is evaluated. The current range depends on the selected voltage
range (10V ~ 20mA).
The following table shows the three basic ranges with respect to the
corresponding digital value:

Digital value Unipolar u Bipolar operation B


operation
(connector 10V) (connector 10V) (connector 20V)
4095 +10V (+20mA) +SV (+10mA) +10V (+20mA)
2048 +5V (+10mA) 0V ( 0mA) 0V ( 0mA)
0 0V ( 0mA) -SV (-10mA) -10V (-20mA)

In case of unipolar operation the positive potential is applied to the plus-


terminal. Figures a and b show the connection scheme for the measurement of
positive or negative voltages respectively.

SAINPLC Programmable controllers


SOB

Software
With the version PCAl only 8 element addresses are available per IIO-module. In
order to process the 12-bit data, they are split up into two words consisting
of 6 bits each and processed one after the other.
Word 0: contains the high-order 6 bits including MSB
Word 1: contains the low-order 6 bits including LSB

Read analog value (input channels)


For reading an analog value the following 3 steps are necessary:
A) Select input channel (OUT 0 ... 3)
B) Initiate actual AID-conversion (SEO 6, REO 6)
C) Select the 6-bit word group 0 or 1 (REOISEO 7)

£) ... 10V Program for EA ~ ... 7

E.el El E2 E3 (SEA 0)
I OUT ~· .. 3 I* Select input
channel 0 ... 3
SEO 7* Word 1
OUT £) ... 3 SEO 6*}
M
REO 6 * *AID-conversion
STH 5 *
3:
,.... OUT
STH
411)
4 * Transfer 6 bits from
SEO 6 c::x:
410)
(.) OUT buffer 1 to flags
REO 6 Q. 411. .. 406
.
STH 0 *
OUT 406)
REO 7 SEO 7

SEA 0
Buffer 0 Buff er 1 I REO 71* Word 0
EA£) 5 0 5
STH s)*I
OUT 405 Transfer 6 bits from
Word 0 Word 1 buff er 0 to flags
. 405 ... 400

~ ~
STH 0 *
OUT 400)

• • • •••
M400 • •• • ••411
405 406
MSB LSB *) If the module is placed to a
position other than 0, the
corresponding basic address
must be added.

SAIA"~PLC Programmable controllers


518

Read the analog value in the form of a subroutine (input channel)


The following versions a to c are distinguished by their software levels,
program lengths, execution times and the number of program changes. Version
c results in the shortest execution time. With the standard execution time
of 2.03 ms, however, the PP-change is blocked and the serial interface is
no longer operated for this period. If the serial interface is to function
with a baud rate of 4800 or 9600 bauds simultaneously, either version a or b
can be used or version c with the commands NOP 1111 (operation of the data
interface) given in brackets.
Subroutine Number of Execution time Number of program
version program lines changes (incl. RET)
PCA14/15 PCA14/15
a 30 3.10 ms 11
b 15 4.35 ms 13
c 17 2.03 ms 1
a b c (software level @)
400 (SEA 0) 450 (SEA 0) 500 (SEA 0)
OUT 17 * OUT 17 * OUT 17 Selection of I-channel
SEO 23 * SEO 23 * SEO 23 *
SEO 22 * SEO 22 * SEO 22 * AID-conversion
,..., REO 22 * REO 22 * REO 22 *
~ STH 21 * SEI 0 REO 23 * Word 0
.0
...... OUT 411 r-- STH 1016 * SCR 300 ~ Value (8 bits) from buffer
<C
LLJ
STH 20 * OUT 1416 24 23 * 0 into counter 300
l- OUT 410 I INI 5 (NOP 1111**)
.... STH
0
19 * L __ JIO SCR 300 ~ Transfer to flags
VI
Ql
i::
OUT 409 I REO 231* 21 407 407 ... 400
·~
..... STH 18 * 1-- STH 1016 * I SEO 231* Word 1
~
::i
0
l- OUT 408 I OUT 1400 SCR 300 Value of buffer 1
~

:;:
STH 17 * II DEi 0 24 23 into counter 300
L __ JIO
OUT 407 (NOP 1111 **)
STH 16 * RET 0 SCR 300 ~ Transfer to flags
OUT 4~6 21 413 413 ... 406
SEA ~ SCR 300 Load value of 12 bits
IREO 231* 25 411 into counter 300
STH 21 * RET 0 EA 16 21 @
OUT 405
. EA 16
STH 16 *
OUT 400 Buffer 0
RET 0

With all three versions the analog value is available as 12-bit binary value in
the flag area 400 •.. 411. With version c the flags 412 and 413 are also used
(because of the transfer of 8 bits instead of 6 bits). The routine c finally
transfers the value to counter C300.
* For basic address 16.
** PCA14 as of versiori""""V6.034 for a baud rate of 9600 bauds.

SAINPLC Programmable controllers


52B

Output analog value (output channels)


The 12-bit digital value to be output must be applied at the inputs of the
digitallanalog converters. This value is stored by means of an instruction
(ORH 0 or 1) and output as analog value by the DIA-converter. The unchanged
analog values of the 2 outputs are available to the process as long as they
are not redefined by another instruction.
In order to output an analog value from a bit pattern in the flag area, 3 steps
are necessary:
A) Transfer the first 6 bits (starting with LSB) to buffer 1 (SEO 7)

B) Transfer the second 6 bits (up to MSB) to buffer 0 (REO 7)


Release of the DIA-conversion (SEO 6)
C) Select the output channel with ORH 0 ... 1 and trigger the DIA-conversion at
the same time. Block DIA-conversion again (REO 6).

Program for EA ~ ... 7

MSB
4£),l'l 405 4£)6
LSB
411
fSEA
SEO Word 1
• • • • •••••
• • 6•bits STH
OUT
411)
6 bits 5 *
STH 410)
Word 0 Word 1 OUT 4 * Transfer 6 bits
to buff er 1
.
@
D D
REO 7 SEO 7 @
STH
OUT
406)
0*

I' i I I
EA,l'l 5 0 5
I I I SEA
_ Buffer 0 _ IBuffer
I I I1 _
I REO 7 I* Word 0
6 bits 6 bits M
STH 405)
\~----~ 3:
~----1 OUT 5 *
T""
<(
t> SEO 6
.
Transfer 6 bits
to buff er 0 ®
a.. ORH 0 ... 1
STH 400)
REO 6
OUT 0*
SEA 0
© !SEO 6 I* Release and
blocking of the
A0 Al DIA-conversion
0 ... 10V
I~~~ 0
.. · ~ 1: Select output
channel 0 ... 1
and output

*) If the module is placed to an address other than 0, the corresponding


basic address must be added.

SAIA.PLC Programmable controllers


538
/

Analog value output in the form of subroutines (output channels)


The following versions a to c are distinguished by their software levels,
program lengths, execution times and the number of program changes. Version c
results in the shortest execution time. Due to the standard execution time of
2.13 ms, however, the PP-change is blocked and the serial interface is no
longer operated for this period. If the serial interface is to function si-
multaneously with a baud rate of 4800 or 9600 bauds, either version a or b
can be used or version c with the commands NOP 1111 (operation of the data
interface) given in brackets.
Subroutine Number of Execution time Number of program
version program lines changes (incl. RET)
PCA14/15 PCA14/15
a 31 3.09 ms 11
b 15 4.31 ms 13
c 18 2.13 ms 1

a b ~ (software level ~)

2~~* 0~
600 (SEA 650 f SEA 700 (SEA 0)
I SEO _SEO 23 * SCR 301 } Value from C301
STH 411 SE! 0 22 411 to flags 400 ... 411
~ OUT21 * r-- STH 1406 REO 412
· STH 410 i OUT 1016 * I SEO 413 I - - SEO 23: Word 1
~ OUT20 * : IN!
JIO
5 SCR 300 Word 1 (8 bits)
~ STH
409 L __
24 413 to C300
s OUT
. . . STH
Ill
OUT
19 *
408
18 *
r--
:
I REO
STH
OUT
23 I*
1400
1016 *
(NOP
SCR
21
1111 **)
300
23 *
} Word 1 (8 bits) to
buffer 1 (SEO 23)
·-2:!
.... STH 407 i DE! 0 REO 406
e OUT 17 * L __ JIO REO 407 * ----- REO 23: word 0
~
c:z:
STH
406 SEO 22 * SCR 300 } Word 0 (8 bits)
OUT16 * ORH 17 * 24 407 to C300
SEA 0 REO 22 * (NOP 1111 **)
I REO23 I* RET SCR 300 } Word 0 (8 bits) to
STH 405 21 23 * buffer 0 (REO 23)
OUT 21 * SEO 22 * } Output analog
ORH 17 * value via
. REO 22 * channel 17
STH 400 RET 0 Word 0 Word 1
OUT 16 *
SEA 0 400
• • • • •
405 , 406
• • • •
4111
• • •
413
0 0
SEO 22 * 1
ORH 17 *
REO 22 *
RET 0
16 v
1 I I I , , I
21

Buffer 1 ~
EA 16 21 1L----~ ©;

II I I I
Buffer 0
~--~@
I I I
For versions a and b flags 400 ... 411 are used. Version c uses counter C301 as
an output register. 14 flags 400 ... 413 are used in version c to load the
buffers.
* For basic address 16.
** PCA14 from version\16.034 onwards for a baud rate of 9600 bauds.

SAIA®PLC Programmable controllers


548

B 1.1.16 Type PCA1.W40 Analog input module for temperature sensor PT 100
Technical data
Number of inputs 6, electrically connected
2-, 3- or 4-wire technology,
independent of each other
Temperature sensor PT 100
Measuring ranges -20°C to 150°C or 0° to 400°C 1
>

Resolution 8 bits (1/256 ~ 0,4%)


Accuracy (absolute deviation) 3 bits (~ 1. 2%)

Power supply per sensor 2mA


Time constant dependent on the sensor response time
Internal power requirement 5V 40mA
24V 40mA

1) Measuring range selectable by jumpers:


Measuring range Jumpers
-20°C to 150°C A ; D (factory setting)
0°C to 400°C B; C

Resistance table PT 100/binary value PCA1.W40

Sensor Sensor Binarv value


temp. res. R Meas. range Meas. range
oc n -20°C - 150°C 0°C - 400°C
-20 92.2
0
65
100.0
125.15
0
30
128
1i1
42
150 157.28 255 96
200 175.76 (255) 128
400 246.60 (255) 255

SAIA"PLC Programmable controllers


558

Presentation
The analog module for the PT 100 temperature sensor consists of two pc-boards
arranged on top of one another.
Sensor adapter card (lower)
.'
r-------------:::===l-- Bus-connector
0 ------------ 0
Plug connection to analog card
0 0
II -+------+-- Reference voltage

I··r·
ABCD
Jumpers for selecting the
··r·
I•• • 1··r·
•• • 1··r· •• • 1··1·
•• • 1··r· •• • r··r
••
measuring range
•••
DDDDD5 .. 3 2 , Trimming resistors
DDDDD
DDDDD Operation amplifier

Plug connection to analog card

Terminals PT10{1

O AC 0

/
\/
5 .
\I I/
3
I/
2
\/
1
\/

Address (for plug-in location ~)

Analog/digital card (upper)

0 o o o o o o o o o o o o__.-L.-11-- Connect ion to sensor card


AID-converter for inputs
Reference voltage

Voltage stabilisation

Input circuits

0 0 0 0 0 0 0 0 0 0 0 0 Connection to sensor card

SAIA'PLC Programmable controllers


568

Input/output circuit and block circuit diagram


Selection of I-channel 3
and AID-conversion

2mA

·B
I
E
27k lllln Channe 1
selector

0-address
.A
l Sensor adaptation AID-conversion with
channel selector Reading of
8-bit binary
Connection: value

4-wire technology 3-wire technology 2-wire technology

Programming example for address range 0 •.. 7


Reading in the analog input value at channel 3 (ADDR 3). The corresponding
binary value is to be transferred to counter C260.
100 OUT 31 > Select I-channel 3 and start AID-conversion
101 SCR 260 Read binary value of 8 bits to counter C260
102 24 ?1>

Please note the basic address, i.e. on which location the module is mounted.
Example with basic address 24: OUT 3 __
.,. OUT 27 (24+3)
SCR 260 .,.. SCR 260
24 7 .... 24 31 (24+7)

SAIA"PLC Programmable controllers


578

B 1.1.17 Type PCA1.Fll/F12 Preselector module for entering numerical values


Application
With the preselector module numerical values can directly be entered without
external wiring. If they are transmitted to the non-retentive flags or to
counter registers, these values can be used as times, counter states or
preselections of analog values.

Technical data
Number of input circuits 8
Range of digital values 00 ••• 99

Input mode Multiplex


Internal power consumption of 30mA
the module (5V)

Presentation and switch allocation

Bus plug
0 -------- --- 0

Selection and read logic


c::J c::::J c::::J c::::J
c::J c::::J c::::J r::-::::+.--t---t Diode matrix for
c:::J c=i c=i multiplexer
c:::J C=:J C=:J

1~£1~~1 4 5
8 preselector switches

c:::J c=i
C:=J c=i
c:::J c=i
c:::J c::::J

l~~WI 4 1
Mounting holes and ground
connection to housing
0

The following versions are available:


- PCAl.Fll with 4 pairs of preselectors, addresses 0... 3
- PCA1.F12 with 8 pairs of preselectors, addresses 0... 7
Due to removable BCD switches on sockets, every desired combination is
feasible.

SAIA®PLC Programmable controllers


58B

Principle scheme
.
~-EJ 1

LBS
A~ 0

Address
and
control
lines
El Al
II l
Tens I"
A.2
A3
A<+
AS
A6
- Y Ones::
Al

E~ 1 2 3 4 5 6 7
Read line

The allocated pair of preselector switches (ones and tens) is activated by


setting of output A0 ... A7. The preselected value can be read from the 8 address
elements E0 ••• E7 and afterwards be written on a non-retentive flag or be loaded
into the desired register by a set timer or set counter operation. The
activated outputs have to be reset afterwards.
Programming example:
The preselector module uses the address range 24 ... 31.
a) The 2-digit value selected by preselector 2 shall now be read and loaded
into counter register 262.

(SEA 0)
SEO 26 Setting the pair of preselector switches {addr. 24+2)
SCR 262 Setting the counter with
16 31 BCD-input x 1
REO 26 Resetting the pair of preselector switches

b) The value of pair 6 of the preselector switches shall be loaded into non-
retentive flags 424 •.. 431 .
. .
(SEA 0)
SEO
~~~1 }:::::::,::: p:;rv::u:r~:·:::::r sw;tches (addr. 24+6)
0
SEI
r-STH
: OUT
:I IN!
._ __ JIO
REO 30 Resetting the pair of preselector switches

SAIA"-PLC Programmable controllers


598

B 1.1.18 Type PCA1.F21/PCA1.F22 Data line switching module (only PCA14)


Application
The module PCA1.F21 is fitted with one, the module PCA1.F22 with two serial
interfaces of the type RS 232c. Via the DATA LINES of the CPU PCA1.M4 .. data
can be transferred between the SAIA 0 PLC and the peripheral units connected to
the PCA1.F2. The module PCA1.F21 is particularly suitable for connection to a
modem.


MODEM RS232c
PCA 1.F21 •
.

Telephone exchange

DATA LINES PCA14

1 peripheral connector 20'mA current loop

0 Do RS232c
~

PCA1.F22 •
..

RS232c
Printer
DATA LINES PCA14

20mA current loop

2 peripheral connectors
one above the other

SAIA~PLC Programmable controllers


60B

Technical data
PCA1.F21 PCA1.F22
Number of peripheral 1 2
interfaces
Type of interface RS 232c RS 232c
Used addresses 8 8
Data transfer The data transfer is performed between the
CPU PCA1.M4 .. via PCA1.F21/F22 and the
connected peripheral units.
Management of the peri- By means of the user program with the
peral interfaces corresponding control and status signals
Number of control and Total 6
status signals per
peripheral interface CTS}
DSR Readable signals (status signals)
DCD

RTS}
DTR Settable signals (control signals)
ADC
Transmission speed 110 to max. 9600 bauds*, defined in the
software by the PAS 100 instruction
Signal level of the data "L" : + 12V
lines (according to "H" : - 12V
standard RS 232c)
Level of control and "L" . - 12V
status signals (acc. nHu : + 12V
to standard RS 232c)
Connector for RS 232c 25-pole miniature connector, female (for
details refer to section 11 Pin assignment")
Power consumption F21 F22
(internal)
5V 125 mA 230 mA
24V 26 mA 43 mA

*) High baud rates depend on the program structure.

SAIA'PLC Programmable controllers


618

Presentation
PCA1.F21
------- ____ ---- ___ - - - t - - - Bus-connector

OOO -;----------+--- LED-displays


l-----J---Jumpers for selecting the displays of
one control and status signal each

Voltage Circuit
supply ±l2V for
RS 232 c

Transm./receiv.
20'mA
Screw terminals for connection
for the 20mA-current loop of the PCA14
TxO

Mounting holes and ground connection


to the housing

Peripheral connector 1

PCA1.F22

------------------.:::...~-r~~

,o ovo o,l''o o"'o o"


.-----====;-""---------1--- LED-displays for peripheral connector 1

Jumpers for selecting the displays of


_..._.--~i-...---one control and status signal each
for peripheral connector 0
Vo Hage for peripheral connector 1
Circuit
supply ±l2V
for
RS 232 c

Transm./receiv.
20mA Screw terminals for connection
for the 20mA-current loop of the PCA14
TxO

Mounting holes and ground connection


to the housing

' - - - - - - - - - - - - - \ - - - - - - - - - P e r i pliera l connector k)


Peripheral connector 1

SAIA"PLC Programmable controllers


628

DATA LINES connection between PCA1.F2 and PCA14


Like an I/0-module, the module PCA1.F2 can be plugged into any location on
the PCA14. Wiring must be effected in such a way that the 20mA-current loop
of the PCA14 is active.
The external connection CPU ---> F2 is performed observing the same rules which
apply to the cable layout of a 20mA-current loop. Two PCA1.F2-modules can be
connected in series resulting in an increase of the number of interfaces to
max. 4.

+
LE~
--
LED
Tx ./
/ Converter~ ~
RS232c/WmA

Rx
CTS Vl
:::l
DSR c::i
I
DCD Cl.> u N

....<.
u _J
"'u LI..
4- N a.
<-. ""' 0
RTS Cl.>N
~I/) et:
....... u
DTR - 0::
et: c..
V)
ADC
Tx
Ll"D

.. Converter~V.
Rx
--- _
-~
RS232c/20mA

PCA14

OATA
LINES

active

SAIA'PLC Programmable controllers


638

Address assignment and function of the signals


The peripheral interface of the PCA1.F21 or the two interfaces of the PCA1.F22
respectively must be managed by the user program. 1n order to make this
possible, 3 status and 3 control signals each which can be set or read in the
user program are available for each connector.

Address assignment

Address * Abbreviation Treatment


0 SEL 0 Settable and readable
,,-.-._
>,
..-
c
1 DTR Only settable
\SI. 0 DSR Only readable
l-N
ON
+' LL
u •
2 RTS Only settable
ClJ ...---
c <(
CTS Only readable
CU
0 CL
u..__... 3 ADC Only settable
DCD Only readable
4 SEL 1 Settable and readable

...--- 5 DTR Only settable


!.... DSR Only readable
c
+>
u
ClJ 6 RTS Only settable
c
c CTS Only readable
0
u
7 ADC Only settable
DCD Only readable
-

*) The addresses are valid for the mounting location 0. The respective basic
address must be added for other locations.

SAIA®PLC Programmable controllers


648

Function of the control signals

SEL 0 1
I With the instruction SEO SEL 0, 1 the data
(Select) lines (TxD, RxD) of the respective peri-
pheral connector 0 or 1 are connected
to the DATA LINES of the PCA14.
With the read commands (e.g. STH SEL 0, 1)
it can be determined which peripheral
connector was connected to the DATA LINES.

DTR These three signals are control signals as


(Data Terminal Ready) described in the standard RS 232c. They can
be set in the user program, thus supplying
RTS 1) certain instructions or states to the con-
(Request to Send) nected peripheral unit. The signals can be
interpreted in different ways depending on
ADC the peripheral unit.
(Auto Dialer Control)

DSR These three signals are status signals as


(Data Set Ready) described in the standard RS 232c. They
can be read in the user program. The indi-
CTS 1) vidual signals are interpreted depending
{Clear to Send) on the peripheral unit and must be pro-
cessed correspondingly in the user
DCD program.
(Data Carrier Detect)

1) Similar to the input/output module PCA1.B90 two signals each use the same
address. (DTR/DSR, RTS/CTS, ADC/DCD). Consequently, one signal can only be
set, the other one can only be read (see also Address assignment").
11

SAIA"PLC Programmable controllers


658

Meaning of the LEDs

Function
LEDs
0 Status signal
0 Control signal
0
Connector 1
RxD
0
TxD
Jumpers for

~
0
connector 1
0 Status signal
Jumpers for ~ 0 Control signal Connector 0
connector 0 0 (PCA1.F22 only)
(PCA1.F22 only) RxD
TxD

Jumpers for status and control signals:

a c DCD
Status signals (readable signals)
CTS ! Insert one jumper only !
~
a c DSR
0 0 ADC
Control signals (settable signals)
~ RTS ! Insert one jumper only !
a o
DTR

For each connector 1 status signal and 1 control signal each can be displayed
on the corresponding LED. The jumpers can be reinserted during operation, which
permits checking the function of the connected peripheral unit.
If no jumper is inserted for the status or control signals, the corresponding
LED is permanently illuminated.
The LEDs "TxD" and "RxD light up, if data is being transmitted or received.
11

Depending on the baud rate and telegram length only a short flash or a long
flickering is recognized.

SAINPLC Programmable controllers


668

RS 232c interface cable


The standardized guidelines hold true for laying the signal cable of the
RS 232c, i.e. screened cable with a max. length of 15m (if possible not
in the same cable duct as the power cables).

Pin assignment (according to RS 232c)

Pin no. Abbreviation Signal name Direction of signal


I Periph. j [ill]
1 PGN Protective Ground
I
2 TxD Transmitted Data
3 RxD Received Data -

4 RTS Request to Send -

5 CTS Clear to Send


6 DSR Data Set Ready
7 SGN Signal Ground
8 DCD Data Carrier Detect

I 9 ADC Auto Dialer Control -

20 DTR Data Terminal Ready -

18 - 12V Imax: SmA


21 + 12V Imax: 5mA

Counter-connector
with screw locking
25 0 13
21t 12
..•
• :...• Connector on PCA1.F2
female
...••
2
1

PCAl. F2

SAIA'PLC Programmable controllers


67B

B 1.1.19 Type PCAl.Hl .. Rapid counter or pulse generator up to 10kHz,


6 decades
Applications
- Counting of pulses up to a frequency of 10kHz: For example, from pulse
generators, which are used for the determination of angles of rotation,
throughput quantities, number of items or digital lengths.
- Recognition of the sense of rotation with 2-channel incremental shaft en-
coders: For example, for positioning with DC-current motors and connected
pulse generators.
- Output of control pulses (2-fold): This allows positioning of x-y-tables,
palletizing devices, handling robots with an appropriate stepping motor
control.
- Measuring of frequencies, period lengths or pulse lengths, e.g. for deter-
mining the speed, number of revolutions, flow, synchronization, frequency,
etc.
- Output of register contents to display modules PCA2.Dl2 (4 decades) or
PCA2.D14 (2 x 6 decades).

Presentation
r------------:::~:i-- Bus-connector
o--- ---
Attached counting
mode supplementary
o o o o o o o
module
PCAI. Hll - - - - - - -:;i
I
General logic - - - - - J - - - + - I
I

I
I
~ c=J
Output stages ---~1--

Input filter ----+-+------'--+-- -+---4-- System program (EPROM)

Mounting holes and


ground connection to
the housing
Detailed documentation and software modules
The detailed manual is available in German and English and consists of about
100 pages.
It also includes software modules and practical examples of application. The
software modules may also be used as macros for the SAIA 0 PCA ASSEMBLER.
Please contact our selling agencies.

SAIA.PLC Programmable controllers


688

Technical data

Counter module PCA1.H1p Counter module PCA1.H1@ as pulse


enerator
Nunt>er of counting systems 1 the same module functions either as
Counting frequency max. 111\kHz counter or pulse generator)
Counting capacity max. 999·999 (6 decades)
Counting direction Number of channels 2
up and down
Data memory Frequency max. 111\kHz
volatile (data can be saved via
CPU-registers) Frequency selection via user prograrr, divisible Into
Counter state display with 2 display modules PCA2.D12 steps of approx. SS

Inputs Stability better than ~.IS above the temperature


- clock for counting pulses range
- up/down for counting direction
Display of the logic states by Signal symmetrical square-wave signal
2 LEDs Start generator via the user program
24VDC/11!mA, source or sink operation Stop generator after output of the progranrned number
Input delay 511\µs of pulses or via Inputs stop
Outputs Direct coincidence outputs
- COOR: Low If Z = R Single pulse via user program pulse length according
- C000: Low If Z = l!l to the progranmed frequency
High by setting In the user program Outputs - Fe1: Generator 1
Outputs comparator or display mode - Fll2: Generator 2
- Z>R Supply voltage 5.•• 32VDC/51!l0mA, positive
- Z =R switching
- Z< R
- Z = II
Display mode selectable via user
program
Display of the logic states by
6 LEDs
Counter module PCA1.H1@ as measuring
module
5 ••• 32VDC/51!ll!mA, positive switching
load resistance min. 48l'l for 5 ••• 24V (identical hardware)
Connection Pairs of screwless terminals Number of channels 2
Measuring frequency max. SkHz
Accuracy tio (25°C)
Modes (software) - Frequency measurement
- Period length measurement
Counting IROde supplementa!l: module - Pu I se nEasurement
PCA1.H11 Frequency measurement Duration 6-dlgit In ms
(can be plugged onto counter module)
Period length Number of periods to be
measured, 6-digit
Counting rodes phase decoder (M1) or up/down rode
(M2), can be selected by plug-In Pulse length Number of pulses to be
jumpers measured, 6-digit
Phase decoder (Ml) 2-phase at Inputs A and 8, t)pe of Inputs E1 signal Input
pulse processing (xl, x2, x4
selectable with plug-In jumpers Outputs n duration of measurement
A6 overflow
Up/down nt>de (M2) Pulses at Input A counting up,
Pulses at Input B counting down
Inputs A and B 24VDC/11!mA. source or sink operation
Input delay 5~µs Available versions
Counting frequency max. 111\kHz
PCA1 .Hiii Counter module for deries PCA1
(alternatively usable as pulse generator)
PCA1.Hll Counting nt>de supplementary module (delivered separately)

In order to diminish the internal power consumption (at 5V) from 350mA to
190mA, a special version using CMOS technology was developed. It is referred
to as PCAI.HI0 Z16. This is now the standard version.

SAIA"PLC Programmable controllers


698

B 1.2 Internal power requirement of the PCAl modules


The internal power supply for 5V and 24VOC is provided by the power supply unit
in the basic module or extension module respective'Jy. The total current re-
quired for CPU, I/0-modules and programming or display module must not exceed
the nominal power handling capacity.
Nominal power handling capacity of the internal power supply and constant loads
of CPU, 011, 013, P10 and P05.

Nominal power handling capacit~ of 5V side 24V side


the power supplies of PCA1.M4 .. , mA mA
M5 .. C45
I 1 1 700 800
Power requirement CPU M4 .. 600 0

- CPU M5 ..
Extension C45 *
Power requirement Dll
450
90
0
0
100 0
013 10 0
(012) 0 external
(P10) (200) 0
(P05) (150) 0

*) It must be noted that the .. C45 extension is able to supply about 500mA
more current than the M4/M5 modules, because of the removal of the CPU
on the 5V side.

SAIA"'PLC Programmable controllers


708

Power requirement of the PCAl I/0-modules

Series I at 5V (A) I at 25V (A)


PCAl H (max.) L (min.) H (max.) L (min.)
El0/El 1 68 11 0 0
E20 70 10 0 0
E40 70 15 0 0
E50 68 11 0 0
A10 146 86 7 18
A21 90 34 140 0
A30 100 26 7 7
A50 90 35 30 0
810 112 54 4 9
880 120 30 0 0
890 105 50 50 50
F12 30 30 0 0
F21 125 125 25 25
F22 230 230 45 45
W12 40 30 25 25
W24 70 60 70 40
W32 120 100 100 60
W40 appr. 40 appr. 40 appr. 40 appr. 40
H10 Z16 190 190 55 55
H10 350 350 55 55
Hll 22 22 -- --
R20 85 85 -- --
R20 + R25 95 95 -- --
H: all LED are on or max.
L: all LED are off or min.
Example:
50% I/O = H
5V/mA 24V/mA
PCA1.M47 600 0
4 x 890 210 + 100 100 + 100
2 x A10 146 + 86 7 + 18
2 x A21 90 + 34 140
1 x P10 200 0
TOTAL 1466 mA 365 mA
(< 1700 mA) (< 800 mA)

SAIA"PLC Programmable controllers


718

B 2 Programming units, additional units and accessories


Additional units used for programming (simulation, starting-up, documentation)
P05 Hand-held programming unit PCA2.P05
P01 Programming interface PCA0.P01
S10 Input simulation unit PCA2.S10
K80 Cable PCA1.K80
S05 Input simulation unit PCA2.S05
P18 Programming unit PCA2.P18
PCASS SAIA 0 PCA ASSEMBLER PCASS
P16 EPROM-Kopiergerat PCA2.P16

Memory modules
R95 Memory module 4K, non-volatile PCA1.R95
R96 Memory module 4K, non-volatile PCA1.R96
R20 Text memory extension module PCA1.R20
R25 Data memory extension module PCA1.R25

Display modules
DU Display module, 4-digit PCAl.Dll
D12 Display module (remote display), 4-digit PCA2.D12
Dl3 Display interface for D12 PCA1.D13
D14 Display module (remote display), 2x6-digit PCA2.D14

External interface module, type KOM


KOM 1118 Dual-input interface, 220 VAC, type D4, output 24VDC/40mA
pulsating per input
KOM lllB Dual-input interface, 110 VAC, type CB, output 24VDC/40mA
pulsating per input
KOM 1218 Dual-relay output interface, type M4
Switching power ACl : 6A, 250 VAC (per output)
ACll: lA, 250 VAC (per output)

SAIA.PLC Programmable controllers


728

B 2.1 Programming units


B 2.1.1 Hand-held programming unit PCA2.P05
This compact programming unit was developed in particular for the series PCA0,
but it can also be used for the series PCAl and PCA2.
All operating modes can be selected with keys. Programming is performed in the
PROG -operating mode by means of a 10-part keyboard in simple numerical code.
11 11

All elements (inputs, outputs, flags, timers, counters) can be queried or set
in the "MAN"-operating mode.
All timer and counter values can be indicated in the RUN-mode. In the operating
mode "STEP a jump can be effected to any program line (= step address) of the
11

user memory. Finally, "BREAK" permits the program processing up to a set break-
point and continuation in step-by-step operation. For details refer to chap-
ter C "Operating modes".
It must be noted that the keys for selecting the operating modes must be
pressed at least 0.Ss for safety reasons. The selected mode is displayed by
the corresponding LED.
In the case of PCA14, the operating modes are selected with the sliding
switch on the basic module.

Connecting cable for PGU-connector


~~~..:...-~~~~~~~~~~~~~~---(
~
I

Indication where input is effected


-.........
~STEP CODI! OPERAND
0 0 0

100~[;)~1~100~~~1
Display of a program line (7-segment-LED)
Display of the accumulator status (ACCU) l,.
QRUN ACCU•10
QBRUX
Display of the selected operating mode Qsm>
QTEXT
OMAN
OPAOG =mrrn=
I Keys for the selection of the operating modes I ~ w::J WJ
(PCA 15)
.... ~ r:::::J c:J
-
[Ll [!] [!] [!]
16-part keyboard
with 10-part block and 6 function keys 8QC!J L£J
[QGJ[2J Cl
w!~C!J~

~AIA"PLC Proerammable controllers


738

B 2.1.2 Programming interface PCA0.P01 for PCA15


This interface allows connection of the following SAIA 0 PLC programming units
to the series PCA15:
PCA2.P18 - Hand-held computer with a wide range of possibilities
(from software version Vl8-04 onwards)
PCASS - IBM-PC with SAIA 0 PCA-ASSEMBLER
As a result, all upwards compatible tools of the SAIA 0 PLC, system family PCA,
are available also for the PCA15.

25-pole connector
for PGU-connector of PCA15

Flat cable
'
B
(•!!!Im•)
Operating mode selector
- - - -{
Connector for the SAIA PLC progranming
0
iJO
-~
~ _,.
units, system family PCA (excl •••• P05)
- ~ ~
-
B 2.1.3 PCA2.S10 Input simulation unit
Its purpose is to simulate input signals via toggle switches so that a program
can be tested "at the desk". This considerably facilitates the commissioning of
the actual control system.
A transformer with rectifier is supplied from a mains cable. From the rectifier
is a branch to 32 numbered toggle switches, the signals from which are fed to
the PLC inputs via a system cable and plug.
Ordering designation for connection to 220VAC: PCA2.Sl0 D4

------------ Front plug to input module

Q l(jr-------- Europe type mains plut


Miniature fuse I .;"'C

~-__,0~ ~
Miniature fuse :+ : ! §-
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0 ll::Y----32 toggle
fJ,63A
.___.....~~ ~ ;
2 : : J ___2_4v_A_c-t -43, 35, 36, 37 :
switches
0 0 0 0 0 0 0 0 .
c:
0
~
I u..

SAIA"'PLC Programmable controllers


748

8 2.1.4 PCA2.S05 Input simulation and supply module


Ordering designation for connection to 220VAC: PCA2.S05 04
The housing is identical to that of the S10, except that it has an integrated
supply of 24VDC and a pair of BCD-switches for entering numerical values. A
reversing switch also allows using the pulse keys. Direct connection of cables
to inputs (see also dimensional diagram, chapter B 2.4).
i-::·-·-·-·-·-·-·-·-·
I l'LA2.S05

2 BCD preselection
switches
}

O----'-H+l-l-H-----015
o--'ff+t+t-----v14 or t
L
o--~-H-----013

,.
12 8 inputs Right-hand

--~+1-------0~ ~~~:,b~t:"J :·~


7

Fuse :
F./ ~I ~ }
~ t~~~~~s
lA (i) I HJ ,, switches) left-hand
t-c::::J-....::;:_-+---.-----it--...__ cable
24VOC
M blue
G
L ________ _
·-·-·-·J red '
blue '
for power supply
PC Al 24VUC
L---------_;___;_:1-l-c::::::>- M (max. ,0', SA)
+ l
Intermediate cable type PCA1.K80 for PCA2.Sl0
The cable K80 is connected to the connector of the Sl0-device and led out via
33 pins with the aid of hardened steel pins. Each of these pins can be plugged
into the I-terminals and removed without tools.
The K80-cable can be used for all input modules (El0, Ell, E20, E40 und 810, 880,
890). However, the respective bridge circuit of the minus (M, Lor -) must be
observed.
PCA2. 510 PCAl PCAl
Detail @
K80 3! 32 blue

0 0 0 0 0 0 0 0 A
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 A
0 63

Connect ion of I-roodu les

SAIA'PLC Programmable controllers


758

B 2.1.5 Programming unit PCA2.P18

Brief description
The programming unit PCA2.Pl8 is a compact and versatile means which can be
used for programming all SAIA 0 PLC as well as for servicing.
The P18 uses the commercial hand-held computer, type NEC 8201A, as hardware.
Compactness combined with a high degree of intelligence, an efficient firm-
ware and a variety of peripherals form an ideal portable programming unit,
be it on your desk or out in the field.
With the SAIA 0 PLC connected (via PGU-connector), the P18 makes programming
very easy. Moreover, SAIA 0 PLC texts can be edited or all PLC-registers can
be accessed on-line for servicing purposes via the 20mA-data line of the
PCA14 and PCA15.
In short, the following functions are possible:
- Programming in numerical or mnemonic code
- Display of program sections and texts
- Search functions
- Storage and loading of user programs and texts
- Printing of programs (on an external printer)
- Editing and output of SAIA 0 PLC texts
- Acces to data and registers of the SAIA 0 PLC while user program is running.
Thanks to the permanently stored BASIC-interpreter and the text processing
program, the P18 can also be used as a portable personal computer. Numerous
additional interfaces and the corresponding software support communication
with peripheral units such as printer, modem, tape unit, disk drive unit and
bar code reader.
A detailed description is supplied with each unit.

SAIA~PLC Programmable controllers


768

B 2.1.6 SAIA 0 PCA ASSEMBLER


The software package SAIA 0 PCA ASSEMBLER for comfortable programming,
documentation and starting-up
The PCA-ASSEMBLER makes programming of the PCA-family of controllers very easy.
The user is efficiently supported in his work by practical menus and the
appropriate auxiliary pages which means that he virtually does not require a
manual or a knowledge of MS-DOS.
The user program is written in the so-called 11 Editor 11 using a conventional text
processing program (e.g. Personal Editor or Wordstar). It is possible to use
practice-oriented designations for the operands to mark jumps in the form of
symbols and labels which are then converted to a PCA-program by the actual
"Assembler" and 11 Linker 11 • Macros with parameters can be implemented for
frequently used routines and comments can be used for clearly documenting
the new program.
Further possibilities of the new PCA assembler include the modular and global
documentation, presentation as flow-charts, an efficient cross-reference list
and it is also possible to load the program directly into the RAM-memory of the
PCA.
Its advantages become obvious particularly when the controller is started up.
In RUN-mode the "Online Debugger" allows the actual states of elements such as
inputs, outputs, flags, timers, counters, registers and the date-time to be
displayed and also modified. The programs 11 P10 11 and 11 CI 11 permit direct access
to the RAM user memory of all PCAs. By selecting the submenu "Program eproms 11 ,
tested user programs can be directly loaded into the EPROM programming units
PCA2.P16 or ERTEC PGS49.
The software package SAIA 0 PCA ASSEMBLER can be run on all IBM-PC/XT/AT or PS/2
or compatible units which fulfil the following conditions:
- 512 Kbyte main memory
- 2 floppy disk drives of 360K or even better 1 floppy disk drive and a hard
disk
- 1 or even better 2 bidirectional, parallel interfaces for controlling a
printer and for connection to the PGU-connector of the PCA
- Monochrome or colour VDU (with MCGA, CGA, EGA, VGA or Hercules cards)
- Keyboard as desired
- Operating system MS-DOS 3.0 or a higher version
- Cable PCA2.K43 for connection to the PGU-connector of the PCA
- Text processing program as desired (Personal Editor and Wordstar are
recommended)
A detailed description is available for every software package.

SAIA'"PLC Programmable controllers


778

Screen
Main menu of PCA-ASSEMBLER

SAIA PCA ASSEMBLER Ul.1 MAIN MENU


HHJO~H SAIA AG Harktberelch CH
16.12.88 13.30

Edit Text asseMb ler CoMpare prograMS

AsseMble DisasseMbler Xrer listing

Link flolJ chart File handling


Up/download RuntiMe analysis Hs-dos cot1t10nd
Online debuQ Hex converter Set up

coMMS Interface P.rograM eproMs Quit

<AHHUU>, <SPACE> or <Tab> selects operation, <CR> or <COMMand letter> executes

ONLINE DEBUG menu of PCA-ASSEMBLER

SAIA PCA ONLINE DEBUG U3.4


Display~~~~~~~~~~~-.

CZG0 yy MO dM hh MM SS
elZ 8 03 88 lZ 15 17 05 58
BZ00
Progrn
:f:0 A 1 03 2
TZSEi A 2 03 7
A 3 10 lZ
A 4 10 21
A s 10 13
A 6 10 24
A 7 14 256
A 0 00 500
A 9 01 256
A 10 10 zs
A 11 20 0

Display Urite PrograM clocK Save Load coMMs-lnterrace Reset Quit

SAIA'"PLC Programmable controllers


78B

B 2.1.7 Type PCA2.P16 EPROM-copying unit


Owing to two high- quality sockets (Texttool) the unit can be used for copying
and comparing EPROMs and buffered RAMs independently of other units. The serial
interface RS 232c permits connection of any commercial personal computer. A
program supporting operation of the P16 from the IBM-PC is part of the PCA-
assembler (package no. 3).

Selection
Selection of the of the operating mode
type of memory VERIFY : Check for equality
ERROR : Error message

/
__1-----, ....
SELECTION
PROGRAM : Start copying

r R85""'

ICJ~CJc::J~ ~ CJ CJ!
IN USE 0
PROGRAMMING 0
2716 2732 2764 27126 27256 VERIFY ERROR PROGRAM

~ ~

nMASTER 0
'i r
I
i

PCA2.Pl6 ._) .,_)


fil1m
MASTER memory or ~ Destination memory:
SOURCE: EPROM or RAM
- EPROM or RAM

The P16 meets especially the requirements of the SAIA 0 PLC. In addition to the
usual EPROM types 2716 to 27256, the buffered RAMs PCA1.R95 and PCA1.R96 can be
written to and read.

SAIA'PLC Programmable controllers


798

Technical data
Supply voltage 220 VAC 50 Hz ± 10%
Power requirement 20 VA
Microprocessor MC 6809
Serial interface RS 232c (9600, 2400, 1200 and 300 bauds)
Dimensions 222 x 47 x 172 mm (W x H x D)
Weight 1.7 kg

With the P16 the following memory modules can be programmed:


Type Programming voltage:
2716 25V
2732 25V 1) 3)
2732A 21V 1)
2764 21V
27128 21V
27256 21V 2)
2816 3)
PCA1.R95 (buffered RAM)
PCA1.R96 (buffered RAM)
1) For the type 2732A the P16 has been set to a programming voltage of 21V
(factory setting).
For the type 2732 which has a programming voltage of 25V, a jumper needs to
be re-soldered on the pc-board EP 80 067.
2) For the type 27256, which has a programming voltage of 12.5V, the resistor
R3 (3k6) needs to be changed to 2k on the pc-board EP 80 066.
3) Do not use with SAIA 0 PLC.

Copying
During copying, data is read from a master-IC and written to a copying-IC. When
working without the Personal Computer, i.e. without using the serial interface,
copying can usually be performed only using the same types of EPROM. However,
mixed operation is possible using the EPROM 2764 and buffered RAMs PCA2.R95 or
PCA2.R96. Only the entire memory contents can be copied from the MASTER socket
to the COPY socket.
1. Select the copying EPROM with the appropriate key. The corresponding LED
lights up. For the EPROM-emulators R95 and R96 the keys 2716 and 2732 must
be pressed simultaneously.
2. Insert the master-IC and the copy-IC in the frames. Take care that the notch
or pin 1 respectively is at the top on the left.
The !Cs are retained in the frames by pressing down the levers. In the case
of the 24-pole !Cs it must be noted that the upper contact openings must not
be covered.

SAIA'PLC Programmable controllers


BOB

3. Press key 11 PROGRAM 11 • The LED 11 IN USE 11 lights up for a short time. During
this time a check is performed to determine whether the memory module to be
programmed has been erased. Afterwards the LED 11 PROGRAMMING 11 also lights up
until programming is finished. Any errors which occur during programming,
are displayed by the flashing LED 11 ERROR 11 • Moreover, an LED lights up in the
keys indicating the type of error.
Error messages
Key 2716 : EPROM cannot be programmed
Key 2732 : EPROM has not been erased
Key 2764 : EPROMs are different
Key 27128: EPROMs are different and copy-IC empty
Key 27256: 2816 cannot be erased
The error display is cleared with the key 11 ERROR 11 •

Comparing
The procedure is similar to copying. However, The LED 11 PROGRAMMING 11 does not
light up. Proceed as follows:
1. Select copying-EPROM with the appropriate key.
2. Press key 'VERIFY'.
If no error message appears, the contents of the two memory modules are the
same. The flashing LED 11 ERROR indicates an error (see list of errors).
11

Erasing the 2816 (EEPROM)


In order to erase the 2816, press the key 'ERROR' and 1 2716 1 simultaneously.
Important: The memory module 2816 cannot be used together with the SAIA 0 PLC.

Serial interface RS 232c


The integrated serial interface offers the experienced user manifold possibi-
1ilities of programming the Pl6 from a Personal Computer. See also chapter B.6
of the manual PCA2.P16.
When the PCA2.K46 cable is used, the transfer of data is supported under menu-
guidance by the SAIA 0 PCA ASSEMBLER with the "Program eproms 11 program.

SAIA"PLC Programmable controllers


818

B 2.1.8 Type PCA1.R95/R96 Buffered RAM chip


RAM-memories are read-/write-memories, which means that the information ran be
modified at any time with the aid of a programming unit (as data memory ;n the
PCA14 also via the user program).
The buffered RAM chip is the ideal memory chip serving as a program and text
memory from the programming stage to the start-up. Owing to the incorporated
buffer battery and the protective electronic system this memory chip can be
detached from the PLC and transported without modif~·ing its contents.
The slightly conductive plastic socket protects the pins against static
charges, thus avoiding memory content changes. The internal battery is
thereby not discharged.

Memory type PCA1.R95 PCAl .R96


Storage capacity
- Program lines 4K 4K
- Texts, data SK BK
Number of pins 28 28
Buffer battery life approx. 8 years approx. 6 years

Application in PCA14/15, PCA0 and PCA2.

Presentation
18

....... '
......

u 1T
• ....
NON-
VOLATILE
RAU
6264/8464
4KINSTR.
PCA1.R95

8751

SAIA"PLC Programmable controllers


828

(for PCA14 as of version V6. 34)


The text memory card PCA1.R20 increases the storage capacity for texts five-
fold. In addition, the text memory module offers the possibility of reserving
the whole memory mounted in the CPU for user steps or as data memory and of
storing all texts on the text module.

Technical data
Text capacity 4 x BK characters = 32K text characters
Types of memory - for buffered RAM-memory PCA1.R95 or R96
(sockets) - for EPROM type 2764 (order no. 4 502 4719 0)
1 1 1

Mounting of module like I/0-module, however, only on socket 0

Presentation

~Bus connector
0 --"'-------- 0

ODDI DOD
Sockets for EPROM of the type
I
2764 or PCA1.R95/R96
I '

DODD CSl
tSl.
CSl
tSl.
ts>.
CS!.
~
~ ...-H-~
tSl.
"'
-- Basic text addresses

_____... Mounting holes and housing


tO c:1"

PCA1.R20 0-- ground connection

The module PCA1.R20 must always be mounted on socket 0 of the PCA14 (addresses
0... 7) !

SAIA"'PLC Programmable controllers


83B

Memory structure

Memory socket TEXT ADDRESSES TEXT ADDRESSES


not indexed indexed

Right socket on the CPU 0 - 818 1000 - 1818 l.)


as usual

Socket 2000 on R20 2000 - 2818 3000 - 3818

5000 - 5818
1Sl
Socket 4000 on R20 N
a: 4000 - 4818
~
:::l
-0
0
Socket 6000 on R20 ::i;:
6000 - 6818 7000 - 7818

Socket 8000 on R20 8000 - 8818 2 > 9000 - 9818


'

Compared to the normal text address assignment on the CPU (0 ... 818), the
addresses on the R20 module are increased by 2000 to 8000 (depending on
the socket). The following footnotes should be read for indexed text out-
put and limit addresses.

1) As is known, texts may be output in indexed form. For text subroutines


(CPU socket) in the address range 0 ... 818 only 3 figures are available
for addressing.
Details see manual PCA Software level c chapter Text output
11 11
,
11 11

2) Starting with text address 8192 the text number can no longer be entered
directly in PAS 23, the multiple of 2 K must rather be entered in the code
and the remainder in the operand.
Code Operand
Example: text no. 8400 PAS 23
04 0208 ; (4 x 2048) + 208 = 8400

SAIA"PLC Programmable controllers


848

Text input
A text input effected directly on the PCA1.R20 card is not provided for. There
are two possibilities of entering texts:
1. Using PCA14. Texts are entered into a buffered RAM-memory module (R95 or
R96), which is located on the right socket of the CPU. Therefore, the text
addresses 0 ... 818 are used. Upon termination of the input, the memory mo-
dule is plugged into the corresponding address location on the R20 module.
2. Using the text assembler of the SAIA 0 PCA ASSEMBLER and the PCA2.Pl6 EPROM
copying unit or the programming unit PCA2.P21.
Proceed as described under 1.

Text output (call text in the user program with PAS 23)
When calling the text, the basic addresses of the text (2000 to 8000) must be
added in the 2nd line of the PAS 23 instruction in accordance with the selec-
ted socket. For indexed text calls those basic addresses exceed the basic ad-
dresses by 1000 (3000 to 9000), see description in chapter "Memory structure".
Important notes:
a) Text stored on the PCA1.R20 module are addressed using 4 digits. It must
be noted for text subroutines that $L must always be followed by 4 digits.
b) A text subroutine which uses the addresses 2000 •.. 8818 cannot be called by
a text using the addresses 0 ... 818. However, a subroutine in the address
range 0 ... 818 can be called by a text in the address range 2000 ... 8818,
whereby the subroutine address must be entered using 4 digits (e.g.
$L 0412).

SAIA"PLC Programmable controllers


858

B 2.1.10 Type PCA1.R25 Data memory extension module, 16K words


The PCA1.R25 module serves as an additional module for the text memory ex-
tension module PCA1.R20. It has a large buffered data memory of 16K words
of 16 bits each.

Technical data
Data memory capacity 16K words of 16 bits each
Type of memory RAM, battery-buffered with PAS 58 instruc-
tions, for writing and reading (16 bits)
Firmware version PCA14 from version V6.036 onwards
Mounting of module on module R20, on socket 0

Presentation

01 Battery lo
0
'""1-------1-- Connector
for PCA1.R2.0

Memory organization

Word address (16 bits)

RAM 1 0 ... 4095


RAM 2 4096 ... 8191
RAM 3 8192 ... 12287
RAM 4 12288 ... 16383

SAIA®PLC Programmable controllers


868

Mounting on text memory extension module PCA1.R20

0------------0

ol Battery \o
c=:J 0
CJ

rn rn ~ rn ~
PCA1.R25

a::: :: a::: a.:

PCA1.R20
0 0

The data memory module PCA1.R25 is plugged onto the text memory extension
module PCA1.R20 and fastened with 2 screws. Due to the module R20 + R25, the
PCA14 is additionally provided with a text memory of 32K ASCII-characters
and a data memory of 16K words or 32K bytes.

Buff er battery
When the PCA14 is switched off, the NiCd battery protects the RAM-memory
against data loss for at least 2 months (battery completely charged).
The pluggable battery lasts at least 5 years.
Spare part no. 4 1 507 1 1360 1 0.
-
In order to prevent data loss on the R25 when replacing the battery, proceed
as follows:
1. Switch off PCA14
2. Remove cover above the inputs/outputs
3. Switch on PCA14
4. Remove old battery
5. Install new battery
6. Check data on R25
7. Leave the PCA14 switched on for several hours (charging of battery!)

SAIA'PLC Programmable controllers


878

B 2.2 Display modules


B 2.2.1 PCAl.Dll Operand display module

For PGU-connector

D on the operating panel

0 0
PCAl.011 module,
attachable to the
operating panel

,r--· Window in the


cover of the
operating panel

Description:
With the two instructions
- OTC: Display Timer or Counter
- DOP: Display Operand
4-digit figures can be displayed in the RUN-mode. Thus, counter states (as well
as step numbers), timers or, with the DOP-instruction, operands (e.g. as error
numbers) can be displayed elegantly without using inputs or outputs.
Depending on the user program the following displays are possible:
- fixed display according to the user software
- various displays selectable by selector switch
- various displays periodically altering

SAIA'PLC Programmable controllers


888

B 2.2.2 PCA2.D12 Display module


General
The PCA2.012 module is a remote display which can be controlled via SAIA 0 PLC
outputs. It has a 4-digit display and is able to indicate a decimal point. The
display can be built in anywhere at a greater distance to the PLC e.g. in the
door of a control cabinet or an operating panel. Due to data transmission being
effected via outputs, several displays can be controlled by one PLC.
In conjunction with the display interface PCA1/2.D13 the 012 can be connected
even at a greater distance to the PGU-connector where the comfortable instruc-
tions OTC and DOP are available.

Structure, function
The module is in the same housing as the electronic totalizing counter of the
CKG type. It consists of the following main components:
- power supply 24VDC
- 3 inputs for 24VDC
- decoder/driver
- 4-digit, 7-segment display with decimal point
The 3 outputs of the PLC resp. the 3 inputs of the display are designated
Enable
11
Data and Clock The Enable signal activates the display, i.e.
11
,
11 11 11 11

Enable = "L --> display is able to receive data, Enable = H" --> display is
11 11

inactive (it is not able to receive new data). Via the DATA line data in BCD- 11 11

format is transmitted sequentially, i.e. bit by bit from the SAIA 0 PLC to the
display. The display accepts each bit with the falling edge of the Clock 11 11

signal.
For a complete indication (4 digits with or without decimal point) always 20
clock signals must be generated and 20 data bits must be transmitted (4 BCD-
values + 4 bits for the decimal point).
The following sequence of the 20 data bits must be adhered to:

... t

I 1 I 2 I 3 I 4 f 5 I 6 I 11sI9 J 10 I 11I12 113 I 14 I 15 j 16 I 11 j 1s I 19 I 20 I Bit

I--<
,_. I--< >
,_. ,_. I--< ,_.
+-' +-' +-' +-'
·r- •r- ·r-
OJ OJ OJ 0) co co o:i
·r- •r- ·r- •r- (/) (/) (/)
Cl Cl Cl Cl ~ _J _J

~ ~
Decimal Di git I Digit II Di git I II Digit IV
point (103) (102) (10 1 ) ( H-,0)

SAIA"'PLC Programmable controllers


898

The following 16 characters can be presented per segment:

Character Code
- - Character Code
- -
0
1
2
0000
0001
0010
F
I I
1010
1011
1100
3 0011 LJ 1101
4 0100 - 1110
5 0101 11
blank 11 1111
6 0110
7 0111
8 1000
9 1001

The connection between 11 Enable 11 , "Clock" and 11 Data 11 is illustrated in the time-
dependency diagram:

H
Enable Display active Value transfer
L
min. 0.2µs min. 2µs

H
Clk Clk Clk Clk Clk Clk Clk
Clock
1 2 3 4 5 6 20
L
min. 0.2µs

H
Data 01 02 03 04 05 020
L

For the generation of the 11 Clock 11 as well as for the transmission of data the
user must write a short program (examples will follow at the end). In this
program, all functions shown in the above diagram, must be realized.
The minimum clock pulses and waiting times are short, so that the instruction
set of the SAIA 0 PLC can easily be applied directly without waiting for certain
periods to elapse.

SAIA®PLC Programmable controllers


908

Presentation and terminal arrangement

48

BBB B-+-+---4-digit display

L~c====~·==n-- button has no function


on PCA2.Dl2

®l®l©l®l©l~---screw terminals M3
>
> Nv -0..
s +2wo
lz u.:!_

PCA2.D12

Technical data:
- Supply voltage: 24VDC ± 20%, two-way rectification is
sufficient
- Input voltage
for EN, D, CLK: 24VDC, smoothed
- Input current for 24VDC: 10mA
- Definition of the
input voltages: II HII : l 9V . .. 32V
11
L11 : 0V ... 4V
- Input delay: < lms
- Usable SAIA 0 PLC PCA1.A10, 810, 880, 890
output modules: PCA2.A40
- Control serially via 3 PLC-outputs or
via interface 013

SAIA~PLC Programmable controllers


918

Input circuit and block circuit diagram

+24V
Power supply
5VDC
0V

VP
Threshold
switch

EN
RL
. 2.2k
47k

ln
_L
~
,r· . Decoder/driver

D
__J
8888
Clk J Display

PCA2.D12

Note:
Vp supplies display interface 013.

SAIA'PLC Programmable controllers


928

Connection of several displays to a PLC


Since the PCA2.D12 module is able to transmit an Enable signal, i.e. it can 11 11

be switched to be active or inactive, the same Clock and Data signals can 11 11 11 11

be used for several displays. These are transmitted to each display simultane-
ously. The Enable signal decides which display is controlled. This means that
11 11

for each display one Enable signal is necessary (1 output per display). This
11 11

also means, however, that for as many displays as desired only one data and
one clock output must be provided.

Connection: (e.g. PCA1.A10 - PCA2.Dl2)


*) In the case of a
0

0
------------
0 0 0 0 0 0 0
0 pulsating 0C-vo ltage
the fo llowi ng must
be observed

I PCA 1. A10
I - smoothing by
capacitor C100 µF,
40V (suff icient
for 5 dis plays is
11------------11
0----------0
equivalen t to I =
approx. 100mA)
- do not ap ply other

~~~~~~~~
loads to the
voltage s moothed
by c.

1liiiiili
...... N c: I
·--, </JV
"""0u
~ ~
- - - - .c"'~
I _.l__c• !

I
..Q .c
"'
.....
0"' ~

'-' "'c: "'c:


LLI LLI
c:
LLI
;T '~ •24V
L_. •,
-
---
---
----
----
I I I
I I I I I I I I I I I I I I I
>
> v o.jz
.
$N > W 0 U
:
>
> v o.lz
'GN>WOU
:
+
-------
>
> v o.lz
rGN>wOU
+
=
PCA2. 012 PCA2. 012 PCA2. 012
-
Display 1 Display 2 Display n

SAIA'PLC Programmable controllers


918

Input circuit and block circuit diagram

+24V
Power supply
5VDC
0V

VP
Threshold
switch
47k _L
EN
~
RL ln Decoder/driver
. 2.2k 1·

D
__J r·

J BBBB Display

Clk

PCA2.D12

Note:
VP supplies display interface 013.

SAIA"PLC Programmable controllers


938

Examples

Example 1
Six PCA2.D12 displays are to be connected to one SAIA 0 PLC. How many outputs ~re
required?

Solution 1
Per display one 11 Enable 11 signal 6 outputs
1 "Data" signal (simultaneously to all displays) 1 output
1 "Clock" signal (simultaneously to all displays) 1 output
Total 8 outputs
=========

Example 2
Every half second a counter is to be incremented up to the value 9999 and then
reset to zero. Its content is to be indicated on the PCA2.D12 display module
with a decimal point in the 2nd place.
The following outputs must be assigned for "Enable", "Data" and 11 Clock 11 :
EN : 02
D 03
CLK: 04
Used counters: C280
C281

f---_..._ t Used flags 4!.H-420

4,01 4,02 4,03 404 405 406 4,07 408 409 410 411 412 413 414 415 416 417 418 419 42~ Bit

........ >

+' +' +'


.,.... +'
en en en en c::i c::i co co co co co cc
.,.... .,.... VJ VJ (/) VJ VJ VJ VJ VJ
Cl Cl Cl Cl ::E: _J ::E: _J ::E: _J ::E: _J

~'----y--1
Decimal Digit I Digit II Digit IV
point (103) ' ( 102) (100)

SAIA®PLC Programmable controllers


948

Solution 2

10 SCR 280
11 0 0 Initial value 0
12 SCR 281
13 04 1807 Maximum value 9999
14
15 SCR 280
16 20 420 Counter contents on flags
17 SEO 402 Decimal point on 2nd place 401 .•. 420
18
19
20 SEA 0
21 REO 2 Enable = 11
L L
11

22 SEI 0
23 r- SEO 4 ClockS Standard routine for
24 I
I
STH 1401 IR: 401 .•. 420 controlling the dis-
25 I OUT 3 Data play
26 I
I
SEA 0
27 I REO 4 Clock L
28 I INI 19
29 L JIO 23
30 SEO 2 Enable = 11
H" I
31
32
33 DTC 280 Operand display
34 DEC 281 -1
35 STL 281 0 ?
36 JIO 10
37
38
39 INC 280 (0,1,2,3 ... 9999,0,1 ... )
40 STR 256
41 00 5
42 WIH 256 Wait 0.5s
43 JMP 15

.. t

401 4£12 40'3 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 Bit

>

.,..... .,....
en en en en co co co co a:i a:i co
.,.... Vi.,.... •r- .,..... V") (./) Vl Vl Vl Vl
ClOOO::E: ~::E: ~ ~ ::E: ~

~ ~ ---------~~
Decimal Digit I Digit II Digit III Digit IV
point (103) (102) (10 1) ( H'.)0)

SAIA'PLC Programmable controllers


958

-
B 2.2.3 PCAl.013 Display interface
Description
The display interface 013 combines the advantages of the display module
PCAl.Dll (simple software handling via the instruction OTC and DOP for
4-digit decimal displays) and those of the display PCA2.Dl2, which need
not be located anywhere near the SAIA 0 PLC.
The 013 is inserted in the PGU-plug of the SAIA 0 PLC and connected to the
display PCA2.D12 by means of pluggable screw terminals.

Technical data
Supply voltage Vp: 24VDC, ±20%, full-wave rectified is sufficient (supplied
by the display module PCA2.D12)
- 3 opto-isolated outputs for EN, D, CLK
- Connection of 2 displays PCA2.D12 is possible (same display)
- Control by means of the instructions DOP and OTC (see manual Software lH)
- Concerning the cable layout and type of cable between 012 and 013 no special
measures are required. The same general criteria as for the cabling of input
and output modules apply (see chapter A 5).

Presentation

Pluggable screw terminals for


connection to the display PCA2.D12

-
'r
I .......o
C"')
~ a~lffi II'. :l For PGU connector
....-I ti · ; I
Cl
.
....-I
0 0
0G<J>@
0 0
11:: I
'1 . . I
on the operating panel
~ 11:: I
u
0.. 11: : I
I::)
,l-
,0

The open module PCAl.013 is plugged into the PGU-connector of the operating
panel. The pluggable screw terminals for connecting the display module protrude
through the window.
Various screws are supplied for the attachment and the mechanical protection of
the module.

SAIA'PLC Programmable controllers


968

Connection diagram

ov
Power supply
Display interface +2 ... v

pass. 2. display module


(same display)

.~f+1

Note:
- Both displays indicate the same data.
Module 013 is supplied by module 012 at the back via the terminals Vp. This
and the use of optocouplers ensure maximum interference protection of the
PCAl.

SAIA'PLC Programmable controllers


97B

Connection to display module PCA2.D12

PCAl~
0
PCAl.013

-+--- PCA2.Dl2

SAIA'"PLC Programmable controllers


988

8 2.2.4 PCA2.Dl4 Display module

888888
BB88c
General
The PCA2.D14 module is a remote display module which is controlled via 3 out-
puts of the SAIA 0 PLC. The module has two 6-digit displays. Several PCA2.D14
can be connected in series in case of more than two displays.

Application, control
The module was developed in connection with the fast counter module PCA1.H10.
In this application controlling is performed by the counter module alone. The
user must only program the appropriate mode in the user program.
When the PCA2.D14 is used without the H10 module, the information to be dis-
played is most easily transmitted serially with a standard program routine from
a flag field via 3 SAIA 0 PLC outputs.
Technical data
Display 2 times 6 digits, 7-segment LED
Digit height 10mm
Supply voltage 24VDC ± 20%, full-wave rectified is
sufficient
Input voltage for EN, D, CLK 24VDC smoothed
Input current at 24VDC 10mA
Definition of the input level "H" = +19 ... +32V
11
L11 = 0... + 4V
Input delay < lms
Usable SAIA 0 PLC output modules PCA1.Al0, 810, 880, 890
PCA2.A40
Control serially via 3 SAIA 0 PLC outputs
irrespective of the number of D14

SAIA'PLC Programmable controllers


998

Structure, function
The module is located in the same housing as the electronic totalizing counter
CKG/AC.
Terminals: Screw terminals combined with connection strips (2.8 x 0.8 mm) for
flat pluggable bushes or soldering.
PLC-output Clock -----> Clk
PLC-output Data-In -----> D-IN
PLC-output Enable -----> EN
PCA2.D14
Carry Data-Out -----> D-OUT
Voltage supply +24V -----> +24V
Voltage supply 0V -----> 0V

88888 Upper display

88888 Lower display

The data for a display of 2 x 6 digits are most easily presented in a complete
flag field, e.g. M500 ... 547 in BCD-notation. If these values are kept in coun-
ters, they must be transferred to the flag fields first.
500 523
M 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 upper
MSB LSB MSB LSB display
100 1 000 10 1 000 1 1 000 100 10 1

524 547
M 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 lower
MSB LSB MSB LSB display
100 1 000 10 1 000 1 1 000 100 10 1

SAIA'PLC Programmable controllers


lOOB

Software routine
Every time the following routine has been executed the current information in
the flag field is indicated on the display until the display is updated by a
new piece of information after a further run.
Softlevel 1 *
(60 SEA 0) When not used as a
61 REO 2 ENABLE subroutine
62 SE! 0
63 SEO 3 DATA
64 SCR 280 AUX. COUNTER Used address
00 4
66 SEO 4 CLOCK Enable A2
67 REO 4 CLOCK Data A3
68 DEC 280 AUX. COUNTER Clock A4
69 STH 280 AUX. COUNTER Flag M500 ... M547
70 JIO 66 Aux. counter C280
71 SCR 280 AUX. COUNTER
00 16
73 STH 1500 FLAGS ::: for M500 ... 547
74 OUT 3 DATA
75 SEA 0
76 SEO 4 CLOCK
77 REO 4 CLOCK
78 I !NI 47 I for 1 014 upper and lower display **)
79 JIZ 84
80 DEC 280 AUX. COUNTER
81 STH 280 AUX. COUNTER
82 JIO 73
83 JMP 63
84 SEO 2 ENABLE -
(85 RET 0) When used as a
subroutine

500 523
M 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MSB LSB MSB LSB display
100 1 000 10 000
1
1 000
1
100 10 1

524 547
M 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 lower
MSB LSB MSB LSB display
100·000 10 1 000 1 1 000 100 10 1

*) The display module 014 can thus be controlled from any SAIA 0 PLC (including
PCA13 and PCA21).
**) For connecting several D14 in series see following page.

SAIA"PLC Programmable controllers


1018

The following diagram shows several PCA2.D14 connected in series.:


Each 014 displays its own data.

Displ. n Dis. n-1 Displ. 1

DATA I I I L J I I
IN OUT IN OUT IN OUT
CLOCK

ENABLE

The flag field containing the information to be displayed must be expanded


correspondingly:
for 1 PCA2.D14 = 1 x 48 flags
for 2 PCA2.D14 = 2 x 48 flags
for 3 PCA2.D14 = 3 x 48 flags etc.
The routine in the user program remains the same, only the instruction "INI"
must be changed accordingly:
for 1 PCA2.D14 = INI 47
for 2 PCA2.D14 = INI 95
for 3 PCA2.D14 = INI 143 etc.
In other words, INI (n x 48) - 1 with n = number of PCA2.D14.
The following 16 characters per segment can be presented:

Character Code
-- Character Code
- -
0 0000 R 1010
1 0001 I 1011
2 0010 I I 1100
3 0011 LJ 1101
4 0100 - 1110
5 0101 "blank" 1111
6 0110
7 0111
8 1000
9 1001

For examples refer to the Software manual.

SAIA'"PLC Programmable controllers


1028

to PLC (24VDC)
1-- Channel 2 --i
B 2.3 KOM series external interface module
I Channel I
The purpose of the external interfaces is for I 1 I
adapting the I/O levels of the PLC from 24VDC I I
to the process requirements. They are con-
structed in two-channel form and mounted in o 0 o
plug-in housings for an 11-way round socket. o~o
LEDs indicate the logic status ( H" = ON),
11
o0o
00 00
facilitating the rapid checking of the signal
lines as far as the terminals of the process.
To render the wiring easy to view, the cables
from the process or to the PLC are arranged
on the opposite side of the plug holder.

to process
Plug-socket holder
Order no. 4 40B 4B17 0

B 2.3.1 Type KOM 1118 Dual input interface


The purpose of this input interface is for the isolation of the mains control
lines from the 24V signal level of the PLC. The isolation is accomplished by
means of inductive transmitters; this has the advantage of providing a safe-
guard against surge voltages.
Front Switching scheme (per channel)
LED
2/1 Q---- 8/9

EJ
+
from process - 24V...., - - to PLC
110'/220VAC
1.0'/ll o----- 4/3

Technical data
Input voltage 220V, 50 ... 60 Hz± 20% type KOM 1118 04
110V, 50 ... 60 Hz± 20% type KOM 1118 CB
Input current in each case 0.5A
Output voltage 24VDC pulsating
Output current in each case max. 40mA
Reaction time max. 10ms (acc. to phase length)
Surge voltage on
process side 5kV, 1/50 µs
Connection 11-way round socket
Order specification KOM 1118 04 or CB (see input voltage)

SAIA'PLC Programmable controllers


1038

8 2.3.2 Type KOM 1218 Dual-relay-output interface


Electric isolation in this interface is achieved by relays, the contacts of
which are able to directly switch mains voltages. The normally-open contact
to the relay is used corresponding to the PLC output.
Front Switching scheme (per channel)
8/9 LEO
0-+_ _ _ _ _'""'

EJ .

from PLC 24VDC

Technical data
Input voltage 24VDC ± 20%, smoothed or pulsating
Input current in each case 20mA
Relay contact in each case 1 normally-open contact with
hard silver contacts
Switching power in each case 6A, 250VAC ACl
IA, 250VAC ACll
Contact life (ACl) 3A, 220VAC 0.1 mio. switching cycles
1.5A, 220VAC 0.5 mio. switching cycles
0.3A, 220VAC 5 mio. switching cycles
Order specification KOM 1218 M4

SAIA~PLC Programmable controllers


1048

8 2.4 Dimensions of additional units

External interfaces
KOM 1118 and 1218
Cl)
M

36 71.5
-

E E
C'i
I()
'°·
N

Input simulation unit


0 0 0 0 0 0 0 0 PCA2. S10
N
N 000 000 00
000 00000
0 00 00000

172 63

Input simulation unit


PCA2.S05
U")
U")

<Sl
e
y- e
U")
.....
e
~.

isi

····"
QG;i~~99~Q Im
-
N

~G?999~~9_j ~
N

172 83

SAIA®PLC Programmable controllers


1058

45
Programming unit
PCA2.P05
ITE" CODE Of'EIUHD
0 0 0

~
O"UH ACCU•tO
O•RLU:
Qnu
01ut rcA2.r1s
OMAN
Qp"OQ

~ [!] [!]GJ
- [!]0GJ
[:::!:] [!] GJ GJ
GJGJGJGJ
QGJC!JD
0GJITJ0

102

Programming interface
PCA0.P01

~mi~)
,:~:~~.
.,_ u
...
lllP
lf(U

45 45

41
\/
e
LO
N
.
EPROM copying unit
I PCA2.P16

-··~-
lltUlftl

l~c:JEI~ ~~Ell
0
"'"
rituao·1-tQ

....,.....
JIU ttH JIH 11111 JIUI Wlllff lllOl "CtUW N

0~rn~
. 0
rci: PU
I

222
- -

SAIA®PLC Programmable controllers


1068

B 2.5 Dimensions, assembly and installation of PCA2.D12


The display can be installed in any position desired anywhere in a control
cabinet door or an operating panel.
The display can be fastened in three ways:

Dimensions

48

90 52

Opening for
installation
valid for both
assembly types
48,5 '3'

Fastening with
clamping spring

Standard version

Fastening with Assembly type, vertical Miscellaneous small


frontal frame and parts
2 countersunk screws
M3/90°.
with vertical o~f
Ml
UJ
Order no. 4 108 3671 0
frontal frame

~
4 60

Assembly type, horizontal 1f-'.,____ _6_3_ _..,~,

I I--
with horizontal
frontal frame
r-;---1:,.
I .
[., ___ ---~
~ Order no. 4 108 3672 0

M3
1--
4 75

SAIA'PLC Programmable controllers


1078

!
I
B 2.6 Dimensions, assembly and installation of PCA2.D14
I The display module can be installed in any location desired.
1
It can be fastened in two ways:
J
- with a clamping spring
I - with a frontal frame and screws
1
I
(The clamping spring and the frontal frame are supplied with every PCA2.D14).

1 Dimensions

----]
!
048

_____ _
,.,_

120 D52

M
00

Opening for installation


valid for both assembly
types

- Fastening with
clamping spring

Fastening with
frontal frame
and 2 countersunk
screws M3/90°

M3
1--
4 60

SAIA"PLC Programmable controllers


1088

Notes:

-
SAIA"PLC Programmable controllers
OPERATING MODES

C1 Selection of operating modes for PCA 14 and PCAu5


C 1.1 Operating modes, level 1H for PCA15 and PCA 14
-RUN
-PAOG
·MAN (Bit)
·BREAK
-STEP

C 1.2 Summary of operating modes

C 1.3 Detailed description of operating modes

C2 Further operating mom~s (only PCAi4)

- MAN with date-time


- TEXT or text memory as date. register

SAIA"'PLC Programmable controllers


lC

Setting of operating modes


A PLC can operate in various operating modes for preparing, testing and editing
a program.
PCA14: A sliding switch for selecting the operating modes is provided on the
operating panel. This sliding switch is always active.
PCA15: The operating modes are preselected outside the PLC. The keys of the
programming unit PCA2.P05 are used, or in case a different program-
ming aid such as the handheld computer P18 or an IBM-PC is used, to
select the operating modes with the programming interface PCA0.P01.
The selected operating mode remains active, when the connection
between the programming units and the PCA15 is ended.
The following operating modes are automatically selected when the
PCA15 is switched on.
- With programming unit P05 connected: STEP
(LED 11 STEP 11 lights up, the
green LED 11 RUW 1 does not
light up!)
Without programming unit: RUN
(LED "RUN" lights up)
- With P01 connected: According to selector
switch position

SAIA"PLC Programmable controllers


2C

C1 Selection of operating modes

Operating mode
selector

~
RUN
PCA14 ..
..
.. BREAK
..
.. STEP

...... HAN
TEXT

0 PROG.0 0
PROG.

STEP CODE OPERAND


0 0 0
PCA15

Display of the
selected
I 0RUN
OBREAK
Q6TEP
QTEXT
ACCUc1Q

PCA2.PS5
cm OOO
operating roode OMAN
OPROG

Keys for selecting


the operating roode {
0[!][!]0
PROG
TEXT-~~
Operating mode 00[!]0
WC!J~D
MU
selector
STEP

0lr=Q~0
BREAK~-.::--av
RUN

PCAS.P81

For a 11 other
PCA-prograrrming aids

SAIA"'PLC Programmable controllers


3C

-
C 1.1 Operating modes, level lH for PCA15 and PCA14

W RUN Normal program processing (lamp RUN on PCA15


lights up)

IT] PROG A user program can be loaded into a RAM memory


(plug9ed onto the user plug-in socket of the
PCA15).

[ill MAN Manual interrogation and setting of elements


(inputs, outputs, flags, timers, counters)

ITJ STEP Jump to a preselected step address (program


line) of the user program and step-by-step
operation

W BREAK Program processing up to a set "breakpoint"


and subsequent step-by-step operation

SAIA"PLC Programmable controllers


4C

C 1.2 Summary of operating modes


~ RUN Normal program execution
The PCAl is automatically in the RUN-mode when switching on if no programming unit
is connected.

0 PROG Programming
A program can be stored in a RAM-memory (on the user socket of the PCAl) or
overwritten (corrected).

mxStep
xxx
Code
xx
Operand
xxxx
xx xxxx or ~ to delete a wrongly
entered line
~ Terminates the input
Test program ~~ or r::::::J!:::J

~ MAN ** Manual testing or setting of elements


(Elements • inputs, outputs, flags, counters, timers)
iA1 Step
Testing: ~ x x x - - - - display of the logic state in the operand (0/1)
'-y---1
Element address
Setting: 0 xxx
'---r
mm ---- or IIJ
Element address

[§:] STEP G::J-oisplay showing where the program is.


Jump to the preselected step address of the user program
0 139 ~ - - Program jumps to step 139, then
~ ... step-by-step execution of the program with the result of the logic
operation being checkable ~ ACC = 1*. Switching to RUN is always possible.
In case of parallel programs, only the activated parallel program is executed
in the STEP-mode.

~ BREAK Interruption of the program run and subsequent step-by-step-operation


G J - Display showing where the program is
G]G].... step-by-step execution of the program with the result of the logic
operation being checkable ~ACC = 1*. Switching to RUN is always possible.
In case of parallel programs, all programs are executed simultaneously (as
in the RUN-mode).
Setting of a breakpoint
0 820 GJ--Program runs up to step 820, then
~-··· step-by-step operation skipping the "criterial" point.

*) ACC = accumulator is used to indicate the result of the logic combination.


If ACC = 1 (conditions of the logic combination fulfilled= 1), the
following switching instructions are executed.
**) If the address of a timer or counter is preceded by a 3 (e.g. 3260 for
counter 260), the value of this register can be read or entered manually
with [I] value El .
SAIA"PLC Programmable controllers
SC

C 1.3 Detailed description of the operating modes

[[) RUN Normal program processing


The PCA15 is automatically in the RUN-mode when switching on
if no programming unit is connected. For PCA14, the sliding
switch must be in position RUN.

W PROG Programming
A program can be stored in a RAM memory (on the user plug-in
socket of the PCAl) or overwritten (corrected).
STEP CODE OPERAND
xxxx m xx xxxx

m xx xxxx

[f] Deletes a wrongly entered line

[!] Terminates the input

[!]~ or QQ to display the program

[EJ MAN Manual testin or settin of elements


Elements = inputs, outputs, flags, counters, timers)
STEP 1 > OPERAND
Testing: []] xxx 0/1 .- display of the logic
state
Setting: []] xxx ITJ ----- [JJ or [!]

1) STEP = Element address


If the address of a timer or counter is preceded by a 3 (e.g. 3260 for
counter 260), the value of this register can be read or entered manually
with:
[A] 3xxx W value ~.[],[A], W
For an example see following page.

SAIA®PLC Programmable controllers


6C

Continued from footnote 1)


Example: Input of values 23419 or 127 into counters 290 or 291.
Input: Display: STEP CODE OPERAND
CK] 3290 3290 0Y yyyy

p L_ Units
Ten-thousands
Always 0
Input: Display: STEP CODE OPERAND

ffi 329~
23419
127
3290
3290
3291
0Y
02
01
yyyy
3419
0027
Correction before storing
w
0 127*
3291
3291
00
00*
0000
0127
[£]

* Values <10 000 have to be preceded by a leading 0.


1

SAIA'"PLC Programmable controllers


7C

!IJ STEP Display showing where the program is.


Jump to the preselected step address of the user program
~ 139 8 ---l---- Program jumps to step 139
step-by-step processing of the program with the
linkage result being checkable: *ACCU = 1 2 >
Switching to RUN is always possible.
In case of parallel program, only the activated parallel
program is processed in the STEP mode.

[[] BREAK Interruption of the program run and subsequent step-by-step


operation
[!:] Display showing where the program is.

~ ~ ... step-by-step execution of the program with the


linkage result being checkable:~ACCU = 1 2 >
Switching to RUN is always possible.
In case of parallel programs, all }rograms are processed
simultaneously (as in the RUN-mode .
Setting of a "breakpoint"
0 820 EJ ----- Program runs up to step 820 in slow RUN
operation

..• step-by-step operation over the "critical" point


-

2) ACCU (= accumulator) is used to indicate the status of the logic


combination.
When LED lights up, the ACCU = 1 (conditions of the logic combination
fulfilled, linkage result= 1), and the following switching instructions are
executed.

SAIA"'PLC Programmable controllers


BC

C 2 Further operating modes (only PCA14)


(E] MAN
11 11

Manual access to the software date-time


In case you use the date-time module E40 refer to chapter B 1, where reading
and writing to the hardware date-time will be explained (black box routines,
Software manual).
All programming units allow direct access to the software date-time (reading
and writing).
Contrary to the buffered hardware date-time (PCA1.E40 module), the software
date-time works only as long as voltage is applied to the PLC. Therefore, all
values have to be introduced each time the PCA14 is started up. The date-time
has a max. deviation factor of 3s/day.
The following table shows the signification and the numerical range for the
addresses 4000 ..• 4007.

Address Meaning Numerical range


4000 Week of the year 1. .. 53
4001 Day of the week 1. .. 7
4002 Year (1989=89) 0... 99
4003 Month 1. .. 12
4004 Day of the month (Feb = 28)* 1. .. 31
4005 Hours 1. .. 23
4006 Minutes 1. .. 59
4007 Seconds 0 ..• 59

*) Contrary to the hardware date-time R27, the software date-time does not
take the leap years into account (February= 28 days).

You may enter a maximum of 2 digits which appear in the operand (see examples
on the following page).

SAIA"'PLC Programmable controllers


9C

- • Examples: Input for Thursday, June 2nd, 89, 10h 12min 45s
Input: Display: STEP CODE OPERAND
A 4000 4000 00 00YY
E 22* 4000 00 0022
E 4* 4001 00 0004
E 89 4002 00 0089
E 6* 4003 00 0006
E 2* 4004 00 0002
E 10 4005 00 0010
E 12 4006 00 0012
E 45 4007 00 0045
+

After entering the seconds (4007), key [!] is depressed~rovided that the
- input corresponds to the actual time. Do not press key l_!J again, since
otherwise the input of the calendar week is erased.
• Display:
Input: Display:
A 4000 4000 00 0022 22. week of the year
+ 4001 00 0004 Thursday
+ 4002 00 0089 1989
+ 4003 00 0006 June
+ 4004 00 0002 2
+ 4005 00 0010 10h
+ 4006 00 0012 12min
+ 4007 00 0045 45s
46s
47s

* Calendar week and day of the week must correspond to month and date!

SAIA®PLC Programmable controllers


lOC

[[] "TEXT" or text memory as data register


Input and reading of texts in the text memory
Input of texts is effected on RAM 6116, 6264 or 8464 or on the buffered RAM
modules PCA1.R92/95/96 which are plugged onto the right-hand text socket of
the basic module.
The following 2 possibilities are available:
a) Using one of the PCA programming units, connected via the PGU connector.
b) With a peripheral unit with current loop interface, connected to the
serial data interface (7 terminals on the right).
For detailed description refer to manual Software level 2.

Manual access to the text memor as data (PAS 54)


as of system program version V6. 4
As mentioned in connection with the instruction PAS 54, the text memory can
also be used as data register. In order to understand the monitor function of
the system program, the formats which are used for organizing the various
registers must be brought to mind:
Counter register : binary 16 bits
Text memory : binary 8 bits or 16 bits
(as data register) or BCD 8 bits
For manual access to the text memory as data register the operating mode
selector switch must be set to "TEXT".
• Display of the text memory contents
a) Immediate display of a character value of 8 bits (1 byte) in binary
notation
Upon actuation of key ~ , and subsequent input of the character number
to be displayed (0 ... 8191), the stored value (0 ... 255) is displayed in
the operand field in binary notation.
Input: Display: STEP CODE OPERAND
~ 1931 00

Character no.
Always 00 0
Value of 8 bits
(1 byte) in binary
notation

1930 00 0157

SAIA®PLC Programmable controllers


llC

b) Display of the contents of 2 character no. (2 bytes = 16 bits) in binary


notation
Actuating the key ICl once has the result that .in addition to the selected
character number t~value of the preceding character can also be combined
to form a 16-bit value (2 bytes) in binary notation. Consequently values
in the range 0 ... 65 535 can be displayed in the CODE and OPERAND field.
1

Input: Display: STEP CODE OPERAND

Character no. selec-


_j I E113 4717 I

ted with key ~


Character for 2 bytes
Value of the 2 characters-------~
1930 and 1931 (2 bytes)
in binary notation
In this way, the contents of transferred counters can be displayed with
their total capacity of 16 bits.

c) Display of 1 character no. (1 byte = 8 bits) in BCD-notation

By actuating key (I] (convert) a second time, the bit pattern is displayed
in BCD-notation.
Input: Display: STEP CODE OPERAND
1931 H 0* 0087

~
H11.__0----,.----0___.0J~-j
Character no.
Character for
BCD-notation
Always 0 00
1 byte in BCD-
notat ion

*) Character in the code applies to P05. For P10 refer to the table on the
following page.

SAIA'"PLC Programmable controllers


12C

Real BCD-bit patterns are displayed as decimals. If other characters are


present as e.g. at character no. 1930, these are no BCD-bit patterns. In
order to be able to interpret their values nevertheless, the following
7-segment characters are defined in the OPERAND:

Binary 7-segment character


value P10 P05
10
B B
11
B B
12 B B
13 B B
14 B B
15 blank blank

• Manual data in uts into the text memor


limited RAM-memory in this area
Key 0 subsequent input of the character no., at which the value is to
be stored
Key [] clears the old value and permits new input
Key [] before key 00
means 11 convert 11
after key E means "clear"
Key ~, c:J, 0, [i]: cause storage of the value introduced
.j
'

Corresponding to the reading of data, 3 cases are distinguished for the


manual input of data:
a) In ut of a binar value of . 48 at a character no.
e. . 7436
Input: Display: STEP CODE OPERAND

0 7436 7436 00 0XXX


[] 48 7436 00 0048
8 7437 00 0YYY

SAIA®PLC Programmable controllers


13C

-
b) InQut of a binary value of 2 bytes (e.g. 1487) at character no. 7456
and 7457
Input: Display: STEP CODE OPERAND

0 7457 1)
7457 00 0XXX
[I] 2)
7457 EY* yyyy

IT] 1487 3)
7457 El* 0487
~ 01487 7457 E0* 1487
EJ 7459 4 )
EZ* zzzz

1) Always the higher address of a pair of 2 bytes is entered.


2)[[] before [[] results in the conversion to 2 bytes.
3) If values < 10'000 are entered, a 0 must be typed first.
Correction with [£].
4) The character no. is automatically increased by 2.

c) In ut of a BCD-value 7660 in BCD-notation


onl values from .. 99 ~ 1
Input: Display: STEP CODE OPERAND

0 7660 7660 00 0XXX


[f] 7660 EY* yyyy

[I] 7660 H0* 00ZZ


[] 30 7660 H0* 0030
EJ 7661 H0* 00AB

*) Characters apply to PCA2.P05.

SAIA"PLC Programmable controllers


14C
-~

List of modules
Type Chapter Page
KOM 1118 8 2.3.1 1028
KOM 1218 8 2.3.2 1038
PCA-ASSEM8LER 8 2.1.6 768
PCA0.P01 8 2.1.2 738
PCA14 A3 13A
PCA15 A2 3A
PCA1.A10 8 1.1.5 108
PCA1.A21 8 1.1.6 128
PCA1.A30 8 1.1.7 148
PCA1.A50 8 1.1.8 168
PCAl.810 8 1.1.9 188
PCAl.880 8 1.1.10 218
PCAl.890 8 1.1.11 258
PCA1.C45 A4 29A
PCAl.Dll 8 2.2.1 878
PCAl. 013 8 2.2.3 958
PCAl. E10 8 1.1.1 38
PCAl. Ell 8 1.1.2 58
PCA1.E20 8 1.1.3 68
PCA1.E40 8 1.1.12 298
PCA1.E50 8 1.1.4 88
PCAl. Fll 8 1.1.17 578
PCAl. F12 8 1.1.17 578
PCA1.F21 8 1.1.18 598
PCA1.F22 8 1.1.18 598
PCAl. Hl.. 8 1.1.19 678
PCA1.K80 8 2.1.4 748
PCA1.K90 A 4.1 29A
PCA1.R92 A 2.3.1/A 3.3.1 7A/17A
PCA1.R95/96 8 2.1.8 818
PCA1.R20 8 2.1.9 828
PCA1.R25 8 2.1.10 858
PCAl. Wl.. 8 1.1.13 408
PCAl. W2 •. 8 1.1.14 428
PCAl. W3 .. 8 1.1.15 468
PCA1.W40 8 1.1.16 548
PCA2.D12 8 2.2.2 888
PCA2.D14 8 2.2.4 988
PCA2.P05 8 2.1.1 728
PCA2.P16 8 2.1.7 788
PCA2.P18 8 2.1.5 758
PCA2.S05 8 2.1.4 748
PCA2.S10 8 2.1.3 738

SAIA®PLC Programmable controllers

You might also like