PMA KS 98, KS98Plus Operating Instruction

98
KS
KS98 S98K 98KS 8KS9
K S 9 8
&
LimH
Xsd
Fnc
y0
a
c
b
d
TS.D TS.H TS.Mi
TE.D TE.H TE.Mi
t
Operating instructions
9499-040-44311
Valid from: 8432
PMA Prozeß- und Maschinen-Automation GmbH
KS 98 and KS98Plus
Symbols used on the device
à EU conformity mark a Attention, follow the operating instructions!
All rights reserved. No part of this document may be reproduced or published in any form or by any means without prior written permission from the copyright owner.
A publication of
û
PMA Prozeß- und Maschinen-Automation GmbH P.O.Box 310 229 D-34058 Kassel Germany
Content
1. Operation ..........................3
2. Important technical data .................3
3. Versions ...........................4
4. Front view ..........................5
5. Mounting ..........................5
6. Electrical connections ..................6
7. Menus ...........................11
8. Maintenance .......................14
9. Scaling and calculation functions ...........15
10. Non-linear functions ...................17
11. Trigonometric functions .................17
12. Logic functions ......................19
13. Signal converters .....................21
14. Time functions ......................23
15. Selection and storage ..................26
16. Limit signalling and limiting ..............28
17. Visualization........................30
18. Communication ......................34
19. KS98+ I/O extension ...................36
20. Cross communication KS 98plus - KS98plus .....43
21. KS 800 and KS 816 connection .............45
22. Description of KS98 CAN bus extension........48
23. Programmer ........................51
24. Controllers .........................54
25. Inputs ............................61
26. Outputs ...........................63
27. Zusatzfunktionen .....................64
28. KS98 I/O extension modules...............66
29. Modular I/O extension modules ............68
30. Function management ..................74
a
Change notice!
The Functionblock SOUT has changed since operating version 7. Eventually you must adjust your engineering when updating Soft- or Hardware (see Page 27).
1 Operation
1.1
Description
KS 98 is a freely structurable compact automation unit. Each unit contains a function library from which selection, configura­tion, parameter setting and combination of up to 450 function blocks is possible by means of an engineering tool. This per­mits realization of complex mathematical calculations, multi-channel control structures and sequencing in one instrument. Various pages are displayed by means of an LCD (64x128 dots): input and output for analog and digital signals, bargraphs and trends. Communication with other instruments and systems is possible via an optional digital interface.
2 Important technical data
2.1
Analog inputs r sections 6 and 25.1
INP 1: universal input, configurable for thermocouples, resistance thermometers, temperature difference, resistance transducer, DC current and DC voltage INP 3 (option C): DC current or -50...1300 mV, INP 4 (option C): DC current, INP 5: DC current and DC voltage, INP 6: resistance transducer and DC current
2.2 Digital inputs
Opto-coupler for 24 V DC, current sink to IEC 1131 type1, logic 0 = -3...5 V, logic 1 = 15...30 V, approx. 5mAdi1 and di2: in all versions, di3...di7: in option B, di4...di12: in option C.
2.3 Outputs r section 26.1
Relay contact rating: 500 VA, 250 V, 2 A at 48...62 Hz OUT1, OUT2, OUT4, OUT5: relay or logic dependent of version, OUT 3 (option C): current
2.4 Control outputs
Opto-coupler, grounded load with common positive control voltage, power 18...32 V DC ß 100 mA. do1...do4: in option B, do5 and do6: in option C
2.5 Supply voltage
90...260V AC, 48...62 Hz, power consumption approx. 10 VA (equipped with all possible options) For detailed technical data, see data sheet KS98 9498 737 32113
KS98+ 9498 737 37933
9499-040-44311 Operation
3 Description
SOFTWARE/ENGINEERING
HARDWARE
Option B
Option C
Standard
INP3 INP4
di8
di9 di10 di11 di12
di3
di4
di5
di6
di7
INP1 INP5 INP6
di1
di2
OUT3 do5 do6
do1 do2 do3 do4 Interface
OUT1 OUT2 OUT4 OUT5
HARDWARE
Standard
Option B
Option C
3 Versions
Order no.
9407-9 - 0 1
Basic unit
Standard
6
with integrated supply voltage
7
KS98+ with CANopen I/O
8
90...250 V AC with 4 relays
3
Power supply and
90...250 V AC with 2 relays + 2 current outputs
5
process outputs
24 V UC with 4 relays
7
24 V UC with 2 relays + 2 current outputs
9
Option B
no option B
0
TTL interface + di3...7 / do1...4
1
RS 422 + di3...7 / do1...4 + real-time clock
2
PROFIBUS-DP + di3...7 / do1...4
3
INTERBUS + di3...7 / do1...4
4
Option C
no option C
0
INP3 / INP 4 / OUT 3 / di8...12 / do5 / do6
1
INP3
*2)
/ INP 4 / OUT 3 / di8...12 / do5 / do6
2
Modular option C basic card
*1)
3
Modular option C basic card with modules
*1)
4
Engineering
single-channel controller (basic unit)
0
Setting
standard setting
0
setting to specification
9
*1)
Combination KS98+ (CANopen I/O) and modular option C is not possible. Either KS98+ or modular option C!
*2)
INP3: With Type = 0...20 mA, the input is designed for -50...1300 mV. For further use of the output of INP3 with this scaling, an x0 of -50 and an x100 of 1300 must be adjusted.
3.1 I/O modules
- for installation in units with modular option C basic card
Order no.
9407-998-00 1
Position
Separate order
0
Fitted in KS98 socket 1
1
Fitted in KS98 socket 2
2
Fitted in KS98 socket 3
3
Fitted in KS98 socket 4
4
Module type-
Analog inputs
Pt100 / 1000, Ni 100 /1000, resistance, potentio
-
meter
20
Thermocouple, mV, 0/4...20mA
21
-50...1500mV, 0...10V
22
Module type-
Analog outputs
0/2...10V, 0..._10V
30
0/4...20mA, 0..._20mA
31
Module type-
Digital inputs/outputs
Digital I/O (universal)
40
Frequency/counter input
41
Versions 9499-040-44311
I/O modules 4
4 Front view
LED 2 e.g. cooling LED 3 e.g. alarm 1
LED 1 e.g. heating LED 4 e.g. alarm 2
Locking screw
Display e.g. trend
Selector key
PC interface Increment key (z)
Manual/automatic key Decrement key (u)
q
Locking screw: locks the controller module in the housing.
q
LEDs: indicate the statuses of the LED function (r section 27.1).
q
Display: LCD dot matrix with (64x128 dots, back lighting). The relevant display is shown in sections 7 Menus, 17 Visualization, 23 Programmer and 24 Controller.
q
Keys HDIM: The relevant function is described in section 7 Menus.
q
PC interface: PC connection for structuring/wiring/configuring/parameter setting/operating with the engineering tool.
5 Mounting
a
Mount the unit with min. 2 fixing clamps (diagonally at top and bottom).
a
Protection type IP65:
Use 4 fixing clamps. Insert the controller module firmly and block it using the locking screw.
9499-040-44311 Front view
5 I/O modules
2
1
96 96
92
+0,8
92
?24
+0,8
1...16
min. 0°C
60°C
max.
max.
95% rel.
96
96
160
l
Wire-hook switch S: Its switching status is signalled by function STATUS
and can be used in the engineering. After delivery, the switch is open.
For closing, release the locking screw, withdraw the controller module from the
housing, close the Wire-hook switch. Insert the unit and lock it with the
screw.
Wire-hook switch DP: The bus termination resistor can be activated by 2
S.I.L.
switches (DP) in KS98. Both S.I.L. switches must always be open or closed
(terminating resistor active).
Wire-hook switch CAN: for bus terminating resistor r see page36
a
Ensure tightness!
l
Caution! The instrument contains electrostatically sensitive components.
6 Electrical connections
6.1
Safety hints
a
Following the enclosed safety hints 9499 047 07101 is indispensable! The instrument insulation meets
standard EN 61 010-1 (VDE 0411-1) with contamination degree 2, overvoltage category III, operating
voltage range 300 V and protection class I.
a
With horizontal installation, the following rule is applicable additionally: with the instrument module
withdrawn, a facility which prevents conducting parts from dropping into the open housing must be
provided.
a
If the unit is switched to off-line, the outputs keep their status from the time of switch-over!!!
6.2 Electromagnetic compatibility
European guide line 89/336/EEC. The following European generic standards are met:
Electromagnetic radiation: EN 50081-2 and Electromagnetic immunity: EN 50082-2. The unit is suitable for use in
industrial areas (in residential areas, RF interference may occur). The electromagnetic radiation can be reduced
decisively by installing the unit in a grounded metal switch cabinet.
6.3 Measurement earth (for grounding interferences)
a
If outside interference voltages act on the instrument, functional troubles may be caused
(concerns also high-frequency interferences). For grounding the interference voltages and ensuring the
electromagnetic immunity, a measurement earth must be connected. Terminal A 11 must be connected to
ground potential by means of a short cable (approx. 20 cm, e.g. to switch cabinet ground)! This cable must
be kept separate from mains cables.
6.4 Störschutzbeschaltung
Load current free connections between the ground potentials must be realized so that they are suitable
both for the low-frequency range (safety of persons, etc.) and the high-frequency range (good EMC valu
-
es).
The connections must be made with low impedance. All metal grounds of the components installed in the cabinet Ü
or in the cabinet door * must be screwed directly to the sheet-metal grounding plate to ensure good and durable
contact. In particular, this applies to earthing rails ä, protective earth rail #, mounting
Electrical connections 9499-040-44311
Safety hints 6
CAN
S
DP
plates for switching units > and door earthing strips <.Control
-
lers KS40/50/90 y and KS92/94 x are shown as an example for earthing. The max. length of connections is 20 cm (see relevant ope
-
rating instructions).
Generally, the yellow/green protective earth is too long to provide a high-quality ground connection for high-frequency interferences.
Braided copper cables Ö provide a high frequency conducting, low-resistance ground connection, especially for connecting cabinet Ü and cabinet door *.
Because of the skin effect, the surface rather than the cross section is decisive for low impedance. All connections must have large surfaces and good contact. Any lacquer on the connecting surfaces must be removed.
Due to better HF properties, zinc-plated mounting plates and compartment walls are more suitable for large-surface grounding than chromated mounting plates.
6.5 Connecting diagram
w
Power supply cables must be kept separate from signal and measuring cables.
w Twisted and screened measuring cables have to be used (screening connected with measurement earth). w
Connected final elements must be equipped with protective circuits to manufacturer specifications. This avoids voltage peaks which can cause trouble to the instrument.
w
The instruments must be protected additionally by an individual or common fuse for a max. power consumption of 10 VA per unit (standard fuse ratings, min. 1 A)!
a
Signal and measurement circuits may carry max. 50 Vr.m.s. against ground, mains circuits may carry max. 250 V r.m.s between terminals.
9499-040-44311 Electrical connections
7 Connecting diagram
galvanic isolations
Bei Geräten mit Modularer Option C
r siehe Anschlußbild Seite 67
* Versions with integrated supply voltage only
** With 24 V DC or AC, protective earth must also be connected. With 24 DC, the polarity is uncritical.
Electrical connections 9499-040-44311
Connecting diagram 8
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
16
24 V
di8( )
di9( ) di 10 ( ) di 11 ( ) di 12 ( )
do 5 do 6
GND
+ _
+ _
+
_
-
+
+
+
+
+
+
.
C
INP4
INP3
OUT3
0/4...20mA
0/4...20mA
0/4...20mA
1 2 3 4 5 6
7 8 9
10 11 12
13 14 15
P
OUT4
OUT5
OUT2
OUT1
0/4...20mA
+
_
ßßß500VA, 250V, 2A
ßßß500VA, 250V, 2A
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15
16
di (-) CAN-GND di 1 (+) CAN-H
di 2 (+) CAN-L + Volt +mA
_
Volt/mA
Volt
mA
A
INP5
INP6
INP1
0/4...20mA
100%
0%
0%
100%
}}2
1
+
_
+
_
+
_
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
B
-
+
+
+
+
+
+
24 V
di3( ) di4( ) di5( ) di6( ) di7( ) do 1 do 2 do 3 do 4
RXD-B
GND
RXD-A
TXD-B
TXD-A
RS422 RS485 TTL PROFIBUS
+5V
GND
TRE
TXD
RXD
VP
GND
RxD/TxD-N
RxD/TxD-P
RGND
DATA B
DATA A
100 [
abcd efg
ABCP
1
16
1
16
(Option)
(Option)
-
OUT
IN
INTERBUS
AB
0/4...20mA
+
_
*
_
+
*
_
+
**
Ra
6.6 Analog inputs (r connecting diagram) Thermocouples (a)
No lead resistance adjustment. Internal temperature compensation: compensating lead up to the instrument terminals. With AINP1, STK = int.CJC must be configured. External temperature compensation: Use separate cold junction reference with fixed reference temperature. Compensating lead is used up to the cold junction reference. Copper lead between reference and instrument. With AINP1, STK = ext.CJC and TKref = reference temperature must be configured.
Resistance thermometer Pt 100 in 3-wire connection (b)
No lead resistance adjustment is necessary, if RL1 = RL2.
Resistance thermometer Pt 100 in 2-wire connection (c)
Lead resistance adjustment is necessary: Ra must be equal to RL1 + RL2.
Two resistance thermometers Pt100 for difference measurement (d)
Lead resistance compensation: proceed as described on page13 - 7.7.
Resistance transducer (e)
Measurement calibration: proceed as describedon page13 - 7.7..
Standard voltage signals 0/2...10V (g)
Input resistance: ? 100 k[, configure scaling and digits behind the decimal point. INP5 is a difference input, the reference potential of which is connected to
terminal A9. With voltage input, A6 must always be connected to A9.
Standard current signals 0/4...20 mA (f)
Input resistance: 50 [, configre scaling and digits behind the decimal point.
DC voltage -50...1300 mV
(only for INP3 in instruments with order no. 9407-9xx-x2xx1): With Type = 0...20 mA, the input is designed for -50...1300 mV. For further use of the output of INP3 with this scaling, an x0 of -50 and an x100 of 1300 must be adjusted.
a
The inputs INP1 / INP6 are interconnected. This must be taken into account if both inputs must be used for standard current signal. If necessary, galvanic isolation should be used.
9499-040-44311 Electrical connections
9 Analog inputs (r connecting diagram)
RL2
14
16
15
RL1 = RL2
RL1
}
b
RL2
14
16
15
Ra = RL1+RL2
Ra
c
RL1
}
RL2
14
16 15
RL1
xeff = 1 - 2}}
}1 }2
d
4 5 6 7 8 9
mAmA+
-
4 5 6 7 8 9
Volt
Volt
+
-
INP5 INP5
6.7 Versions with integrated supply voltage
The potential-free supply voltage can energize a 2-wire transmitter or max. 4 control inputs. Its output connectors are selectable by means of 3 S.I.L. switches:
Connectors Ü* Ö Remarks
14 (+) 12 (-) T open closed
Only available with INP1 configured for current or thermocouple
4 (+) 1 (-) D closed open
The voltage input of INP5 is not available
Factory setting: Ü =T,* = open, Ö = closed (T). For chan
-
ging the switch positions, the instrument must be with
­drawn from its housing. The S.I.L switches are accessible on the circuit board indicated below
Connecting a 2-wire transmitter (e.g. INP1)
* If A14/A12 is used for di1/di2, A12 muß be linked
with A1.
6.8 Digital inputs and outputs (r connecting diagram)
The digital inputs and outputs must be energized from one or several external 24 V DC sources. Power consumption is 5 mA per input. The max. load is 0,1 A per output. Examples:
Digital inputs (connector A) Digital inputs and outputs at one Digital inputs and outputs at two
voltage source (e.g. connector B) voltage sources (e.g. connector B)
Electrical connections 9499-040-44311
Versions with integrated supply voltage 10
13 15
+
_
+
_
+
_
1 (12)
4 (14)
A
INP1
Connection 2-wire-transducer (e.g. INP1)
Ö
*
Ü
*
Ö
Ü
di 1 di 2
2 3
+
_
1 (12)
4 (14)
A
*
B
1
3 4
di 3 di 4
(Option)
Energizing digital inputs (e.g. di1...di4)
()()-
+
()()-
+
24V
(ext.1)
24V
(ext.2)
Imax. 70 m A
Imax. 6 mA Imax. 6 mA Imax. 6 mA Imax. 6 mA Imax. 6 mA
Imax. 70 m ARLImax. 70 m A
Imax. 70 m A
B
1
2 3 4 5 6 7 8
9 10 11
do 1 do 2 do 3 do 4
di 3 di 4 di 5 di 6 di 7
()()-
+
24V (ext.1)
Imax. 0,1 A
Imax. 5 mA Imax. 5 mA Imax. 5 mA Imax. 5 mA Imax. 5 mA
Imax. 0,1 ARLImax. 0,1 A
Imax. 0,1 A
B
1
2 3 4 5 6 7 8
9 10 11
do 1 do 2 do 3 do 4
di 3 di 4 di 5 di 6 di 7
()()-
+
24V (ext.)
Imax. 5 mA Imax. 5 mA
A
1 2 3
di 1 di 2
7 Menus
Instrument operation is menu-guided. Distinction of complete dialog and short-form dialog is made. In the complete dialog, the main menu with its sub-menus is displayed, i.e. all permitted settings are selectable. During short-form dialog, the main menu is switched off, i.e. unauthorized or accidental access is prevented and only the operating page menu with the permit
-
ted operating pages is selectable. The short form dialog is available from operating version 2.
7.1 Short-form dialog
Available from operating version 2. The main menu is switched off via interface (m-hide) or function STATUS (m-hide). The operating page menu with the permitted operating pages is selectable. Selecting, marking lines and value adjusting are done as described below.
When pressing key M during>3s,auser menu which is different dependent of instrument version (standard / real-time clock / PROFIBUS) is displayed:
Line Info: hardware order no., software order no., software version and operating version. Line Date, time: display and adjustment of date and time. Line Status PROFIBUS: status of bus access, parameter setting, configuration and data communication.
7.2 Complete dialog
A main menu for selecting the five sub-menus, using which an application-dependent number of pages can be selected.
Sub-menu Contents of pages
Level 1 data
The operating pages VWERT, VPARA, VBAR, VTREND, APROG, DPROG, CONTR, CONTR+ and PIDMA are displayed: display and adjust the operating values.
Parameter
A page is provided for each function used with which parameters are adjustable: display and adjust parameters.
I/O data
A page is provided for each function used: display of input and output data
Configuration
A page is provided for each function used, which must be configured: display and adjust configurations. For changing the configuration, the instrument must be set to ‘Offline’ (r Operating modes).
Miscellaneous
Page Date, time: display and adjust date and time. Ü Page Device data: display and adjust interface, mains frequency and language. Page Online/Offline: on-line i off-line, cancel configuration. Page Calibration: display and calibrate all signals to be calibrated. Page Info: display hardware / software order no., software version no. * Page Status CAN-BUS: status of any connected CAN nodes. Ö
Page Status PROFIBUS/INTERBUS: display status of bus access and data
communication. ä
Ü
Only with option B with real time clock
*
From operating version 2, the operating version is also displayed.
Ö
Only with option KS98+ with CAN I/O extension (r 19 KS98+ I/O extension with CANopen interface)
ä
Only with option B with PROFIBUS/I
NTERBUS
9499-040-44311 Menus
11 Short-form dialog
D
I
D
I
M
M
D
Prior to operating version 2, KS 98: was displayed additionally in the headers of the main menu and the five sub-menus. Example: KS 98: Main menu
7.3 Selection (switching on and operating pages)
After power switch-on, the instrument starts up with a logo and Main menu wait! and then the main menu is displayed during several seconds. Unless a selection is made during this time, the first operating page entered in the sub-menu without marked line is displayed. Pressing keys I / D marks one line at a time (inverse display). When reaching the page without marked line again by means of keys I / D, return to the sub-menu is by pressing key M. When reaching the End in the sub-menu by pressing keys I / D, return to the main menu is possible by pressing the M key.
Keys I / D scroll the marked line up to the start or down to the menu end. When pressing the key again, the marked line changes from the start to the end, or vice versa.
7.4 Language selection
English: Mark Allgemeine Daten r Gerätedaten r Sprach = deutsch. Press M: deutsch blinks. Press I: english blinks. Press M: Main menu is indicated.
German: Mark Miscellaneous r Device data r Langu. = english. Press M: english blinks. Press D: deutsch blinks. Press M: Hauptmenü is indicated.
French: Mark Divers r Donn er d´appar. r Langu. = francais. Press M: francais blinks. Press D 2x:francais blinks. Press M: Menu principal is indicated.
7.5 Selection (other pages)
Select sub-menu (inverse display) in the main menu with IDand open it with M. Select page with IDand open it with M. The first line is marked (inverse, r Adjusting values). When reaching End with ID, return to the sub-menu is with M. When reaching End in the sub-menu with ID, return to the main menu is with M.
Example: parameters
Keys I / D scroll the marked line up to the start or down to the menu end. When pressing the key again, the mar
-
ked line changes from the start to the end, or vice versa.
Menus 9499-040-44311
Selection (switching on and operating pages) 12
End
. . .
D
I
D
I
M M
M
D
I
M
D
D
I
D
I
End
. . .
D
I
End
. . .
M
M
M
M
7.6 Adjusting values
Values in marked lines of pages can be adjustable. For this, the required line or value is marked with ID (inverse display). When confirming the value with M, it starts blinking and can be adjusted with ID. When reaching the required value, confirm it with M. Now, ID can be pressed to mark another line.
Example: bargraph vertical Example: parameter CONTR+
7.7 Calibration
Select (ID) item Calibration in sub-menu KS98: Miscellaneous and open it (M). Mark the bottommost line (inverse display, e.g. Quit) by pressing I. Continue as follows:
Transducer input (INP1 or INP6) 2 resistance thermometers in difference (INP1)
Calibration of transducer start and end: Calibration of lead resistance effect:
Ü
Set transducer to start (r section Operating modes)
Ü
Short-circuit both thermometers in the connecting head
*
Press M
r
Quit blinks *
*
Press M
r
Quit blinks *
Ö
Press I
r
Set 0% blinks
Ö
Press I
r
Set Dif blinks
ä
Wait until the input has settled (min. 6 s)
ä
Wait until the input has settled (min. 6 s)
#
Press M
r
0% done is displayed
#
Press M
r
Cal done is displayed
<
Set transducer to end (r section Operating modes) Lead resistance adjustment is finished. Remove both
short circuits. For exit from calibration press D until nothing is marked and then press M.
* if another word blinks, press key I or D as many times as necessary, until the required dialogue blinks.
>
Press M
r
0% done blinks
y
Press I 3xrSet 100% blinks
x
Wait until the input has settled (min. 6 s)
c
Press M
r
100% done is displayed
Calibration is finished. For exit from calibration press D until nothing is marked and then press M.
7.8 Operating modes
q
Online/Offline
For configuration changing, switch the unit to ‘Offline’ and back to ‘Online’ ( Miscellaneous, Online/Offline).
q
Manual/automatic operation
When using controllers, automatic or manual operation may be requested by several points. The controller leaves the manual mode, when all control signals request automatic operation. Example: INP6 is provided for potentiometric transducer and connected accordingly (position feed-back). When it is calibrated, the controller can be switched to manual mode on the calibrating page (by means of H, Man. is displayed on the bottom left). Line Y can be marked by pressing I and M and the actuator can be driven to its limits with I / D. After calibration, the manual mode must be switched off on this page (press H again).
9499-040-44311 Menus
13 Adjusting values
D
I
M
M
D
I
M
M
8 Maintenance
8.1
Behaviour in case of trouble
The unit needs no maintenance. In case of trouble, check:
w
the unit for on-line operation,
w
the power supply for correct voltage, correct frequency and correct connection,
w
all connections for correctness,
w
sensors and final elements for correct function,
w
the engineering for correctness,
w
the configuration for required operation and
w
the adjusted parameters for required effects. If the unit does not function correctly after these checks, it must be shut down and replaced. A defective unit can be returned to the supplier for repair.
8.2 Shut-down
Disconnect the supply voltage completely and protect the unit against accidental operation. Before switching off, check that other equipment in the same signal loop is not affected. If necessary, appropriate measures must be taken.
8.3 Cleaning
Housing and front panel can be cleaned using a dry, lint-free cloth. No use of solvents or cleansing agents!
8.4 Further information
Order no.
For a structured single-channel controller
operating instructions 9499-040-51001
For the Engineering-Tool
operating instructions 9499-040-45701
For the digital interface (ISO1745)
interface description 9499-040-45111
For the PROFIBUS
interface description 9499-040-52711
For the I
NTERBUS
interface description 9499-040-57011
Engineering manual
manual 9499-040-44911
This manual includes the operating instructions 9499-040-45701 for the engineering tool and the manual 9499-040-50611 for KS 98 Multi Function Unit.
Maintenance 9499-040-44311
Behaviour in case of trouble 14
Software functions
The function blocks are described basically. Analog inputs are described with x, digital inputs with d, analog outputs with y and digital outputs with z. Range “Real” is within -29 999 and 200 000. The max. permissible length of the value is 6 digits (inclusive of minus sign and decimal point), with max. 3 digits behind the decimal point. With time adjustment, negative values are not permissible.
To prevent engineering errors which would result in operating error, we recommend making own engineerings by means of the KS98 engineering tool only. It offers a graphic user interface, manages function blocks and scanning times and permits parameter setting and configuration by means of the relevant short-form descriptions. Text entry is also possible (block title, units and other user-specific texts).
9 Scaling and calculation functions
9.1
ABSV (absolute value - no. 01)
||
yaxa
110
=× +
Parameter Description Values Default
a
Multiplication factor
Real
1
a0
Offset 0
9.2 ADSU
(addition / subtraction - no. 03)
yaxbxcxdxy
1123 40
=× +× +× +× +
Parameter Description Values Default
a...d
Multiplication factor
Real
1
y0
Offset 0
9.3 MUDI
(multiplication / division - no. 05)
y
AB
C
ax a bx b
cx c
1
10 20
30
=
×
=
×+ ××+
×+
()()
Parameter Description Values Default
a...c
Multiplication factor
Real
1
a0...c0
Offset 0
9499-040-44311 Scaling and calculation functions
15 ABSV
x1
A
y1
a0a
A
x1
x2
x3
x4
y1
y0
a
c
b
d
x1
x2
x3
y1
A
B
C
a0
b0
c0
a
c
b
A*B
C
9.4 SQRT
(square root function - no. 08)
yaxa y
1100
=×+ +
Parameter Description Values Default
a
Multiplication factor Real 1
a0
Input offset 0
y0
Output offset 0
9.5 SCAL
(scaling - no. 09)
yaxa
Exp
110
=× +()
Parameter Description Values Default
a
Multiplication factor
Real
1
a0
Offset 0
Exp
Exponent -7...+7 1
9.6 10EXP
(10s exponent - no. 10)
y
x11
10=
9.7 EEXP
(e function - no. 11)
ye
x11
=
9.8 LN
(natural logarithm - no. 12)
yx
1
ln 1)= (
9.9 LG10
(10s logarithm - no. 13)
yx
1
log 1)= (
Scaling and calculation functions 9499-040-44311
SQRT 16
x1 y1
a0
y0
a
x1 y1
a0a Exp
EXP
x1 y1
10
x1
x1 y1
e
x1
x1 y1
ln
x1 y1
log
10
10 Non-linear functions
10.1
GAP (dead band - no. 20)
yxL
1
1= \
with x1 < L
y
1
0=
with x1 = L...H
yxH
1
1= \
with x1 > H
Parameter Description Values Default
Low
Lower limit value
Real
0
High
Upper limit value 0
10.2 CHAR
(function generator - no. 21)
With max. 11 value pairs (input / output) non-linear functions are simulated or linearized.
Configuration Description Values Default
Seg
Number of segments 1...10 1
x(1...11)
Input value for curve point Real *
y(1...11)
Output value for curve point 0
* 0 for x1, x3...x11 and 1 for x2
11 Trigonometric functions
11.1
SIN (sinus function - no. 80)
yx
1
sin 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
11.2 COS
(cosinus function - no. 81)
yx
1
cos 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
11.3 TAN
(tangent function - no. 82)
yx
1
tan 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
9499-040-44311 Non-linear functions
17 GAP
x1 y1
y
x
y=x-High
y=x-Low
Low
High
x1 y1
y
x
( 10)ß
1
2
3
4
5
6
7
8
9
10
y1
y2
y11
x1 x2 x11
...
...
Seg
x1 y1
Select
(y1) = sin (x1)
x1 y1
Select
(y1) = cos (x1)
x1 y1
Select
(y1) = tan (x1)
11.4 COT
(cotangent function - no. 83)
yx
1
cot 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
11.5 ARCSIN
(arcus sinus function - no. 84)
yx
1
arcsin 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
11.6 ARCCOS
(arcus cosinus function no. 85)
yx
1
arccos 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0 0 Unit: arc measure 1
11.7 ARCTAN
(arcus tangent function - no. 86)
yx
1
arctan 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0
0
Unit: arc measure 1
11.8 ARCCOT
(arcus cotangent function - no. 87)
yx
1
arccot 1)= (
Parameter Description Values Default
Select
Unit: degree of angle 0
0
Unit: arc measure 1
Trigonometric functions 9499-040-44311
COT 18
x1 y1
Select
(y1) = cot (x1)
x1 y1
Select
(y1) = arcsin (x1)
x1 y1
Select
(y1) = arccos (x1)
x1 y1
Select
(y1) = arctan (x1)
x1 y1
Select
(y1) = arccot (x1)
12 Logic functions
12.1
AND (AND gate - no. 60)
z d AND d AND d AND d
11234
=
zz
21
=
12.2 NOT
(inverter - no. 61)
zd
11
=
12.3 OR
(OR gate - no. 62)
z d OR d OR d OR d
11234
=
zz
21
=
12.4 BOUNCE
(debouncer - no. 63)
for de-bouncing a logic signal
Parameter Description Values Default
Delay
Switch-on and off delay time [s] Real 0
12.5 EXOR
(exclusive OR gate - no. 64)
zdEXORd
11 2
=
zz
21
=
12.6 FLIP
(D flipflop - no. 65)
The status of d1 is transferred to z1, when
- d2 changes from 0 to 1 (positive flank) and
- d3 is logic 0. If d3 is logic 1, z1 is logic 0.
zz
21
=
9499-040-44311 Logic functions
19 AND
d1 d2 d3 d4
z1 z2
&
d1 z1
1
d1 d2 d3 d4
z1 z2
?1
d1
z1
Delay
Delay Delay
d1 d2
z1 z2
=1
signal clock reset
d1 d2 d3
z1 z2
12.7 MONO
(monoflop - no. 66)
Positive pulse of length T1 at z1, if a positive flank is detected at d1 (0 r 1) and Positive pulse of length T2, when a negative flank is detected at d2 (1 r 0).
zzandzz
21 43
==
Parameter Description Values Default
Ti1
Pulse duration in s (d1,Mode1=0) Real 1
Ti2
Pulse duration in s (d2,Mode2=0) Real 1
Mode1
Source of pulse duration T1= Ti1 0
0
Source of pulse duration T1 = x1 1
Mode2
Source of pulse duration T2= Ti2 0
0
Source of pulse duration T2 = x2 1
12.8 STEP
(step function for sequencing - no. 68)
For conditional switch-on or as a ring counter. The STEP functi­on can be cascaded.
d1...d10 Condition inputs for switching on
x1 Input for cascading
d11=1 reset (y1 is set to 1 or to x1) d12=1 stop (y1 and z1 remain unchanged)
d13 skip (switch-on with positive flank)
y1 Active step number (or + x1) z1 1 = STEP function is active or in reset
12.9 TIME1
(timer - no. 69)
The status change of d1 is output with delay at z1. The delay is T1 or x1 for the positive flank, T2 or x2 for the negative flank.
zz
21
=
Parameter Description Values Default
T1
Delay time in s (d1=0r1)
Real
0
T2
Delay time in s (d1=1r0) 0
Configuration Description Values Default
Mode
Delay times = T1/T2 0
0
Delay times = x1/x2 1
Logic functions 9499-040-44311
MONO 20
x1
d1
x2
d2
z1
z2
z3
z4
Ti1
Mode1
Ti2
Mode2
T1
T1
T1
T2T2T2
d11 d12 d13
reset stop skip
Casc
activ
Step
d1
d10
...
x1
z1
y1
STEP
x1
x2
d1
z1
z2
Mode
T1
T1
T2
t
t
T2
T1
T2
13 Signal converters
13.1
AOCTET data type conversion
Function AOCTET converts an analog value (X1) into the individual bytes (Ooct1-4) of a data type as used e.g. for transmission via the CAN bus ( see CPREAD / CPWRIT ). In the CAN notation, the bytes are transmitted in Intel format. Unless connected instruments are in compliance with this notation, word or bytewise echange of the bytes may be necessary.
The function works in both directions simultaneously ( analog > bytes / bytes > analog ) with separate data type adjustment in the parameters.
Analog inputs:
X1 analog input value Ioct1..4 analog input byte value 1 Analog outputs:
Y1 analog output value Ooct1..4 analog output byte value 1 Parameters: Ioct data type of analog > byte conversion Ooct data type of byte > analog conversion
The following data types are available 0: Uint8 1: Int8 2: Uint16 3: Int16 4: Uint32 5: Int32 6: Float
13.2 ABIN
(analog i binary convertion - no. 71)
Converts analog value x1 into digital value z1...z8 and converts digital value d1...d8 into analog value y1. Either binary: z1/d1 = LSB or BCD: z1...z4/d1...d4 = LSD, z1/z5/d1/d5 = LSB or 1 of 8: z1/d1 = 1
Configuration Description Values Default
Select
analog r binary and vice versa 0
0analog r BCD and vice versa 1
analog r 1 of 8 and vice versa 2
13.3 TRUNC
(integer portion - no. 72)
Provides the integer portion of x1 (not rounded!) to y1.
yINTx
11
= ()
13.4 PULS
(analog-pulse convertion - no. 73)
Value x1 is converted into a number of pulses/h.
n Puls h
xx
xx
10
100 0
\
\
n
max.
= 18 000/h with ts=100 ms Parameter Description Values Default
n
max.
= 9 000/h with ts=200 ms
x0
Start
Real
0
n
max.
= 4 500/h with ts=400 ms
x100
End 1
nmax. = 2 250/h with ts=800 ms
Puls/h
Pulses/h 0...nmax. 0
9499-040-44311 Signal converters
21 AOCTET
x1
d1
d8
...
z1
z8 y1
...
1 aus 8 BCD Binär
2 2
2
0
1
7
1 aus 8
BCD
Binär
2 2
2
0
1
7
. . . .
. . . .
Select
0...255
0...255
x1 y1
x
y
x1 z1
x0 x100
Puls/h
13.5 COUN
(up/down counter - no. 74)
The events (0 r 1) at d1 are counted up and the events at d2 are counted down. Condition: the non-counting input is not connected, or connected to 1. During carry or borrow, the relevant output is 0.
Parameter Description Values Default
y0
Preset value 0
Max
Max. limit Real 9999
Min
Min. limit 0
Mode
Source of preset = y0 0
0
Source of preset = x1 1
reset (di4) preset (di3) Mode
Count = counter output (counter value) 0 0 GO (Default) carry = positive carry 0 1 PRESET borrow = negative carry 1 0 RESET (first-Run)
1 1 RESET (first-Run)
13.6 MEAN
(mean value formation - no. 75)
y1 = arithmetic mean value from the number (ValNo)ofx1 values sampled last. The interval between the individuel sam­ples is adjustable with Sample and Unit. Sampling is also possible at a positive flank at d3 (sample). Sampling is interrupted with d1=1(disabl), the mean value is deleted with d2 = 1 (reset).
Configuration Description Values Default
After sampling of the required number of
Sample
Value for interval Real 1
values (ValNo), z1 goes to 1 during 800 ms.
ValNo
Number of values to be sampled 1...100 100
This signal can be used at the sample input (d3)
Unit
Time unit for interval: s 0
0of a second MEAN function for cascading. Time unit for interval: min 1
Time unit for interval: h 2
Example 1: Mean value of the last minute with one sample every second.
Sample:1 Unit:0 r one sample every second. ValNo: 60 r the mean value is calculated from the last 60 values (1 minute).
Example 2: Mean value of the last day with one sample every hour.
Sample:1 Unit:2 r one sample every hour. ValNo:24 r the mean value is calculated from the last 24 values (1 day).
Example 3: Mean value of the last day with one sample every 15 minutes.
Sample:15 Unit:1 r one sample every 15 minutes. ValNo:96 r the mean value is calculated from the last 96 values (1 day).
Signal converters 9499-040-44311
COUN 22
>Tr
>Tr
reset preset
Preset
down up
Count
carry
borrow
d4 d3
x1
d2 d1
y1
z1
z2
&
&
&
y0
Mode
Min
0000
Max
9999
d2 d1 d3 x1
z1 y1
reset disabl sample
Unit
ValNo
Sample
]
ValNo
ready Mean
14 Time functions
14.1
LEAD (differentiator - no. 50)
{}
yt
T
Tt
y tt a xtxtt y
1
s
1s 1 1s 0
() [ ( \ ) ()\ ( \ ) ]=
+
×+× +
ts calculation cycle time x1(t) instantaneous x1
T time constant x1(t-ts) previous x1 a
gain y1(t) instantaneous y1
reset = reset to start condition
y0
Output offset y1(t-ts) previous y1
Parameter Description Values Default
a
Description
Real
1
y0
Output offset 0
T
Time constant in s 1
Configuration Description Values Default
Mode
Differentiating all changes 0
0Differentiating only pos. changes 1
Differentiating only neg. changes 2
14.2 INTE
(integrator - no. 51)
yt y tt
t
T
xt x
11
s
s
10
() ( \ ) [ () ]=+×+
ts calculation cycle time x1(t) instantaneous x1 T integration constant y1(t) y1 aftert=n.ts n number of calcul. cycles y1(t-ts) previous y1 x0 input offset
Parameter Description Values Default
T
Time constant in s
Real
60
x0
constant 0
reset (d2 = 1, priority over preset and stop)
y0
Preset value 0
preset (d3 = 1, priority over stop)
Min
Min. limiting -9999
stop (d1 = 1)
Max
Max. limiting 9999
z1 = 1 with max. limiting exceeded
Mode
Source of Preset = y0 0
0
z2 = 1 with min. limiting exceeded Source of Preset = x2 1
14.3 LAG1
(filter - no. 52)
With d1 = 0, x1 is transmitted to y1 with delay after a 1st order e-function (d1 = 1: without delay).
yt
T
Tt
ytt
t
Tt
xt
1
s
1
s
s
s
1
() ( \ ) ()=
+
×++×
ts calculation cycle time x1(t) instantaneous x1 d1 = 0: delay effective (default) T time constant y1(t) y1 aftert=n.ts d1 = 1: delay ineffective n no. of calculation cycles y1(t-ts) previous y1
Parameter Description Values Default
T
Time constant in s Real 1
9499-040-44311 Time functions
23 LEAD
a
T
d1
x1
reset
y1
y0
Mode
+
+-
-
/
preset reset
stop
x2
d3
d2
x1
d1
z1 z2 y1
y0
Mode
?1
T
ò
MAX
MIN
MAX MIN
Min
Max
x0
Preset
T
d1
x1
y1
Loading...
+ 53 hidden pages