Download Industrial controller KS 94 - West Instruments de México, SA
Transcript
Industrial controller KS 94 S94 Interface description INTERBUS 9499 040 56911 Valid from: 8363 ® is a registered trademark of the INTERBUS user organization DAC ® is a patented method and a registered trademark of Regeltechnik Kornwestheim GmbH © PMA Prozeß- und Maschinen-Automation GmbH 1999 Printed in Germany (9908) 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 P.O. Box 310229 D-34058 Kassel Germany Inhalt 1. General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 INTERBUS interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2 User advantages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.3 Scope of delivery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2. Hints for operation . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.1 Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 Remote/Local . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2.1 2.3 Interface connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3.1 2.4 Local switch-over via interface . . . . . . . . . . . . . . . . . . . . . . . . 7 Laying cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 INTERBUS diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4.1 Display signification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3. Special functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1 ‘Back-Up’ controller operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.1.1 3.1.2 Forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Controller output locking. . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4. Processdata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1 Projecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.2 Process data transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.2.1 4.2.2 4.2.3 4.3 Introducing KS94 instrument logos in CMD. . . . . . . . . . . . . . . . . 13 Process data modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.3.1 4.3.2 4.3.3 4.4 Controller adjustments. . . . . . . . . . . . . . . . . . . . . . . . . . . 11 INTERBUS network. . . . . . . . . . . . . . . . . . . . . . . . . . 12 Statuswords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Controlwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Locking mechanism with changes . . . . . . . . . . . . . . . . . . . . . . 16 Data_types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.4.1 4.4.2 Mapping on INTERBUS process data channel . . . . . . . . . . . . . . . . 17 Mapping on INTERBUS parameter channel . . . . . . . . . . . . . . . . . 17 5. Example projects for CMD . . . . . . . . . . . . . . . . . . . . . . 18 5.1 Example loading procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6. Parameter transmission (PCP) . . . . . . . . . . . . . . . . . . . . 20 6.1 Supported PCP services: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6.2 Communication principle for operation via PCP. . . . . . . . . . . . . . . . . . . 21 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.3 Description of the most important parameters Building up a communication . . . . . . . . Sending data to the bus unit . . . . . . . . . Reading data from a bus unit . . . . . . . . . Terminating the communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 22 22 22 22 KS94-IBS objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 6.3.6 6.3.7 6.3.8 Survey . . . . . . . . . . . . . . Transmission parameters . . . . . Object 2000hex 'MEM_RD_PAR'. Object 2001hex 'MEM_WR_PAR' Object 2002hex 'SINGLE_AC' . . Object 2003hex 'BLOCK_AC'. . . Object 2004hex 'TEXT_AC'. . . . Object 2005hex 'DECADE_AC'. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 23 24 24 25 26 27 28 6.4 PCP error messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 7. 7.1 Function block protocol . . . . . . . . . . . . . . . . . . . . . . . . 30 Data structuring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.2 CODE tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 8. Configuration words (C.xxxx) . . . . . . . INSTRUMENT (FB no.: 0 type no.: 0) INPUT (FB no.: 61 Type no.: 110) . . CONTR (FB no.: 50 Type no.: 90) . . ALARM (FB no.: 51 type no.: 45) . . OUTPUT (FB no.: 81 Type no.: 111). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 32 40 44 52 53 8.1 Annex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Legend of terms and abbreviations . . . . . . . . . . . . . . . . . . . . . . . 54 9. Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 General 1 General The (9407-92x-4xxx1) versions of Industrial Controller KS94 are provided with an INTERBUS – remote bus interface for transmission of the process and parameter data. Connection is on the instrument rear. The serial communication interface permits communication with supervisory systems, visualization tools, etc. Another interface, which is always provided as standard is the front-panel PC interface. It is used for connection of the engineering tool, which runs on a PC. 1.1 INTERBUS interface INTERBUS communication is according to the master/slave principle. KS94/IBS is always slave. Lead as well as physical and electrical properties of the interface are as follows: w Network topology Active ring with separate leads for both communication directions in one cable. Stub lines via special components such as bus terminals or bus coupling units are possible. w Cable definition according to EN 50254-2-2: Cu-strand conductor, 3 twisted pairs - Cable: 80 -120 W (typ. 100 W) - Characteristic impedance: < 60 pF/m - Distributed capacity: < 250 W/km - Loop resistance: > 0,20 mm2 - Conductor cross-section: w Baudrates and cable lengths According to EN 50254-2-2, cables with a max. length of 400 m (Cu) are permissible between two field bus units. The transmission rate is fixed to 500 kbit/s. BaudrateInterface RS485 with sub-D-connector/socket; on-site assembly possible Max. number of stations in a ring: 256 (max. 85 KS94/IBS). w w 1.2 User advantages KS94 with INTERBUS interface offers many advantages related to handling and integration into an INTERBUS network. w Diagnosis and monitoring Display of bus messages - Plain text front panel display - Diagnosis LEDs on the rear - Diagnosis information selectable for output via front-panel LED Bus error signalling via e.g. relays w 000330 Special features Configurable process data modules Direct input and output reading and writing Input forcing Output disabling Back-up controller function Simple connection even to small PLCs 5 9499 040 56911 General 1.3 Scope of delivery The engineering set comprises: w Floppy 3,5-Diskette (A:) Device Pma Ks94 A0 A2 B2 C0 Ks94ibs Cmd Demo1 Demo2 Demo3 Et94 w A0.dsh A2.dsh B2.dsh C0.dsh Description of unit structure A.0 ID: 51 Description of unit structure A.2 ID: 240 Description of unit structure B.2 ID: 240 Description of unit structure C.0 ID: 240 Exdevdb.ldb Exdevdb.mdb Pma.icl Ks94dmo1a.bg4 Ks94dmo1a.ini Ks94dmo1b.bg4 Ks94dmo1b.ini Ks94dmo2a.bg4 Ks94dmo2a.ini Ks94dmo2a.zwt Ks94dmo2b.bg4 Ks94dmo2b.ini Ks94dmo2b.zwt Ibsdmo1.e94 Ibsdmo2.e94 Database for external unit description KS94 instrument logo for CMD Demonstration project 1a for CMD Demonstration project 1b for CMD Demonstration project 2a for CMD Demonstration project 2b for CMD 'ET/KS94' engineering file for Demo1 'ET/KS94' engineering file for Demo2 Interface description for INTERBUS 9499 040 56911 6 000330 Hints for operation 2 Hints for operation 2.1 Operation KS94 data can be read or displayed and changed from the front-panel PC interface_PC interface or via the serial interface. After delivery of controller KS94, the PC interface is active. Controller configuration and parameter setting are supposed to be done by means of the engineering tool before commissioning. The interface;Switching over to front-panel interface;Switching over to busSwitching over to the serial interface is either w via operator dialogue (front panel): Press M ? during 3 sec. Ä Para blinks Display = Switching over to rear interface Press I , until CBus blinks Ä Press M shortly. CBus w or by activating ‘REMOTE’ (r page 7). Returning to LOCAL does not cause switch-over to the front-panel interface. Switch-over to the PC-interface is only possible with the unit set to LOCAL. w Via operator dialogue (front panel): Press M ? during 3 sec. Ä Para blinks Display = Switching over to front-panel interface Press I until CFrnt blinks. Ä Confirm M shortly. CFrnt 2.2 Remote/Local Remote/Local with serial interface are provided with a hardware input (di3) for switching over between REMOTE and LOCAL operation (R/L). B 1 - 2 + 3 di3 During ‘REMOTE’ mode, all operations via the serial interface (writing and reading) are permissible. The following operations are still possible via the keys of the local operating panel: w w w Display switch-over Parameter display/reading, however, without changing Configuration data display/reading, however, without changing During remote mode, operation of the PC interface is not possible. When switching over from LOCAL to REMOTE, any active PC interface is switched off. INTERBUS-Interface During the ‘LOCAL’ mode, all data can only be read via the serial interface. Front-panel interface Modifications are not possible, except: any data related only to the interface, or which are not adjustable via local operation. Front-panel operation R/L-Input H M 2.2.1 Local switch-over via interface a 000330 Local switch-over via the field bus interface is possible. Conditions: w Unit is in REMOTE mode (contact di3 closed). w Switch-over to local mode is possible via interface command. Inverse switch- over (return to remote) is also possible. w default setting is the remote mode. w During HW mode local, this setting is ineffective. w During transmission to HW mode local or during power ON, the default value is adjusted. Caution! Returning to remote mode is not possible when switching over to the front-panel interface. With INTERBUS, all cyclic write data must be rewritten when returning from Local to Remote, in order to ensure the busmaster status defined last. 7 9499 040 56911 Hints for operation 2.3 Interface connection Connect the INTERBUS to the 9-pole sub-D connector on the controller rear (r Fig.:1 ) and tighten the mounting screws manually. 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 IN 1 11 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 13 14 15 16 66 22 77 33 88 44 99 55 OUT UL BA CC 6 RD TR 7 IN 8 1 6 2 7 9 3 8 4 9 5 1 2 3 4 5 D-SUB- 9-polig Stifte 1 2 3 4 5 6 DO 6 DO 1 DI 7 DI 2 GND 3 Zugentlastung grün 1 gelb 2 rosa 3 4 grau 5 6 7 8 9 braun D-SUB- 9-polig Buchse Fig.: 1 INTERBUS connection OUT DO DO DI DI GND 6 1 7 2 3 5 9 Zugentlastung grün gelb rosa grau braun gebrückt Abgehende Schnittstelle Ankommende Schnittstelle Appropriate cables must be assembled by the user. For this, the general cable specifications_cable specifications to EN 50254-2-2 must be followed. Signal pairs (e.g. DO / DO ) must be taken via twisted wire pairs. Metal connector housings should always be used. the bus cable screening as shown in Fig.: 2 . To activate the screening, the measurement earth must a Connect be connected accordingly at the controller. Fig.: 2 Screening connection OUT IN 7 6 9 8 2 1 3 5 4 10 11 12 P A 1 3 2 5 4 7 6 9 8 Meßerde 3 4 13 14 2.3.1 Laying cables When laying the cables, the general hints for laying cables given by the master module supplier must be taken into account: w Cable run inside buildings (inside and outside cabinets) w Cable run outside buildings w Potential compensation w Cable screening w Measures against interference voltages w Connection of the measurement earth at KS94 2.4 INTERBUS diagnosis The LEDs to be used for INTERBUS diagnosis are located on the instrument rear. The signification of LEDs is given in the following table: UL LED - Description LED - colour LED = on LED = off BA CC RD TR 9499 040 56911 UL (supply voltage) BA (Bus aktive) CC 1) (Cabel Check) RD (Remote Disable) TR (Transmit/Receive) green Voltage provided, no reset cycle Reset active or no voltage provided green Bus active Bus stopped green Incoming remote bus active Incoming remote bus switched off red Outgoing bus switched off Outgoing bus active green PCP - communikation active no PCP - communication 8 000330 Hints for operation Additionally, there are two possibilities of bus message display_bus status display, which can be adjusted during controller configuration (C.800): w Plain text message on the lower display line C.800; UsrTx = 1 or 2 (user text via control input or function statuses) w Indication via LED (front-panel LEDs) C.800; LED = 4 (INTERBUS error messages) Allocation of front-panel LEDs and INTERBUS diagnosis LEDs on the controller rear: UL = LED 1 (left LED); BA = LED 2; CC = LED 3; RD = LED 4 (right LED) Fig.: 3 Selection of configuration word C.800 270 10.5 Bar xw____áûô___ 12% + >3s M I End D Hold OStar Para Para M I D End Signl Aux Input Contr Tune + >3s Limit Setp M I End D Mark Exit Conf Conf M + + I D End Aux DISP Tune Alarm Outpt Input Contr M + C.800 0.0.0.0 DISP Konfig. Anzeige 5xI Now, the relevant configuration can be selected by pressing the M key shortly. 2.4.1 Display signification Plain text display IBS:Mod.unknown IBS:no conn IBS:Bus ready keine Anzeige IBS:PCP aktive UL off on on on on BA d.c. off off on on CC d.c. off on on on RD d.c. on on off off TR d.c. d.c. d.c. off on Signification Module error, interface_interface No connection to connecting module, cable error Bus ready status (RDY), connection ok., no data exchange Run status (RUN), data exchange Run status and PCP channel set up 1) Incoming bus monitoring; if the incoming cable is o.k. and the connected module is not in Reset, CC is active. 000330 9 9499 040 56911 Special functions 3 Special functions 3.1 ‘Back-Up’ controller operation ‘Back-Up’ controller operation. During normal operation, calculation of controller outputs is in the PLC. The controllers are used for process value measurement and correcting value output (incl. duty cycle conversion and display). 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% In case of trouble, i.e. with failure of PLC or bus communication, control operation is continued independently and bumplessly by the KS 94 controllers. 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% 1132 m3/h 1100 y:ûûûûû 55% Determination that the controller switches to automatic mode automatically when changing from Remote to Local is by configuration. Selection ‘back-up operation’ is in configuration word C.191 (S A/M = 4). If the application requires that the controller goes to automatic mode, i.e. that the control operation is continued by the controller in case of INTERBUS communication error, the following measures must be taken: w Definition of an alarm dependent of INTERBUS status P B (e.g. C.600 ...; Src = 23; Fnc = 6) 1 4 Output of this alarm on a relay or logic output w 5 2 + 6 3 w External wiring of this alarm to the remote/local input (di3) di3 3.1.1 Forcing Analog forcing inputs can be determined for the controller via INTERBUS after configuring them accordingly ( C.910, C.911), also if they are not existing physically. Digital inputs can also be set C.930... C.941 OUT, do ( C.920... C.922). Analog outputs can be written directly after configuring them accordingly ( C.930, C.931). Digital outputs C.910... C.922 INP, di can also be set directly ( C.940, C.941). 3.1.2 Controller output locking Via INTERBUS, the KS94 digital outputs can be locked. ( C.930, C.941; FOUT1, 2, 4, 5/ Fdo1...6 = 2) C.930... C.941 & OUT, do FOUT1 can be locked only, if it was configured as relay or logic. 9499 040 56911 10 000330 Processdata 4 Processdata During data transmission, distinction between cyclically transmitted process data and acyclically transmitted parameter /configuration data is made. The I/O data field structure is modular for matching it to the requirements of the control task. The process data to be transmitted can be determined by engineering (see section 4.2 page11 ). Process data are transmitted as integer16, type “FixPoint1” is determined as value range. FixPoint1 has one fixed digit behind the decimal point, e.g. 30°C is transmitted as 3000. The permissible range is -3000,0 to +3200,0. 4.1 Projecting For integrating a KS94 into an INTERBUS network, preparative measures must be taken. w Adjust the controller by means of Engineering Tool ”ET/KS94". w Integrate the controller into an INTERBUS network. 4.2 Process data transmission Process data are read and written cyclically by the controller. The minimum poll time of 200ms is met, unless an access via the parameter channel is made simultaneously. Output data sent to KS94 are compared with the values sent previously and only processed with deviation. If one of the values is faulty, bit 11 in status word 1 is set, until there are no faulty values any more. 4.2.1 Controller adjustments In addition to application-specific controller adjustment (configuration and parameter setting), the INTERBUS functions must be adjusted. w To meet various memory space and transmission time requirements, selection between several process data modules is possible (r see section ). Standard function A.0 (ID = 51; PD-L = 64) is adjusted by default. Selection of the process data module is via change r configuration r additionals r structure selection. Fig.: 4 Process data module selection With the checkbox for "activation of process data switch-over" activated, the KS94 Interbus connecting structure is changed directly. In this case, corresponding measures can be taken directly by the master (switch-over to ‘Alarm-Stop’ and then to ‘Run’). Unless this function is activated, structure changing is only active after ‘power-on’. 000330 11 9499 040 56911 Processdata w The user can select any data to be transmitted cyclically from all instrument process data and instrument parameters by means of engineering tool 'ET/KS94', i.e. he can compose his transmission data himself. The data for cyclic transmission are selected via change r parameter r miscellaneous r fieldbusdata . Fig.: 5 Controller data allocation for the field bus Max. 16 data for reading and 16 data for writing can be selected. Dependent of process data module, the first two data (structure A), the first six data (structure B) or all selected data (structure C) are used. 4.2.2 INTERBUS network For KS94 operation, the adjusted ident code and the used process data length must be reported to the INTERBUS. With a Phoenix Contact CMD tool, this is possible by: w Read-in via the configuration frame 9499 040 56911 12 000330 Processdata w Insertion with ident code via the connecting module w Insertion with description via the connecting module The two possible methods for introducing the KS94 unit description into CMD are. - Method 1: Copy file exdevdb.mdb from directory A:<ks94ibs<cmd< on the ES disk into target directory C:<ibscmd<bin . This should be done only, if no other external unit descriptions were entered so far. - Manufacturer name Method 2: Import the required unit descriptions into CMD by calling up in PMA menu ”Extras r Importieren” from disk A: Instrument group KS94 Instrument type A0 A2 B2 C0 Contents Structure A.0 ID: 51 Structure A.2 ID:240 Structure B.2 ID:240 Structure C.0 ID:240 4.2.3 Introducing KS94 instrument logos in CMD Copy file pma.icl from directory A:<ks94ibs<cmd< on the ES disk into target directory C:<ibscmd<picture. 000330 13 9499 040 56911 Processdata 4.3 Process data modules The following process data modules can be configured: The values to be adjusted and data significations are given in the following tables: Structure A.0 Transmission of digital and analog values directly via the process mapping (without PCP ). Ident-Code: 51 dec; length of process data channel: 64 Bit Byte 1 2 3 4 5 6 7 8 IN (KS94 r INTERBUS) OUT (INTERBUS r KS94) Statusword 1 Control word 1 Statusword 2 Control word 2 IN 1 OUT 1 IN 2 OUT 2 Structure A.1 Transmission of digital and analog values directly via the process mapping (with PCP). Ident-Code: 240 dec ;length of process data channel: 64 Bit OUT (INTERBUS r KS94) Byte IN (KS94 r INTERBUS) 1 Statusword 1 Control word 1 2 3 Statusword 2 Control word 2 4 5 IN 1 OUT 1 6 7 IN 2 OUT 2 8 Structure B Transmission of digital and extended analog values directly via the process mapping (with PCP 1)). Ident-Code: 240 dec ;length of process data channel: 128 Bit Byte IN (KS94 r INTERBUS) 1 Statusword 1 2 3 Statusword 2 4 5 IN 1 6 7 IN 2 8 9 IN 3 10 11 IN 4 12 13 IN 5 14 15 IN 6 16 9499 040 56911 OUT (INTERBUS r KS94) Control word 1 Control word 2 OUT 1 OUT 2 OUT 3 OUT 4 OUT 5 OUT 6 14 000330 Processdata Structure C Multiplex transmission of digital and analog values. Ident-Code: 51 dec ;length of process data channels: 48 Bit g Byte IN (KS94 r INTERBUS ) OUT (INTERBUS r KS94) 1 Statusword1 Control word1 2 Index - Read Index - Read 3 Index Write Index - Write 4 5 Val - Read Val - Write 6 Operating principle (read): w Enter the index number into Index - Read (OUT) w After the index number is mirrored in Index - Read (IN), the read value is stored in Val - Read. Operating principle (write): w Enter the index number into Index - Write (OUT) w Enter the value to be written into Val - Write (OUT) w After the index number is mirrored in Index - Write (IN), the value was transmitted. To ensure consistent data transmission, Index - Write and Val - Write must be updated before an INTERBUS data cycle. If this is not possible, proceed as follows: write ‘0’ into Index – Write, the value to be transmitted into Val - Write and the index number into Index - Write. With entry ‘0’ in Index - Read / Index – Write, data transmission is not started. 4.3.1 Statuswords Statusword 1 MSB D15 D14 D13 D12 D11 D10 D9 D8 Bit-no. Name Allocation Auto/Man Automatic/manual D0 Coff Controller switched off D1 y1 Switching output 1 D2 y2 Switching output 2 D3 Lim1 Alarm 1 D4 Lim2 Alarm 2 D5 Lim3 Alarm 3 D6 Lim4 Alarm 4 D7 Fail1 Input 1 Fail D8 ‘0’ Always ‘0’ D9 Merr Module error 1) D10 NAK Process data channel write error D11 UPD Parameter changed D12 On / Off Online / configuration D13 R/L Remote / Local D14 Dex Changed data 2) D15 Statusword 2 MSB D15 D14 D13 D12 D11 D10 D9 D8 Bit-no. D0 - D11 D12 D13 D14 D15 Name di1 - di12 Fail3 Fail4 Fail5 Fail6 Allocation digital inputs 1 - 12 Input 3 Fail Input 4 Fail Input 5 Fail Input 6 Fail D7 D6 D5 D4 Status ‘0’ Automatic no off off off off off off no —no no no Online Local no D7 D6 D5 Status ‘0’ off no no no no D3 D2 D1 LSB D0 D1 LSB D0 Status ‘1’ Manual yes on on on on on on yes —yes yes yes Configuration Remote yes D4 D3 D2 Status ‘1’ on yes yes yes yes 1) Basic unit defective or internal interface switched off 2) See chapter Blocking mechanism with changes 000330 15 9499 040 56911 Processdata 4.3.2 Controlwords Controlword 1 MSB D15 D14 D13 Bit-no. D0 D1 D2 D3 D4 D5 D6 D7 D8 -D11 D12 D13 D14 D15 Name Auto/Man Coff w / W2 We / Wi w / dW y / Y2 OStart ‘0’ do1 - do4 OUT4 OUT5 LOC Dval Controlword 2 MSB D15 D14 D13 Bit-no. D0 - D11 D12 D13 D14 D15 Name di1 - di12 OUT1 OUT2 do5 do6 D12 D11 D10 D9 D8 D7 D6 D5 D4 Allocation Status ‘0’ Automatic/Manual Automatic Controller switch off no w / W2 switch-over w Wext/Wint switch-over Wext Set-point offset off Additional correcting value off Selftuning Start off always ‘0’ —Digital Outputs 1 - 4 off Output OUT4 off Output OUT5 off Unit switched over to Remote Data valid, acknowledgement 2) positive flank ‘0’ r ‘1’ D12 D11 D10 D9 D8 Allocation digital inputs 1 - 12 output OUT1 output OUT2 digital output 5 digital output 6 D7 D6 D5 Status ‘0’ off off off off off D3 D2 D1 LSB D0 D1 LSB D0 Status ‘1’ Manual yes W2 Wint on on on —on on on Local1) D4 D3 D2 Status ‘1’ on on on on on 4.3.3 Locking mechanism with changes Changing the reference to a datum to be transmitted during operation, e.g. online via parameter channel or via the engineering interface implies a risk that the values are misinterpreted by bus master and KS94. This shall be prevented by means of a locking mechanism. w w w w w When changing a reference, the controller module sets bit Dex = 1. The master must evaluate bit Dex Acknowledgement and the statement that there are now valid write data on the master side are generated via a positive flank for bit Dval. When receiving a positive flank, the controller module sets Dex = 0 and takes over the sent data. Resetting Dex is also possible by voltage switch-on and off. 1) Inverse signification as in the status information – Default setting is remote (user need not do anything) 2) See section Blocking mechanism with changes 9499 040 56911 16 000330 Processdata 4.4 Data_types Internal KS94 data are allocated to data types. w w FP1) Floating point number Range: -9999 ... -0.001, 0, 0.001 ... 9999 INT Positive integer number Range: 0 ... 32767 Range with configuration words: 0000 ... 9999 (Ä pag ) Exception: switch-off value ‘-32000’ w ST1 Status, bit-oriented, 1 byte length Range: 00H ... 3FH, transmit: 40H...7FH Only 6 bits for information transmission can be used, i.e. bit 0...5 (LSB = bit 0). Bit 6 is always set to ‘1’. w CHAR5/16 Text string comprising n characters, e.g. defined n=1, n=5, n=16 permissible characters: 20H...7FH w ICMP (Integer Compact) Bit information as integer transmission, max. 15 bits Range: 0...32767; integer transmission is in ASCII format. Fixed to ‘0’ Bit signification Bit 15 14 13 12 11 10 9 8 7 6 5 4 Value 16384 8192 4096 2048 1024 512 256 128 64 32 16 Example: Bit 13 = 1 and bit 1 = 1, all remaining bits are ‘0’ internal hex value: 0x2002, as integer value: 8194, transmitted ASCII value: ‘8194’ 3 8 2 4 1 2 0 1 4.4.1 Mapping on INTERBUS process data channel w KS94 data types ST1, ICMP, INT are transmitted as value without changing. Example: programmer segment time Tp1 Value in KS94 Value via INTERBUS 500 500 w KS94 data types FP: conversion into Fixpoint data type Example: set-point Value in KS94 Value via INTERBUS 123.4 1234 4.4.2 Mapping on INTERBUS parameter channel w KS94 data types ST1, ICMP, INT are transmitted as a value without changing. Example: programmer segment time Tp1 Value in KS94 Value via parameter channel converted Byte 1 Byte 2 500 500 01hex F4hex w KS94 data types FP: transmission in IEEE format Example: set-point Value in KS94 Value via parameter channel (IEEE in Motorola format) Byte 1 Byte 2 Byte 3 Byte 4 123.4 42hex F6hex CChex CDhex converted 123.4 1) 1) Values with variable decimal point (floating point value) are described as FP below. 000330 17 9499 040 56911 Example projects for CMD 5 Example projects for CMD Two examples on the engineering set disk are available: q Demo 1 : standard process data exchange with structure A.0 transmission of Xeff, Yeff, Wvol, Yman. q Demo 2 : multiplex example with structure C.0 During CMD pre-processing, 8 values are read and 2 values are written by the unit and made available to the user as data interface. This project can be matched easily to other numbers of data to be transmitted by the user. 9499 040 56911 18 000330 Example projects for CMD q Demo 3 : Standard process data exchange with structure A.2 Transmission of Xeff, Yeff, Wvol, Yman. + Parameter channel The address monitor view corresponds to the picture at Demo 1. For testing the parameter channel, "Instrument parameter setting" is available. The "Instrument parameter setting" can be used for purposeful reading, comparing and writing of the parameter descriptions (PCP objects) of the selected bus unit. There are two versions of each project example with different connecting modules : a) for PC card IBS SC / I-T (e.g. K94dmo1a.bg4) b) for Siemens S5 IBS S5 DSC/I-T (e.g. K94dmo2b.bg4) 5.1 Example loading procedure w Make the connection (r see also section 2.3 page 8). w Load the KS94 with a suitable engineering (from ET/KS94 version 4.3 SR1). For this, an example from g w w w w w w 000330 the ES disk can be used. File on ES disk: A:\ks94ibs\et94\ibsdemo1.e94 or A:\ks94ibs\et94\ibsdemo2.e94 A:\ks94ibs\et94\ibsdemo3.e94 The example must be matched to hardware and application. Indispensable settings for the example are structure selection and order of field bus data (r see section 4.2.1 page 11 ). Switch KS94 to Remote Copy the CMD program examples from A:\ks94ibs\cmd\demo1\k94dmo1a.* or \k94dmo1b.* and A:\ks94ibs\cmd\demo2\k94dmo2a.* or \k94dmo2b.* into target directory c:\ibscmd\project\*.* Call up CMD and load the required project into the connecting module with execution of pre-processing. If necessary, activate the KS94 structure switch-over via menu ”Configuration/Bedienen/Alarm-stop” and ”Configuration/Bedienen/Datenübertragung starten” . Go to the ‘Monitoring’ mode. Select the address monitor and handle process data. If necessary, set bit D15 in control word and reset it to remove write protection. 19 9499 040 56911 Parameter transmission (PCP) 6 Parameter transmission (PCP) For parameter transmission, ‘parameter channel (PCP)’ is available for transparent data exchange via the function block protocol independent of which controller is used. Thereby, all possible access modes of the protocol are supported (single access, block of ten and overall block). Communication to the controller is transparent, i.e. the user himself is responsible for monitoring the value ranges, operating modes (remote/local) etc. The PCP channel uses 2 words in the INTERBUS ring. KS94 supports PCP version 2.0. Fig.: 6 KS94-IBS parameter channel 6.1 Supported PCP services: q Context management w w w Initiate Abort Reject Build up communication Cancel communication Service cancelation with errors q VFD-Support (Virtual Field Device): w w Status Identify Read instrument status Read instrument type or instrument version and firmware version PMA GmbH KS94/IBS SW x.x HW x.x q Variable Access: w w g Read Write Read access to objects Write access to objects Further information for realization of the communication services in your application is given in the user manual of your connecting module. 9499 040 56911 20 000330 000330 21 9499 040 56911 Parameter transmission (PCP) 6.2.2 Building up a communication q Initiate Service "Initiate-Request" is used for building up a communication between two communication partners. When building up the communication, the settings of both bus units for the sizes of send and receive buffer and for the supported services are checked for compliance. word 1 2 3 4 5 6 7 8 9 10 Request Initiate 00 00 00 00 8B 02 CR 00 Confirmation Initiate 80 00 00 00 00 FF 00 Result (+) 8B 06 CR 00 00 00 00 Confirmation (on case of error) 80 8B 00 08 CR 00 ErrClass ErrCode AddCode 00 40 00 40 ? ? ? ? ? ? 6.2.3 Sending data to the bus unit q Write Word 1 2 3 4 5 6 7 8 Use service "Write-Request" for sending a data field from your connecting module to KS94-IBS. Confirmation Request Confirmation (in case of error) Write Write 00 82 80 82 80 82 Numb.following DW 00 02 00 02 CR CR CR 00 00 00 Index Result (+) ErrClass ErrCode Subindex Length AddCode Data ... 6.2.4 Reading data from a bus unit q Read Word 1 2 3 4 5 6 7 8 Use service "Read-Request" for reading data from KS94-IBS into a data field on your connecting module. Confirmation Request Confirmation (in case of error) Read Read 00 81 80 81 80 81 00 03 00 xx 00 03 CR 00 00 CR 00 CR Index Result (+) ErrClass ErrCode Subindex Length AddCode Data ... 6.2.5 Terminating the communication q Abort Word 1 2 3 4 5 Use service "Abort-Request" to terminate the communication between your connecting module and KS94-IBS. Service 'Abort' is not confirmed ! Request Abort 00 81 00 03 C R 00 00 00 00 9499 040 56911 22 000330 Parameter transmission (PCP) 6.3 KS94-IBS objects 6.3.1 Survey The following table contains all KS94-IBS objects which are required for a data exchange via the parameter channel. Index 2000hex 2001hex 2002hex 2003hex 2004hex 2005hex Object name Object description Access Object 'MEM_RD_PAR' is used for storage of transmission parameters for all read MEM_RD_PAR R/W accesses to KS94 via the parameter channel. Object 'MEM_WR_PAR' is used for storage of transmission parameters for all MEM_WR_PAR R/W write accesses to KS94 via the parameter channel. SINGLE_AC Object 'SINGLE_AC' contains the data for an individual access. R/W BLOCK_AC Object 'BLOCK_AC' contains the data for a block access. R/W TEXT_AC Object 'TEXT_AC' contains the data for a text access. R/W DECADE_AC Object 'DECADE_AC' contains the data for a tens block access. R/W For data exchange with KS94-IBS via the parameter channel, the following procedure is required: q Reading values: w Enter the parameters of the values to be transmitted with a 'Write Request' into object 2000hex (MEM_RD_PAR) (r see examples on the following pages). w Read data with a 'Read Request' to the relevant object (SINGLE_AC; BLOCK_AC; TEXT_AC or DECADE_AC). q Writing value: w w Enter the parameters of the values to be transmitted with a 'Write Request' into object 2001hex (MEM_WR_PAR) (r see examples on the following pages). Write data with a 'Write Request' to the relevant object (SINGLE_AC; BLOCK_AC; TEXT_AC or DECADE_AC). 6.3.2 Transmission parameters The transmission parameters are given in the function block protocol (r section page ff). The transmission parameters are composed of: w CODE_RD/WR = 'Code' in the FB protocol The code identification is within a range of 00...99dec and B2hex(178dec) and B3hex(179dec) w FB_NO_RD/WR = FB no. in the FB protocol A function block is addressed with a function block number which is within range ‘0’ and ‘250’ .Function block number ranges: - 0 general data for the overall instrument - 1 - 99 fixed function blocks w FCT_NO_RD/WR = Fct-no. in the FB protocol A function as a partial address of a function block is addressed by means of a function number, which is within range ‘0’ and ‘99’. w TYPE_NO_/WR = type no. in the FB protocol w DATA_FORMAT_RD/WR (used only with SINGLE_AC; integer = 0, real = 1) 000330 23 9499 040 56911 Parameter transmission (PCP) 6.3.3 Object 2000hex 'MEM_RD_PAR' Object 'MEM_RD_PAR' is used for storage of transmission parameters for all read accesses to KS94 via the parameter channel. Object name MEM_RD_PAR Object code Array Access WRITE_ALL / READ_ALL Data type index USIGNED8 (5) Parameter • Index 2000hex • Subindex Subindex 0 can be used for addressing all 5 elements of the ARRAY, subindex 1...5 can be used for addressing individual elements of the ARRAY. • Length 5 (bytes) • Data 1: CODE_RD 2: FB_NO_RD 3: FCT_NO_RD 4: TYPE_NO_RD 5: DATA_FORMAT_RD (only used with object 'SINGLE_AC'; integer = 0, real = 1) 6.3.4 Object 2001hex 'MEM_WR_PAR' Object 'MEM_WR_PAR' is used for storage of transmission parameters for all write accesses to KS94 via the parameter channel. Object name MEM_WR_PAR Object code Array Access WRITE_ALL / READ_ALL Data type index USIGNED8 (5) Parameter • Index 2001hex • Subindex Subindex 0 can be used for addressing all 5 elements of the ARRAY, subindex 1...5 can be used for addressing individual elements of the ARRAY. • Length 5 (bytes) • Data 1: CODE_RD 2: FB_NO_RD 3: FCT_NO_RD 4: TYPE_NO_RD 5: DATA_FORMAT_RD (used only with SINGLE_AC; integer = 0, real = 1) 9499 040 56911 24 000330 Parameter transmission (PCP) 6.3.5 Object 2002hex 'SINGLE_AC' Object 'SINGLE_AC' contains the data for an individual access. Object name SINGLE_AC Object code STRING_VAR_OBJECT Access WRITE_ALL / READ_ALL Data type index OCTET_STRING (0Ahex) Parameter • Index 2002hex • Subindex 0 • Length 4 (Byte) • Data Value to be transmitted, with selection real (data format 01,xx) Byte 1: Byte 2: Byte 3: Byte 0: Real value, hwB-1 Real value, hwB-2 Real value, hwB-3 Real value, hwB 1) Value to be transmitted, with selection integer (data format 00,xx) Byte 0: Integer value, hwB Byte 1: Integer value, hwB-1 Example: The internal set-point (Wvol) shall be read and written as a real value. Service 'Write' is used for assigning the transmission parameters for datum 'Wvol' (code = 32; FB no. = 50; Fct no. = 1 and type no. = 90) to objects MEM_RD_PAR and MEM_WR_PAR see page . Request Confirmation No. Value Format Comment No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec Invoke_ID, CR 2 2000/2001 hex Index (MEM_RD_PAR / MEM_WR_PAR) 2 0000 hex Parameter 3 0,5 dec, dec Subindex, Data_length (5Byte) 4 32, 50 dec, dec Code, FB no. 5 1, 90 dec, dec Fct no., type no. 6 1,0 dec, dec Data format (0 = integer; 1 = real), --Service 'Write' can be used for writing the Wvol. Request No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 2 2002 hex Index (SINGLE_AC) 3 0,4 dec, dec Subindex, Data_length (4 bytes) 4 425c hex Wvol 5 0000 hex Service 'Read' can be used for reading the Wvol. Request No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 2 2002 hex Index (SINGLE_AC) 3 0,0 dec, dec Subindex,--- Confirmation No. Value 1 0,2 2 0000 3 0004 4 425c 5 0000 Confirmation No. Value Format Comment 1 0,2 dec, dec Invoke_ID, CR 2 0000 hex Parameter Format dec, dec hex hex hex hex Comment Invoke_ID, CR Parameter Data_length (4 bytes) Wvol 1) hwB (most significant byte) 000330 25 9499 040 56911 Parameter transmission (PCP) 6.3.6 Object 2003hex 'BLOCK_AC' Object 'BLOCK_AC' contains the data for a block access. Object name BLOCK_AC Object code STRING_VAR_OBJECT Access WRITE_ALL / READ_ALL Data type OCTET_STRING (0Ahex) Parameter • Index 2003hex • Subindex 0 • Length max. 240 (bytes) • Data Byte 0: number of REAL values Byte 2: Byte 3: 1st real value, hwB 1) 1st real value, hwB-1 Byte 6: Byte 7: 2nd real value, hwB 2nd real value, hwB-1 ... Byte x: Byte x+1: 1st real value, hwB 1st real value, hwB-1 Byte x+4: 1st integer value, hwB Byte x+6: 2nd integer value, hwB ... Byte z: uth integer value, hwB Byte 1: number of integer values Byte 4: Byte 5: 1st real value, hwB-2 1st real value, hwB-3 Byte 8: Byte 9: 2nd real value, hwB-2 2nd real value, hwB-3 Byte x+2: Byte x+3: 1st real value, hwB-2 1st real value, hwB-3 Byte x+5: 1st integer value, hwB-1 Byte x+7: 2nd integer value, hwB-1 Byte z+1: uth integer value, hwB-1 Example: The correcting variable parameters (Ymin; Ymax; Y2 and Y0) must be read. Service 'Write' is used for assigning the transmission parameters for the correcting variable parameters to object MEM_RD_PAR (code = 178[B2]; FB no. = 50; Fct. no. = 4 and type no. = 90) see page . Request Confirmation No. Value Format Comment No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec Invoke_ID, CR 2 2000 hex Index (MEM_RD_PAR) 2 0000 hex Parameter 3 0,5 dec, dec Subindex, Data_length (5 bytes) 4 178, 50 dec, dec Code, FB no. 5 4, 90 dec, dec Fct no., type no. 6 0,0 dec, dec Data format, --Service 'Read' Request No. Value 1 0, 2 2 2003 3 0,0 is used for value reading. Format dec, dec hex dec, dec Comment Invoke_ID, CR Index (BLOCK_AC) Subindex,--- Confirmation No. Value Format 1 0,2 dec, dec 2 0000 hex 3 0012 hex 4 0400 hex 5 0000 hex 6 0000 hex 7 42c8 hex 8 0000 hex 9 0000 hex 10 0000 hex 11 4248 hex 12 0000 hex Comment Invoke_ID, CR Parameter Length 18 bytes 4 real values; 0 integer values Ymin Ymax Y2 Y0 1) hwB (most significant byte) 9499 040 56911 26 000330 Parameter transmission (PCP) 6.3.7 Object 2004hex 'TEXT_AC' Object 'TEXT_AC' contains the data for a text access. Object name TEXT_AC Object code STRING_VAR_OBJECT Access WRITE_ALL / READ_ALL Data type index OCTET_STRING (0Ahex) Parameter • Index 2004hex • Subindex 0 • Length max. 240 (bytes) • Data Byte 0 = 0 Byte 2...byte 211: variable length Byte 1: NUMBER INTEGER Example: The display texts shall be written (String1 = 'Heating '; Unit = 'Meters'). Service 'Write' is used for assigning the transmission parameters for the display texts (code = 178[B2]; FB no. = 0; Fct no. = 1 and type no. = 0) to object MEM_WR_PAR see page . Request Confirmation No. Value Format Comment No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec Invoke_ID, CR 2 2001 hex Index (MEM_WR_PAR) 2 0000 hex Parameter 3 0,5 dec, dec Subindex, Data_length (5 bytes) 4 178, 0 dec, dec Code, FB no. 5 1, 0 dec, dec Fct no., type no. 6 0,0 dec, dec Data format, --Service 'Write' is used for writing the display texts. String 2 to String12 are filled with spaces (20hex). The individual strings are separated by comma (2Chex). Request Confirmation No. Value Format Comment No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec Invoke_ID, CR 2 2004 hex Index (TEXT_AC) 2 0000 hex Parameter 3 0,211 dec, dec Subindex, Data_length (211 bytes) 4 0,13 dec, dec 0 real, 13 texts 5 4865 hex Data (H e) 6 697a hex Data (i z) 7 656e hex Data (e n) 8 2020 hex Data (Space Space) 9 2020 hex Data (Space Space) 10 2020 hex Data (Space Space) 11 2020 hex Data (Space Space) 12 2020 hex Data (Space Space) 13 2c.. hex … 106 ..2c hex 107 4d65 hex Data (M e) 108 7465 hex Data (t e) 109 7200 hex Data (r ) 000330 27 9499 040 56911 Parameter transmission (PCP) 6.3.8 Object 2005hex 'DECADE_AC' Object 'DECADE_AC' contains the data for a tens block access. All data are sent in real format. Object name DECADE_AC Object code STRING_VAR_OBJECT Access READ_ALL Data type index OCTET_STRING (0Ahex) Parameter • Index 2005hex • Subindex 0 • Length max. 60 • Data Byte 0: number of REAL values (max. 9) Byte 1: number of integer values (fixed to 0) Byte 3 Byte 4 Byte 5 Byte 2 1st real value, hwB-2 1st real value, hwB-3 1st real value, hwB 1st real value, hwB-1 1) Byte 6 2nd real value, hwB ... Byte x yth real value,hwB Byte 7 2nd real value, hwB-1 Byte 8 2nd real value, hwB-2 Byte 9 2nd real value, hwB-3 Byte x+1 yth real value, hwB-1 Byte x+2 yth real value, hwB-2 Byte x+3 yth real value, hwB-3 Example: Set-points (Wnvol, Wvol und Wdw) shall be written and read. Service 'Write' is used for assigning the transmission parameters for the set-points (code = 30; FB no. = 50; Fct no. = 1 and type no. = 90) to object MEM_RD_PAR see page . Request Confirmation No. Value Format Comment No. Value Format Comment 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec Invoke_ID, CR 2 2000 hex Index (MEM_RD_PAR) 2 0000 hex Parameter 3 0,5 dec, dec Subindex, Data_length (5 bytes) 4 30,50 dec, dec Code, FB no. 5 1, 90 dec, dec Fct no., type no. 6 0,0 dec, dec Data format, --Service 'Read' can be used for reading the set-points. Request Confirmation No. Value Format Comment No. Value Format 1 0, 2 dec, dec Invoke_ID, CR 1 0,2 dec, dec 2 2005 hex Index (DECADE_AC) 2 0000 hex 3 0,0 dec, dec Subindex,--3 000e hex 4 0300 hex 5 6 7 8 9 10 4495 8000 4495 8000 0000 0000 hex hex hex hex hex hex Comment Invoke_ID, CR Parameter Data_length (4 bytes) Number of real values (3) integer values (0) Wnvol Wvol WdW 1) hwB (most significant byte) 9499 040 56911 28 000330 Parameter transmission (PCP) 6.4 PCP error messages Unless an action could be realized successfully by means of a service, e.g. Initiate, Read or Write, an error message in parameters Error Class, Error Code and Additional Code is provided in addition to the negative confirmation. g A detailed list of all PCP error messages is given in the user manual of your connecting module. Error Class Error Code Add. Code 01hex 8 0 02hex 8 0 03hex 8 0 000330 Signification Timeout Parity error BCC error 8 0 04hex NAK 8 0 05hex Logic error in the transmission parameters 29 Cause KS94 is set to front-panel interface, or is defective. Internal communication error Internal communication error KS94 does not accept the transmitted data (data out-of-range ...) 9499 040 56911 Function block protocol 7 Function block protocol 7.1 Data structuring Due to the multitude of information to be processed in KS94, logically related data and actions are classified into function blocks. Five function blocks are defined for KS94. They are addressed via fixed block addresses. Each block is divided into individual functions which are provided dependent of HW or SW options. Functions are numbered per function block. Function number 0 addresses function block-specific data. Fig.: 7 Survey of function blocks and functions of KS94 function block name Instrument 9499 040 56911 30 000330 Function block protocol Principles of the function block protocol A function block comprises input and output data (process data) as well as parameter and configuration data. It can be addressed via a block number. An allocated block type defines the relevant function. The various access mechanisms are: Single access w This access (code xx) can be used for reading or writing a single process value of a function. Single accesses to parameter and configuration data are not possible. Block access (tens block) w This access (code x0) can be used for reading max. nine process values of a function. Block access (overall block) w This access can be used for reading and writing all parameter (code B2) and configuration data (code B3) of a function. The following conditions are applicable for this access: For writing data with ‘Code B3’, the unit must be switched to configuration mode (Ä see page ‘OpMod’). All new configuration data and parameters entered are only effective, when the unit was switched back to on-line. All data of a message must be defined, omissions are not permissible. If all parts of a message in the instrument are unused (HW and SW options), the complete message must be transmitted nevertheless. Checking the non-available data is omitted. With faulty block write accesses, the following rule is applicable: A message is answered with NAK, if min. one datum is faulty. Already valid values are stored. 7.2 CODE tables 7.2.1 Configuration words (C.xxxx) The configuration words given in the following code tables comprise several partial components, which can be transmitted only in common. The data in the table must be interpreted as follows: Example (C100): Code B3 Descr. R/W Type C100 R/W INT Description Range CFunc:controller function (T,H) 0..xxyz CType:controller type (Z) WFunc:set-point function (E) Description CFunc Thousands Hundreds Range x x 00 ... 12 Example: continuous controller; standard controller; Set-point/cascade with offset g 000330 CType Tens y 0...4 WFunc Ones z 0...7 1004 For transmission of configuration words, see section page 17. 31 9499 040 56911 Function block protocol 7.2.2 INSTRUMENT (FB no.: 0 type no.: 0) All data valid for the overall instrument are classified in function block ‘INSTRUMENT’. Processdata General Code 01 10 13 14 15 18 20 21 22 23 24 25 26 27 31 32 33 39 Rem A (Function-no: 0) Descr. Unit_State 1 Block 13..15, 18 Write Error Write Error Position Read Error Type Block 21...27 HWbas HWext SWopt SWcod SWvers OPVers EEPVers OpMod Local-Switch UPD BSAct R/W R R R R R R R R R R R R R R R/W R/W INT R/W INT (R)/ INT W Description Status 1 Range Error during last write access Position of last write access error Error during last read access Type no. of function block 0, 100...127 0...99 0, 100...127 0 Basic HW options: module A, P Ext. HW options: module B, C SW options 1 SW code no. 7th to 10th digit of 12NC SW code no. 11th to 12th digit of 12NC Operating version EEPROM version Switch over controller to configuration mode (only after 1) Switch over controller to on-line mode (only after 0) Cancelation of configuration mode (only after 0) Switch-over to local mode Local data change acknowledgement Activation of process data structure IBS Bem. A B C D E F wxyz 00xy 0 1 2 0..1 0..1 0..1 G H I Unit_State1 MSB D7 D6 Bit no. Name D0 R/W D1 CNF D2...D4 '0' D5 UPD D6 '1' D7 Rem B Type ST1 Block INT INT INT INT Block INT INT INT INT INT INT INT INT HWbas D5 D4 D3 Allocation Controller status Controller status Always '0' Parameter Update Always '1' Parity Instrument type (module A) T H KS92 KS94 D2 LSB D0 D1 Status '0' Local online Status '1' Remote configuration No Yes output- HW (module P) Z E 01 01 11 11 Relay: Out1,2,4,5 Current: Out1, Relay: Out2,4,5 Example: Value ‘HWbas = 1111‘ means that the addressed unit is a KS94 with 3 relays and 1 current output. (12NC e.g. 9407 924xx xxx oder 9407 928xx xxx). 9499 040 56911 32 000330 Function block protocol Rem C HWext Not provided TTL-Interface RS485/422-Interface PROFIBUS INTERBUS Module B T H Module C Z E 00* 01 02 10 11 00* 01 02 04 05 06 07 * Default setting Rem D Not provided A) 1 analog output (continous) (OUT3) B) 2 analog inputs (INP3, INP4) C)5 digital inputs (DI8...DI12 and 2 digital outputs (DO5...DO6) A+C B+C A+B+C Example: Value ‘HWext = 104‘ means the addressed instrument is equipped with a module B as TTL interface without real-time clock and a module C with version c . (12NC e.g. 9407-9xx-16xxx). SWopt Conversion 12NC 10th digit T H 0 EXT 0 0 0 0 0 0 0 Descr. Status '0' SV Signal processing blocked MWK Measurement value correction f. temperature measurement disabled PRG Programmer disabled SOPT Optimization at set-point disabled EXT Standard 0 Z E 0 SOPT 0 PRG MWK SV Status '1' Signal pocessing enabled Measured value correction f. temperatur e measurement enabled Programmer enabled Optimization at set-point enabled Extension enabled Rem E Example: Value ‘SWopt = 13‘ means that options signal processing, measured value correction and optimization at the set-point are enabled. (12NC e.g. 9407 9xxxx 3xx). SWCod T H Z E 7th digit 8th digit 9th digit 10th digit Rem F Example: Value ‘SWCod= 7239‘ means that the addressed instrument contains software code number 4012 157 239xx. SWvers T H Z E 0 0 11th digit 12th digit Example: Value ‘SWVers= 11‘ means that the addressed instrument contains software code number 4012 15x xxx11. Rem G Local-Switch Switch-over to Local mode (only valid with digital input di3 REMOTE closed): 0: switch off local (default) 1: switch on local Rem H UPD UPD has value 1, if parameters or configuration data were changed by local operation, or after power-on. 000330 33 9499 040 56911 Function block protocol Rem I BSAct Activate INTERBUS process data structure switch-over. The datum is reset to 0 automatically (internal trigger function). the command can lead to standstill of the INTERBUS and affect the safety of the overall system in a Writing an accidental manner. Forcing Code 30 31 32 33 34 35 36 37 38 39 Rem J Rem K Rem L Descr.. Block 31...39 FInp 1 FInp 3 FInp 4 FInp 5 FInp 6 Fdi FOut 1 FOut 3 Fdo R/W R R/W R/W R/W R/W R/W R/W R/W R/W R/W Type Block FP FP FP FP FP ICMP FP FP ICMP (Funktions-Nr: 2) Range Rem. Description Forced Inp 1 (signal input before measured value correction for INP1) Forced Inp 3 (signal input before signal pre-processing) Forced Inp 4 (signal input before signal pre-processing) Forced Inp 5 (signal input before signal pre-processing) Forced Inp 6 (signal input before signal pre-processing) Forced digital inputs di1...di12 Forced Out 1 Forced Out 3 (signal input before post-processing) Forced digital outputs Out 1...Out5; do1...do6 (also used for output disabling with corresponding configuration. 0 = enabled; 1 = disabled) J K L Data structure Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Signification 0 0 0 0 di12 di11 di10 di9 di8 di7 di6 di5 di4 d.c. di2 di1 Range -999 … 9999 (0/4 .. 20mA according to the output scaling) With OUTX configured as digital output (relay or logic), pre-defined analog values are ineffective, OUTX can be reached only via Fdo. Data structure Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Signification 0 0 0 0 0 do6 do5 do4 do3 do2 do1 Out5 Out4 Out3 Out2 Out1 ComRead Code 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 Descr. Block 21...29 Val 1 Val 2 Val 3 Val 4 Val 5 Val 6 Val 7 Val 8 Val 9 Block 31...37, 39 Val 10 Val 11 Val 12 Val 13 Val 14 Val 15 Val 16 ResetRead R/W R R R R R R R R R R R R R R R R R R R/W Type Block BCD BCD BCD BCD BCD BCD BCD BCD BCD Block BCD BCD BCD BCD BCD BCD BCD INT Description Block access Value 1 Value 2 Value 3 Value 4 Value 5 Value 6 Value 7 Value 8 Value 9 Block access Value 10 Value 11 Value 12 Value 13 Value 14 Value 15 Value 16 Configuration allocation reset Range 21...29 (Function no.: 4) Default Rem. 31...37, 39 0: d.c. 1: Reset1) 0 1) Value will be reset to 0 after handling 9499 040 56911 34 000330 Function block protocol ComWrite Code Descr. 20 Block 21...29 21 Val 1 22 Val 2 23 Val 3 24 Val 4 25 Val 5 26 Val 6 27 Val 7 28 Val 8 29 Val 9 30 Block 31...39 31 Val 10 32 33 34 35 36 37 38 39 Rem M R/W R Type Block Description Block access Range 21...29 (R)/W (R)/W (R)/W (R)/W (R)/W (R)/W (R)/W (R)/W (R)/W R BCD BCD BCD BCD BCD BCD BCD BCD BCD Block Value 1 Value 2 Value 3 Value 4 Value 5 Value 6 Value 7 Value 8 Value 9 Block access 31...39 BCD Value 10 BCD BCD BCD BCD BCD BCD INT INT Value 11 Value 12 Value 13 Value 14 Value 15 Value 16 Selection of the bus process data module Configuration allocation reset (R)/ W Val 11 (R)/W Val 12 (R)/W Val 13 (R)/W Val 14 (R)/W Val 15 (R)/W Val 16 (R)/W BusConf R/W ResetRead R/W (Function no.: 5) Default Rem. 0...3 1 0 0: d.c. 1: Reset 1) M IBS structure allocations 0: structure A.0 ”standard function” 1: structure A.1 ”standard function with PCP 2 words” (default)” 2: structure B ”extended function with PCP 2 word”” 3: structure C ”flexible selection function” change of this structure is activated only after switching on the power supply again, or setting the a Aactivation (s. below). .2) 1) Value will be reset to 0 after handling 2) A change of structure is followed by a data length change on the INTERBUS. This means short-time interruption of the overall bus. Therefore, this may be done by the user only provided that all consequences were taken into account. 000330 35 9499 040 56911 Function block protocol Parameter- a. configuration data General Code B2 B3 Descr. FKey Lock g Type Description INT Function of front-panel key H INT EBloc: Block changing extended operating level HBloc: Block auto/manual key CBloc: Block controller switch-off WBloc: Block set-point adjustment Disp2 R/W INT C900 1) R/W INT Addr1) R/W INT C902 C800 R/W R/W INT INT C801 R/W INT Display Texts Code B2 R/W R/W R/W Descr. String1 String2 String3 String4 String5 String6 String7 String8 String9 String10 String11 String12 Unit R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W PBloc: Block program preset RBloc: Block programmer Programmer run/stop/reset OBloc: Block self-tuning Prot: Protocol type Baud: Baudrate (d.c. With PROFIBUS and INTERBUS Instrument adress: ISO1745 PROFIBUS Freq: Mains frequency 50/60 Text2: Signification of display field text2 UsrTx: User text selection LED: Function of front panel LEDs Langu: Language selection of plain text display Lunit: Unit selection XDisp: Process value display Type CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR16 CHAR5 (T) (Function no.: 0) Range Rem. 0 .. 2 0 .. wxyz (H) (Z) (E) (T) (H) (Z) (T) (H)(Z) (T) (T) (H) (Z) (E) (T) (H) (Z) 0 .. xyz0 0...xyy0 0...99 1...127 0...x0yz 0...wxyz 0...xxy0 User-definable display texts only for KS94 (function no: 1) Description Range Rem. 2) Display text 1 0x20...0x7F Display text 2 0x20...0x7F Display text 3 0x20...0x7F Display text 4 0x20...0x7F Display text 5 0x20...0x7F Display text 6 0x20...0x7F Display text 7 0x20...0x7F Display text 8 0x20...0x7F Display text 9 0x20...0x7F Display text 10 0x20...0x7F Display text 11 0x20...0x7F Display text 12 0x20...0x7F Unit to specification 20h...7Fh String 1 to string 12 must always contain 16 characters and unit must always contain 5 characters (fixed data length!). 1) Baudrate a. address setting are effective only after initialization, e.g. protocol switch-over. 2) For transmitting the user texts via INTERBUS, a data area of min. 211 bytes must be provided. 9499 040 56911 36 000330 Function block protocol Code B3 Forcing Descr. C910 R/W R/W C911 R/W C920 R/S C921 R/S C922 R/S C930 R/S C931 C940 R/S R/S C941 R/S Input and output forcing Type Description INT Forcing INP1 Forcing INP3 Forcing INP4 INT Forcing INP5 Forcing INP6 INT Forcing di1 Forcing di2 Forcing di4 INT Forcing di5 Forcing di6 Forcing di7 Forcing di8 INT Forcing di9 Forcing di10 Forcing di11 Forcing di12 INT Forcing OUT1 Forcing OUT2 Forcing OUT3 Forcing OUT4 INT Forcing OUT5 INT Forcing do1 Forcing do2 Forcing do3 Forcing do4 INT Forcing do5 Forcing do6 Extended operating level Code B2 Code B2 Code B2 000330 Descr. Entry1 Entry2 Entry3 ... Entry11 Entry12 Hold R/W R/W R/W R/W Type INT INT INT R/W R/W R/W INT INT INT Write field bus data Descr. Entry1 Entry2 Entry3 ... Entry11 Entry12 Rem. Parameter entry at extended operating level (function no: 3) Description Range Rem. Parameter identification number 0 ... 32767 N Parameter identification number 0 ... 32767 Parameter identification number 0 ... 32767 Parameter identification number Parameter identification number 0 ... 32767 0 ... 32767 0 ... 13 O R/W R/W R/W R/W Type INT INT INT Parameter entry for field bus data (function no.: 4) Description Range Rem. Parameter identification number 0 ... 32767 N Parameter identification number 0 ... 32767 Parameter identification number 0 ... 32767 R/W R/W INT INT Parameter identification number Parameter identification number Read field bus data Descr. Entry1 Entry2 Entry3 ... Entry 11 Entry12 (function no.: 2) Range 0..x0yz (T) (Z) (E) 0...xy00 (T) (H) 0...wx0z (T) (H) (E) 0...wxyz (T) (H) (Z) (E) 0...wxyz (T) (H) (Z) (E) 0...wxyz (T) (H) (Z) (E) 0...x000 (T) 0...wxyz (T) (H) (Z) (E) 0...wx00 (T) (H) 0 ... 32767 0 ... 32767 R/W R/W R/W R/W Type INT INT INT Parameter entry for field bus data (function no.: 5) Description Range Rem. Parameter identification number 0 ... 32767 N Parameter identification number 0 ... 32767 Parameter identification number 0 ... 32767 R/W R/W INT INT Parameter identification number Parameter identification number 37 0 ... 32767 0 ... 32767 9499 040 56911 Function block protocol Rem N Rem O Entry 1 ... 12 Value = 0 means ‘unused entry’ Hold Value = 0 means ‘Hold on main operating page’ Value = 1 means ‘Hold on status display at extended operating level’ Value = 2 ... 13 means ‘ Hold on entry 1 ... 12’ From firmware version 3.3 (October 1997), parameter setting at extended operating level can be done via the interface. The parameters are checked by the interface so that only valid parameters can be marked. However, note that a valid, marked parameter may not be displayed, because it is not displayed by the operation in the actual controller configuration. Example: LimL1 can be marked via interface, however, it is displayed only, if alarm 1 is configured. The written parameters are effective immediately. After writing, a change to the main operating page, and to the entry marked Hold is made automatically. The entry identification is given in the following table. Set-point Code 257 258 259 260 261 262 263 264 Limit 1 Code 513 514 515 Limit 2 Code 769 770 771 Limit 3 Code 1025 1026 1027 Limit 4 Code 1281 1282 1283 Tuning Code 1537 1538 1539 1540 1541 1542 9499 040 56911 Parameter w0 w100 w2 Grw+ GrwGrw2 LCLC+ Parameter LimL1 LimH1 Lxsd1 Parameter LimL2 LimH2 Lxsd2 Parameter LimL3 LimH3 Lxsd3 Parameter LimL4 LimH4 Lxsd4 Parameter YOptm dYopt POpt Oxsd Trig1 Trig2 Tuning Code 1543 1544 1545 1546 1547 1548 1549 Parameter set 0 Parameter Trig3 ORes1 ORes2 Tu1 Vmax1 Tu2 Vmax2 Code 2310 Parameter set 1 Addit. param. Code 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 Parameter Xsh Tpuls Tm Xsd1 LW Xsd2 Xsh1 Xsh2 Y2 Ymin Ymax Y0 ParNr ParNr (read-only) Valid parameter Code 2049 2050 2051 2052 2053 2054 Parameter Xp1 Xp2 Tn1 Tv1 T1 T2 Code 2561 2562 2563 2564 2565 2566 Parameter Xp1 1 Xp2 1 Tn1 1 Tv1 1 T1 1 T2 1 Parameter set 2 Code 2817 2818 2919 2820 2821 2822 Parameter Xp1 2 Xp2 2 Tn1 2 Tv1 2 T1 2 T2 2 Parameter set 3 Code 3073 3074 3075 3076 3077 3078 Parameter Xp1 3 Xp2 3 Tn1 3 Tv1 3 T1 3 T2 3 Process value Code 3329 3330 3331 3332 Parameter set 0 Code 2305 2306 2307 2308 2309 Parameter T2 0 Parameter Xp1 0 Xp2 0 Tn1 0 Tv1 0 T1 0 Parameter Tdz N0 a b Signl. process. INP 1 Code 3585 3586 38 Parameter X1in X1out 3587 3588 3589 3590 3591 3592 X2in X2out m b gain Tf Signl. process. INP 3 Code 3841 3842 3843 3844 Parameter m3 b3 gain 3 Tf 3 Signl. process. INP 4 Code 4097 4098 4099 4100 Parameter m4 b4 gain 4 Tf 4 Signl. process. INP 5 Code 4353 4354 4355 4356 Parameter m5 b5 gain 5 Tf 5 Signl. process. INP 6 Code 4609 4610 4611 4612 Parameter m6 b6 gain 6 Tf 6 Miscellaneous Code 4865 4866 4867 Timer Code 5121 Parameter FKey Blck1 Blck2 Parameter TS.Y 000330 Function block protocol Timer Code 5122 5123 5124 5125 5126 Parameter TS.MD TS.HM TE.Y TE.MD TE.HM Analog prog. Recp 1 Code 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 ... 6446 6447 Parameter Wmode Pmode Pnext LCLC+ Wp0 —— Tp1 Wp1 Tp2 Wp2 ... Tp20 Wp20 Digital prog. Recp 1 Code 6657 6658 6659 6660 6661 6662 ... 6697 6698 Parameter D0 —— Td1 D1 Td2 D2 ... Td20 D20 Digital prog. Recp 2 8198 Code 7169 7170 7171 7172 7173 7174 ... 7209 7210 8199 Parameter D0 —— Td1 D1 Td2 D2 ... Td20 D20 Controller signals Analog prog. Recp 3 Code 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 ... 7470 7471 Parameter Wmode Pmode Pnext LCLC+ Wp0 —— Tp1 Wp1 Tp2 Wp2 ... Tp20 Wp20 Code 8449 8450 8451 8452 8453 8454 8455 8456 8457 Parameter Y Yp xw X1 X2 X3 z OVC Xeff Input signals Code 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 Parameter INP1 INP1r INP3 INP3r INP4 INP4r INP5 INP5r INP6 INP6r Prog. signals Digital prog. Recp 2 Code Parameter 7681 D0 7682 —— 7683 Td1 7684 D1 7685 Td2 7686 D2 ... ... 7721 Td20 Analog prog. Recp 2 7722 D20 Code Parameter 6913 Wmode Signals 6914 Pmode Code Parameter 6915 Pnext 7937 —— 6916 LC7938 —— 6917 LC+ 7939 —— 6918 Wp0 7940 Clock 6919 —— 5125 TE.MD 6920 Tp1 5126 TE.HM 6921 Wp1 Set-point signals 6922 Tp2 Code Parameter 6923 Wp2 8193 Wint ... ... 8194 Wext 6958 Tp20 8195 dWext 6959 Wp20 8196 dW (Dec. point = 1) 8197 dW (dec. point = 2) 000330 Wsel Weff 39 Code 8961 8962 8963 8964 8965 Parameter Wp tBrut tNet tRest PNr Rapid recovery Code 9217 9218 9219 Parameter XwOnY XwOnX GrwOn Calibration INP1 Code 9473 9474 9475 Parameter x0c (PT100) x0c x100c Other Code 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 Parameter Finp6 Fdi Fout1 Fout3 Fdo XFail Status di1 Status di2 Clock Hour Clock Minute Clock Day Clock Month Clock Year Clock Weekday Contr Status 1 Contr Status 2 Contr Status 3 Y/ Y2 PI/P A/M OStart We/Wi W/W2 W/dW Coff WState Wnvol Wvol Tune Status ParNeff Prog Status 1 Prog Status 2 Wend Seg_AD PRun PRset Pset Alarm Status 1 Yman Calibration INP6 Code 9729 9730 Other Code 9985 9986 9987 9988 9989 Parameter x0c x100c Parameter Status 1 Finp1 Finp3 Finp4 Finp5 9499 040 56911 Function block protocol 7.2.3 INPUT (FB no.: 61 Type no.: 110) All data concerning the measurement and processing of all (analog/digital) input values are grouped in function block ‘INPUT’ Processdata General Code 00 1 3 5 6 7 8 10 11 12 13 14 15 16 17 18 Rem A Rem B Rem C Input value processing of analog, digital signals Descr. R/W Type Description Block R Block Block access (1, 3, 5...8) Input_x_Fail R ST1 Signal input x fail INP1 R FP Signal input 1 INP3 R FP Signal input 3 INP4 R FP Signal input 4 INP5 R FP Signal input 5 INP6 R FP Signal input 6 Block R Block Block access (13...18) State_di1 R ST1 Digital inputs di1...di6 State_di2 R ST1 Digital inputs di7...di12 R FP Signal input 1 physical value INP1A1) R FP Signal input 3 physical value INP3A1) INP4A1) R FP Signal input 4 physical value INP5A1) R FP Signal input 5 physical value R FP Signal input 6 physical value INP6A1) Function Type R INT Type no. of function block Status byte Input_X_Fail: MSB D5 D4 D3 D2 D7 D6 Bit no. Name Allocation D0 INP1F Input 1 fail D1 '0' Always '0' D2 INP3F Input 3 fail D3 INP4F Input 4 fail D4 INP5F Input 5 fail D5 INP6F Input 6 fail D6 '1' Always '1' D7 Parity State_di1 (digital inputs di1 ... di6) MSB D7 D6 D5 D4 D3 D2 Bit no. Name Allocation D0 di1 Digital input 1 D1 di2 Digital input 2 D2 di3 Digital input 3 D3 di4 Digital input 4 D4 di5 Digital input 5 D5 di6 Digital input 6 D6 '1' Always '1' D7 Parity State_di2 (digital inputs di7 ... di12) MSB D7 D6 D5 D4 D3 D2 Bit no. Name Allocation D0 di7 Digital input 7 D1 di8 Digital input 8 D2 di9 Digital input 9 D3 di10 Digital input 10 D4 di11 Digital input 11 D5 di12 Digital input 12 D6 '1' Always '1' D7 Parity D1 LSB D0 Status '0' no no no no no D1 LSB D0 D1 LSB D0 (function no.: 0) Range Rem. A B C 110 Status '1' yes yes yes yes yes Status '0' off off off off off off Status '1' on on on on on on Status '0' off off off off off off Status '1' on on on on on on 1) Values before signal processing stage or measured value correction. 9499 040 56911 40 000330 Function block protocol ME/V1 Code 31 32 Descr. X0c X100c ME/V6 Code 31 32 Descr. X0c X100c R/W R/W R/W Input value INP1 : measurement and processing Type Description Range INT Trigger f. calibration X0 0..1 INT Trigger f. calibration X100 0..1 Rem. R/W R/W R/W Input value INP6 : measurement and processing Type Description Range INT Trigger f. calibration X0 0..1 INT Trigger f. calibration X100 0..1 Rem. Timer Funktion 1) Timer Code Descr. 01 State_Clock 30 Block 31 ClkH 2) 32 ClkMi 2) 33 ClkD 2) 34 ClkMt 2) 35 ClkY 2,3) 36 ClkDW 2,4) Status byte State_Clock Rem D MSB D7 Bit no. D0 D1 D2 D3...D5 D6 D7 Name ClkEr T1En T1Out '0' '1' R/W R R R/W R/W R/W R/W R/W R/W Type ST1 Block INT INT INT INT INT INT D6 D5 Allocation Clock Error Timer1 enabled Timer1 status Always '0' Always '1' Parity Description Status 1 Block access (Code 31...36) Time hours Time minutes Time day Time month Time year Time weekday D4 D3 Status '0' no Parameter- a. configurationdata General Code Descr. B3 C180 R/W R/W C190 R/W C191 R/W C192 R/W D2 D1 Status '1' yes (function no.: 11) (Funktionsnr: 13) Rem. D Range 0...23 0...59 1...31 1...12 70...169 0...6 LSB D0 T1Out 0 0 1 1 T1En 0 1 0 1 Analog, digital signal input processing Type Description INT S X2: signal source for S2 SWext: signal source for Wext S dW: signal source for dW S z: signal source for z INT SWi/e: signal source for Wint/Wext STrac: signal source for WTrac SWdon: signal source for dw on/off Sw/W2: signal source for w/w2 INT S A/M: signal source for auto/manual SPI/P: signal source for FB on/off SY2on: signal source for Y2 SCoff: signal source for controller off INT Prog: signal source for start/stop (function no.: 1) (T) (H) (Z) (E) (T) (H) (Z) (E) (T) (H) (Z) (E) (T) Timer not active enabled Output active not defined (function no.: 0) Range Rem. 0..wxyz 0..wxyz 0..wxyz 0.x000 1) Only valid with module B with real time clock, e.g. RS485 (d.c. for PROFIBUS and INTERBUS) 2) When reading, the actual internally available time is specified. During specification, order ‘year-month-day-hour-minute’ for correct checking must be met. 3) Calculation of the actual year: data range 70...169, corresponds to 1970...2069; example: value 96 corresponds to year 1996, value 101 corresponds to year 2001. 4) Signification: 0=Monday (first weekday), 1=Tuesday,...6=Sunday; Values are freely adjustable and are not evaluated presently. 000330 41 9499 040 56911 Function block protocol ME/V1 Code B2 B3 Code B2 B3 Descr. X1in X1out X2in X2out X0 X100 XFail Tfm Tkref C200 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W C205 R/W INT Sv1 Descr. m b gain Tf xs1 ys1 xs2 ys2 xs3 ys3 xs4 ys4 xs5 ys5 xs6 ys6 xs7 ys7 xs8 ys8 C220 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP INT INT Type FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP Measured value INP1 : measurement and processsing Description Measured value correction X1 input Measured value correction X1 output Measured value correction X2 input Measured value correction X2 output Phys. value at 0% Phys. value at 100% Substitute value with sensor failure Filter time constants measurement value processing Specified TC Type: sensor type (T,H) Unit: unit (Z) (E) Dp: decimal point Fail: sensor break behaviour (T) Stk: source TC (H) (Z) Xkorr: enable process value correction Signal processing level for INP1 Description Scaling: gradient m Scaling: offset b Square root extraction: gain Pre-processing: filter time constant Segment point 1: X value Segment point 1: Y value Segment point 2: X value Segment point 2: Y value Segment point 3: X value Segment point 3: Y value Segment point 4: X value Segment point 4: Y value Segment point 5: X value Segment point 5: Y value Segment point 6: X value Segment point 6: Y value Segment point 7: X value Segment point 7: Y value Segment point 8: X value Segment point 8: Y value Func1: function selection 1 (T) Func2: function selection 2 (H) LDP: decimal point (E) (function no.:1) Range Rem -999...9999 -999...9999 -999...9999 -999...9999 -999...9999 -999...9999 -999...9999 0.0...999.9 0...60°C 0..xxyz 1..wxy0 (function no.: 2) Range Rem. 0..999.9 -999..9999 0 .. 9.999 0.0 .. 999.9 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..99991) -999..9999 -999..99991) -999..9999 -999..99991) -999..9999 -999..99991) -999..9999 -999..99991) -999..9999 0...wx0z The functions for measurement value processing and measurement of inputs INP3, INP4, INP5, INP6 are structured identically. INP3 and INP4 are available only with options card C fitted. Code B3 ME/Vx Measurement value INPx: measurement and processing Description Phys. value at 0% Phys. value at 100% Substitute value at sensor fail Filter time constant Input value processing INPx (Cxx0) R/W INT Type: sensor type (T,H) Dp: decimal point (E) Option (Cx05) R/W INT Fail: sensor break behaviour (T) Descr. X0 X100 XFail Tfm R/W R/W R/W R/W R/W Type FP FP FP FP (function no.: 5, 7, 9, 11) Range Rem. -999..9999 -999..9999 -999..9999 0.0 .. 999.9 0..xx0y 0..x000 1) Datum has switch-off function; additional data value ‘-32000’ 9499 040 56911 42 000330 Function block protocol The functions for signal pre-processing of inputs INP3, INP4, INP5, INP6 are structured identically. INP3 and INP4 are only available with options card C fitted. Code B2 B3 Svx Descr. m b gain Tf xs1 ys1 xs2 ys2 xs3 ys3 xs4 ys4 xs5 ys5 xs6 ys6 xs7 ys7 xs8 ys8 Cxx0 Timer Code B2 B3 Descr. T1SY T1SMt T1SD T1SH T1SMi T1EY T1EMt T1ED T1EH T1EMi C905 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP INT Signal processing stage for INPx Description Scaling: gradient m Scaling: offset b Square root extraction: gain Pre-processing: filter time constant Segment point 1 : X value Segment point 1: Y value Segment point 2: X value Segment point 2: Y value Segment point 3: X value Segment point 3: Y value Segment point 4: X value Segment point 4: Y value Segment point 5: X value Segment point 5: Y value Segment point 6: X value Segment point 6: Y value Segment point 7: X value Segment point 7: Y value Segment point 8: X value Segment point 8: Y value Func1: function selection 1 (T) Func2: function selection 2 (H) NSeg: number segments (Z) LDP: decimal point (E) Range 0 .. 999.9 -999..9999 0 .. 9.999 0.0 .. 999.9 -999..9999 -999..9999 -999..9999 -999..9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 -999.. 9999 0..wxyz Timer Function 4) 13) R/W Type Description R/W INT Timer 1 start value year R/W INT Timer 1 start value month R/W INT Timer 1 start value day R/W INT Timer 1 start value hours R/W INT Timer 1 start value minutes R/W INT Timer 1 end value year R/W INT Timer 1 end value month R/W INT Timer 1 end value days R/W INT Timer 1 end value hours R/W INT Timer 1 end value minutes R/W INT TmMd: Operating mode timer 1 (function no.: 6,8,10,12) Rem. 1) 2)3) 1)2) (function no.: (T) Range 0...255 1..12 1 .. 31 0 .. 23 0 .. 59 0...255 1..12 1 .. 31 0 .. 23 0 .. 59 0..x000 Rem. 5) 1) Defined only for KS92: for input 5 and 6 (function 10, 12) KS94: for Input 3, 4 (if module option C provided), 5 and 6 (function 6, 8, 10 and 12) . 2) Only defined, if the relevant SW option was enabled. 3) Defined only for KS94, INP4, provided that module option C is fitted. 4) Defined only for module B with real time clock (d.c. for PROFIBUS and INTERBUS). 5) Calculation of the actual year: Data range 70...169, corresponds to 1970...2069; example: value 96 corresponds to year 1996, value 101 corresponds to year 2001. 000330 43 9499 040 56911 7.2.4 CONTR (FB no.: 50 Type no.: 90) All data concerning the controller are grouped in function block ‘CONTR’. Processdata General Code 00 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 18 20 21 22 23 30 31 32 33 34 35 36 37 38 Rem A Descr. Block Status 1 Status 2 W X Y xw x1 x2 x3 Block Status 3 Yp z OVC+ OVCType Block Wext dW_extern Wlim Block y/Y2 PI/P A/M OStart We/i w/W2 w/dW Coff R/W R R R R R R R R R R R R R R R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W Type Block ST1 ST1 FP FP FP FP FP FP FP Block ST1 FP FP FP FP INT Block FP FP FP Block INT INT INT INT INT INT INT INT Description Block access (1...9) Status 1 Status 2 Eff. set-point Eff. process value Effective correcting variable Control deviation Variable 1 Auxiliary variable 2 Auxiliary variable 3 Block access (11, 13...16, 18) Status 3 Position feedback Auxiliary variable Override control + Override control Type no of function block Block access (21...23) Ext. set-point Set-point offset Set-point limiting W min/max Block access (31...38) Additional correcting value on/off PI/P switch-over Manual/automatic switch-over Self-tuning start Wext/Wint switch-over w/W2 switch-over Corrective set-point off/on Controller on/off Range A B C 90 0..1 0..1 0..1 0..1 0..1 0..1 0..1 0..1 Status1: (Code 01) MSB D7 Bit no. D0 D1 D2 D3 D4 D5 D6 D7 Name Y1 Y2 A/M y/Y2 Coff XFail '1' D6 D5 D4 D3 Allocation Switching output Switching output Auto/manual y/Y2 switch-over Controller switched off Sensor fail Always '1' Parity D2 D1 (function no.: 0) Rem LSB D0 Status '0' off off auto y no no Status '1' on on manual Y2 yes yes Function block protocol Rem B Status2: (Code 02) MSB D5 D4 D7 D6 D3 Name Allocation GRW Gradient function BAND Bandwidth control RCV Rapid recovery '0' Always '0' PI/P PI/P status CFail Controller status '1' Always '1' Parity Bit no. D0 D1 D2 D3 D4 D5 D6 D7 Rem C D2 D3...D5 D6 D7 Status '1' active active yes PI Ok P not Ok MSB D2 D7 D6 D5 D4 D3 Name Allocation Xtrk Int. set-point with X DOVCOverride control- with 3-pnt. stepping controller DOVC+ Override control+ with 3-pnt. stepping controller '0' Always '0' '1' Always '1' Parity Set-point Code 1 30 31 32 33 Descr. WState Block Wnvol Wvol WdW R/W R R R/W R/W R/W LSB D1 D0 Status '0' off off off Status '1' on on on Type ST1 Block FP FP FP Set-point processing Description Set-point status Block access (31...33) Int. set-point, non volatile Int. set-point, volatile Offset set-point / corrective value D5 D4 Range (Function no.:1) Rem. D -999..9999 -999..9999 -999..9999 WState: (Code 01) MSB D7 Bit no. D0 D1 D2 D3 D4 D5 D6 D7 Name w/W2 We/Wi Wp/Wi w/dW w/dWe '0' '1' D6 Descr. Block dYman Yman DAC ® D3 Allocation w/W2 switch-over Wext/Wint Wprog/Wint Set-point correction active Ext. set-point active Always '0' Always '1' Parity Correcting variable Code 30 31 32 33 000330 LSB D1 D0 Status '0' not active not active no Status 3: (Code 11) Bit no. D0 D1 Rem D D2 R/W R R/W R/W R/W Type Block FP FP FP D2 D1 Status '0' w LSB D0 Status '1' W2 wp/wi 0 1 1 we/wi 1 0 1 Set-point source External Programmer Internal w/dwe 0 0 1 w/dw 0 1 0 Set-point correction Not active Active, internal Active, external Correcting variable processing Description Block access (31, 32) Difference correcting variable Absolute correcting variable Start of automatic calibration of position feedback Yp 45 Range (function no.:4) Rem. -210..210 -105..105 0...1 9499 040 56911 Function block protocol Code 00 1 3 30 31 32 33 34 35 36 37 38 39 Rem E Tuning Descr. Block State_Tune1 ParNeff Block ParNr Tu1 Vmax1 Kp1 MSG1 Tu2 Vmax2 Kp2 MSG2 R/W R R R R R/W R R R R R R R R Type Block ST1 INT Block INT FP FP FP INT FP FP FP INT Self-tuning Description Block access (1, 3) Status Tuning Eff. parameter set number Block access (31...39) Parameter set number effective Delay time heating Rate of increase heating Process gain heating Error code of heating self-tuning Delay time cooling Rate of increase cooling Process gain cooling Error code of self-tuning cooling (function no.:5) Rem. Range E 0...3 1 .. 4 0...9999 0,000...9,999 0,000...9,999 0...8 0...9999 0,000...9,999 0,000...9,999 0...8 Status 1 Tuning ‘State_Tune1’ MSB D7 Bit no. D0 D1 D2 D3...D5 D6 D7 Name OStab Orun Oerr '0' '1' Programmer D6 D5 D4 D3 D2 Allocation Process at rest Self-tuning operation Self-tuning result Always '0' Always '1' Parity D1 LSB D0 Status '0' no off Ok Status '1' yes on Error Code 00 1 2 3 4 5 6 Desc. Block State_Prog1 State_Prog2 PNreff Tnet Tbrut Wp R/W R R R R R R R Type Block ST1 ST1 FP FP FP FP Programmer processing Description Block access (1...9) Status 1 programmerr Status 2 programmer Eff. program number Program time net Program time gross Programmer set-point 7 8 Trest Wend R R FP FP Programmer rest time Act. segment end value 9 Seg AD R INT Segment no. analog/digital 30 31 32 33 34 35 Block Pnr PRun PRset PSearch* PSet R R/W R/W R/W R/W R/S Block INT INT INT INT FP Block access (31...37) Program number effective Program stop/run Program continue/reset Start program research Program preset value Pmode = Seg Pmode = Time 36 LC- R/W FP Bandwidth lower limit 37 LC+ L/S FP Bandwidth upper limit Range 1..3 0 .. 9999 0 .. 9999 -999 .. 9999 0 .. 9999 -999 .. 9999 0101 .. 2020 1 .. 3 0 .. 1 0 .. 1 0 .. 1 1...20 0...9999 (min) 0...9999 a. ‘——’ 0...9999 a. ‘——’ (function no.: 10) Rem. F G 1) * Function is presently not supported. 1) LC-/LC+ are used as set-point gradient. These data are effective only, if no programmer is configured although a software option for programmer is provided. These data are identical with LC-/LC+ of the first program. 9499 040 56911 46 000330 Function block protocol Rem F Status 1 programmer ‘State_Prog1’ MSB D7 Bit no. D0 D1 D2 D3...D5 D6 D7 Rem G Name PRun PEnd PRes '0' '1' D6 D5 D4 D3 Allocation Progr. run Progr. end Progr. reset Always '0' Always '1' Parity D2 D1 Status '0' stop no off LSB D0 Status '1' run yes on Status 2 programmer ‘State_Prog2’ MSB D7 Bit no. D0 D1 D2 D3 D3 D6 D7 Name Sp1 Sp2 Sp3 Sp4 '0' '1' D6 D5 D4 Allocation Output 1 Output 2 Output 3 Output 4 Always '0' Always '1' Parity D3 D2 D1 Status '0' off off off off LSB D0 Status '1' on on on on Parameter a. configurationdata Code B2 B3 000330 General Descr. Xwonx Xwony Grwon C103(Xn0) C104(Xn100) C108(Xmin) C109(Xmax) C110 C100 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type BCD BCD BCD FP FP FP FP FP INT C101 R/W INT C102 C105 R/W INT R/W INT C106 R/W INT C107 R/W INT C700 R/W INT Description Deviation value for X tracking Deviation value for Y tracking Gradient for reaching the target value Lower calibration limit X1 Upper calibration limit X1 Lower process value limit Upper process value limit S factor CFunc: controller function CType: controller type WFunc: set-point function CMode: controller output action CDiff: x, Xw-differentiation CFail: behaviour with sensor failure XnDp: Decimal point for f. X standard C Aux: Auxiliary variable C OVC: Output limiting WTrac: Tracking int. set-point WD: Set-point offset WSel: Set-point selection Ratio: Ratio control function XDp: Decimal point for process value OMode: Type of self-tuning OCond: Process at rest OCntr: Operating mode contr. tuning 47 Range 0 .. 9999 0 .. 9999 0,01 .. 99,99 /min -999..9999 -999..9999 -999..9999 -999..9999 0.01 .. 99.99 (T,H) 0..xxyz (Z) (E) (T) 0..xyz0 (H) (Z) (E) 0..000x (T,H) 0.. xxy0 (Z) (T) 0..xyz0 (H) (Z) (T) 0..x00y (E) (T) 0..xy0z (H) (E) (function no.: 0) Rem. 9499 040 56911 Function block protocol Set-point Code B2 Descr. W0 W100 W2 Grw+ GrwGrw2 Process value Code B2 Code B2 Descr. N0 a b Tdz Algo Descr. Xsh Tpuls Tm Xsd1 LW Xsd2 Xsh1 Xsh2 Xp1 Tn1 Tv1 T1 Xp2 Tn2 Tv2 T2 R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP Set-point processing Description Lower set-point limit f. Weff Upper set-point limit f. Weff Additional set-point Set-point gradient plus Set-point gradient minus Set-point gradient W2 Range -999..9999 -999..9999 -999..9999 >0..9.999 >0..9.999 >0..9.999 R/W R/W R/W R/W R/W Type FP FP FP FP Process value processing Description Zero offset/ratio Factor a / 3-element control Factor b / mean value control Differentiation time constant for auxiliary variable Range -999..9999 -9.99..99.99 0..9.999 0...9999 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP Control algorithm Description Neutral zone Min. pulse length Motor actuator travel time Switching difference signaller Trigger point separation additional contact Switching difference additional contact Neutral zone Neutral zone Act. proportional band 1 Act. integral action time 1 Act. derivative action time 1 Act. min. cycle time 1 Act. proportional band 2 Act. integral action time 2 Act. derivative action time 2 Act. min. cycle time 2 R/W R/W R/W R/W R/W Type FP FP FP FP Correcting variable processing Description Range Lower correcting variable limiting -105..105 Upper correcting variable limiting -105..105 Additional correcting value -105..105 Working point for correcting variable -105..105 (function no.: 4) Rem. R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP INT Self-tuning Description Correcting variable during process at rest Step height with identification Hysteresis with parameter set switch-over Switch-over point 1 Switch-over point 2 Switch-over point 3 Parameter set which shall be optimized (function no: 5) Rem. Correcting variable Code B2 Descr. Ymin Ymax Y2 Y0 Tuning Code B2 Descr. YOptm dYopt OXsd Trig12) Trig22) Trig32) POpt Range 0.2 .. 999.9% 0.1..999.9% 10..9999s 0..9999 % -999..9999 0..9999 % 0.0 .. 999.9% 0.0 .. 999.9 % 0.1..999.9 0..9999 0..9999 0.4..999.9 0.1..999.9 0..9999 0..9999 0.4..999.9 Range -105..105 5..100 0.0..9999 0.0..9999 0.0..9999 0.0..9999 0...3 (function no.: 1) Rem. 1) (function no.: 2) Rem. (function no: 3) Rem. 1) 1) Datum has switch-off function; additional data value ‘-32000’. 2) The user must ensure that condition Trig1 < Trig2 < Trig3 is met for trigger points. 9499 040 56911 48 000330 Function block protocol Paramset x Code B2 Descr. Xp1 Tn1 Tv1 T1 Xp2 Tn2 Tv2 T2 Programmer Code B3 Descr. C120 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Control parameter set 1...4 Type Description FP Proportional band 1 FP Integral action time 1 FP Derivative action time 1 FP Min. cycle time 1 FP Proportional band 2 FP Integral action time 2 FP Derivative action time 2 FP Min. cycle time 2 (function no.: 6,7,8,9) Range Rem. 0.1..999.9 0..9999 0..9999 0.4..999.9 0.1..999.9 0..9999 0..9999 0.4..999.9 Programmer operation Type Description INT PSel: Source for program selection PwrUp:Behaviour with mains recovery Pend: Behaviour with program end PStrt: Function with Run/Stop Range 0...1 0...4 0...3 0...1 (T) (H) (Z) (E) (function no.: 10) Rem. The values defined for a program (max. 20 segment points and 4 control outputs) are distributed to 4 functions because of the limited transmission buffer. Programm x_1 Code B2 Descr. Wp1 Wp2 Wp3 Wp4 Wp5 Wp6 Wp7 Wp8 Wp9 Wp10 Wp0 LCLC+1) TP11) TP21) TP31) TP41) TP51) TP61) TP71) TP81) TP91) TP101) Wmode Pmode PNext1) R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP FP INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT Programmer parameter set part 1 Description W value segment W value segment 1 W value segment 2 W value segment 3 W value segment 4 W value segment 5 W value segment 6 W value segment 7 W value segment 8 W value segment 9 Reset value W0 Bandwidth lower limit Bandwidth upper limit Segment time analog T value segment 1 T value segment 2 T value segment 3 T value segment 4 T value segment 5 T value segment 6 T value segment 7 T value segment 8 T value segment 9 Change mode Preset mode (0=segment; 1=time) Follow-up program (function no.: 11,15,19) Range Rem. 0-999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 -999..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..9999 0..1 0..1 1..3 1) Datum has switch-off function; additional data value ‘-32000’. 000330 49 9499 040 56911 Function block protocol Programm x_2 Code B2 Descr. Wp11 Wp12 Wp13 Wp14 Wp15 Wp16 Wp17 Wp18 Wp19 Wp20 Tp111) Tp121) Tp131) Tp141) Tp151) Tp161) Tp171) Tp181) Tp191) Tp201) Programm x_3 Code B2 Descr. Td1 1) Td2 1) Td3 1) Td4 1) Td5 1) Td6 1) Td7 1) Td8 1) Td9 1) Td10 1) D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP INT INT INT INT INT INT INT INT INT INT Programmer parameter set part 2 Description Range W value segment 10 -999..9999 W value segment 11 -999..9999 W value segment 12 -999..9999 W value segment 13 -999..9999 W value segment 14 -999..9999 W value segment 15 -999..9999 W value segment 16 -999..9999 W value segment 17 -999..9999 W value segment 18 -999..9999 W value segment 19 -999..9999 T value segment 10 0...9999 T value segment 11 0...9999 T value segment 12 0...9999 T value segment 13 0...9999 T value segment 14 0...9999 T value segment 15 0...9999 T value segment 16 0...9999 T value segment 17 0...9999 T value segment 18 0...9999 T value segment 19 0...9999 (function no.: 12,16,20) Rem. R/W R/W R/S R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT Programmer parameter set part 3 Description Range T value segment 00..9999 T value segment 1 0..9999 T value segment 2 0..9999 T value segment 3 0..9999 T value segment 4 0..9999 T value segment 5 0..9999 T value segment 6 0..9999 T value segment 7 0..9999 T value segment 8 0..9999 T value segment 9 0..9999 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Reset value control outputs 1..4 0000 .. 1111 (function no.: 13,17,21) Rem. 1) Datum has switch-off function; additional data value ‘-32000’. 9499 040 56911 50 000330 Function block protocol Programm x_4 Code B2 DAC ® Code B2 Descr. Td11 1) Td12 1) Td13 1) Td14 1) Td15 1) Td16 1) Td17 1) Td18 1) Td19 1) Td20 1) D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 Descr. —————DAC ® ————- R/W R/W R/S R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT Programmer parameter set part 4 Description Range T value segment 0..9999 T value segment 1 0..9999 T value segment 2 0..9999 T value segment 13 0..9999 T value segment 14 0..9999 T value segment 15 0..9999 T value segment 16 0..9999 T value segment 17 0..9999 T value segment 18 0..9999 T value segment 19 0..9999 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Control output 1..4 0000 .. 1111 Type FP FP FP FP FP INT INT INT INT INT Actuator monitoring (Digital Actor Control) Description Range always ‘0’ 0 always ‘0’ 0 always ‘0’ 0 always ‘0’ 0 always ‘0’ 0 DAC ® function control 0...1 always ‘0’ 0 always ‘0’ 0 always ‘0’ 0 always ‘0’ 0 (function no.: 14,18,22) Rem. (function no.: 26) Rem. 1) Datum has switch-off function; additional data value ‘-32000’. 000330 51 9499 040 56911 Function block protocol 7.2.5 ALARM (FB no.: 51 type no.: 45) Function block ‘ALARM’ defines the overall alarm processing of the relevant controller. Processdata Code 1 18 Rem A General Descr. Status 1 Type R/W R R Type ST1 INT (function no.: 0) Range Rem. A 45 Description Alarm status x Type no. of function block Status 1 Bit no. D0 D1 D2 D3 D4, D5 D6 D7 MSB D7 D6 Name AL1 Al2 Al3 Al4 '0' '1' D5 D4 Allocation Alarm 1 Alarm 2 Alarm 3 Alarm 4 Always '0' Always '1' Parity D3 D2 LSB D1 D0 Status '0' off off off off Status '1' on on on on Parameter a. configurationdata Code B2 B3 General Descr. LimL1 1) LimH1 1) xsd1 LimL2 1) LimH2 1) xsd2 LimL3 1) LimH3 1) xsd3 LimL4 1) LimH4 1) xsd4 C600 (ALARM1) R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP FP FP INT C620 (ALARM2) R/W INT C640 (ALARM3) R/W INT C660 (ALARM4) R/W INT Description Lower limit value 1 Upper limit value 1 Switching difference 1 Lower limit value 2 Upper limit value 2 Switching difference 2 Lower limit value 3 Upper limit value 3 Switching difference 3 Lower limit value 4 Upper limit value 4 Switching difference 4 Src: signal source Fnc: function Mod: mode Src: signal source Fnc: function Mod: mode Src: signal source Fnc: function Mod: mode Src: signal source Fnc: function Mod: mode (T,H) (Z) (E) (T,H) (Z) (E) (T,H) (Z) (E) (T,H) (Z) (E) (function no.: 0) Range Rem. -999..9999 -999..9999 0..9999 -999..9999 -999..9999 0..9999 -999..9999 -999..9999 0..9999 -999..9999 -999..9999 0..9999 0..xxyz 0..xxyz 0..xxyz 0..xxyz 1) Datum has switch-off function; additional data value ‘-32000’. 9499 040 56911 52 000330 Function block protocol 7.2.6 OUTPUT (FB no.: 81 Type no.: 111) In function block ‘OUTPUT’, all data concerning the signal processing of all outputs (analog/digital) are grouped. Processdata General Code 18 Descr. Access Type Description Type R Type no. of function block Parameter a. configurationdata General Code B3 Descr. R/W C500 R/W (OUT1) C530 R/W (OUT2) C560 R/W (OUT3) C590 R/W (OUT4) C591 R/W (OUT5) C596 R/W (DO5) C597 R/W (DO6) SV 1 Code B3 Descr. X0_Out3 X100_Out3 xs1 ys1 xs2 ys2 xs3 3) ys3 xs4 3) ys4 xs5 3) ys5 xs6 3) ys6 xs7 3) ys7 xs8 3) ys8 C565 Range 111 (function no.: 0) Rem. (function no.: 0) Range Rem. (T,H) 0..xxyz (Z) (E) (T,H) 0..xxyz (Z) (E) (T,H) 0..xxyz (Z) (E) (T,H) 0.. xxyz (Z) (E) (T,H) 0.. xxyz (Z) (E) (T,H) 0..xx0y (E) (T,H) 0..xx0y (E) Signalprocessing for OUT 3 (function no.: 1) Description Range Rem. Reference value for output of % 999..9999 1) Reference value for output of 100% 999..9999 Segment 1 : x value -999..9999 Segment 1: Y-value -999..9999 Segment 2: X-value -999..9999 Segment 2: Y-value -999..9999 Segment 3: X-value -999.. 9999 Segment 3: Y-value -999.. 9999 Segment 4: X-value -999.. 9999 Segment 4: Y-value -999.. 9999 1) 2) Segment 5: X-value -999.. 9999 Segment 5: Y-value -999.. 9999 Segment 6: X-value -999.. 9999 Segment 6: Y-value -999.. 9999 Segment 7: X-value -999.. 9999 Segment 7: Y-value -999.. 9999 Segment 8: X-value -999.. 9999 Segment 8: Y-value -999.. 9999 Func: function selection. (T) 0..x00y 1) DP: decimal point (E) Type Description INT Src: output signal source Type: output stage type Mode: actuator output action INT Src: output signal source Type: output stage type Mode: actuator output action INT Src: output signal source Type: output stage type Mode: actuator output action INT Src: output signal source Type: output stage type Mode: actuator output action INT Src: output signal source Type: output stage type Mode: actuator output action INT Src: output signal source Mode: output inversion INT Src: output signal source Mode: output inversion R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Type FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP INT 1) Only defined, if HW option C is configured. 2) Only defined for KS94 with the relevant HW option. 3) Datum has switch-off function; additional data value ‘-32000’. 000330 53 9499 040 56911 Annex SV 2 Code B3 Descr. X0_Out1 X100_Out1 C.505 R/W R/W R/W R/W Type FP FP FP Signalprocessing for OUT 1 Descr. Reference value for output of % Reference value for output of 100% Func: function selection. (T) DP: decimal point (E) (function no.: 1) Range Rem. 999..9999 999..9999 -999..9999 8 Annex 8.1 Legend of terms and abbreviations CHAR5/16 COM PROFIBUS FB Fkt FP ET Funktion Funktionsblock GSD-Datei HW ICMP INT INTERBUS ISO1745 PC-Schnittstelle PCI PCI-Protokoll PROFIBUS-DP RS422 RS485 S5 / S7 Serielle Schnittstelle ST1 SW TTL Typ 9499 040 56911 Data type (r see page 16) Configuration tool (also COM ET200) make Siemens for PROFIBUS Abbr. for function block Abbr. for function Data type (r see page 16) Abbr. for Engineering Tool A partial function of a function block seen from the interface Self-contained processing unit Geräte Stammdaten file Geräte Stammdaten file Data type (r see page 16) Data type (r see page 16) Standard communication protocol to EN 50254 Standard communication protocol ISO 1745, ASCII-based Front-panel interface at the controller for connecting an engineering tool Process Control Instrument ISO 1745-based protocol, implemented for PMA controllers Standard communication protocol to EN50170 vol.2 (DP: decentral periphery) Standard 4-wire connection 4-wire connection, full duplex, (EIA RS 422); here: separate send/receive channels with max. 32 units Standard 2-wire connection, half duplex, (EIA RS 485) Siemens AG controller series Rear bussable controller interface Data type (r see page 16) Abbr. f. software Module signal level A function type number is allocated to each function block. 54 000330 Index 9 Index Index Baudrate . . . . . . . . . . . . . . . . . . . . . 5 Begriffe . . . . . . . . . . . . . . . . . . . . 54 Cable definition . . . . . . . . . . . . . . . . . 5 cable specification. . . . . . . . . . . . . . . . 8 connection. . . . . . . . . . . . . . . . . . . . 8 controller adjustment . . . . . . . . . . . . . 11 controlwords . . . . . . . . . . . . . . . . . . 16 Data types . . . . . . . . . . . . . . . . . . . 17 Datenstrukturierung . . . . . . . . . . . . . . 30 Datentypen . . . . . . . . . . . . . . . . . . . 17 diagnosis . . . . . . . . . . . . . . . . . . . . 8 fieldbusdata . . . . . . . . . . . . . . . . . . 12 Forcing . . . . . . . . . . . . . . . . . . . . . 10 Funktionsblocknummer . . . . . . . . . . . . 23 Initiate . . . . . . . . . . . . . . . . . . . . . 22 INTERBUS . . . . . . . . . . . . . . . . . . 12 INTERBUS diagnosis. . . . . . . . . . . . . . 8 Interface . . . . . . . . . . . . . . . . . . . . . 8 laying cables . . . . . . . . . . . . . . . . . . 8 000330 55 Local . . . . . . . . . . . . . . . . . . . . . . 7 measurement earth . . . . . . . . . . . . . . . 8 Multiplex. . . . . . . . . . . . . . . . . . . . 15 multiplexed transmission . . . . . . . . . . . 15 Network . . . . . . . . . . . . . . . . . . . . . 5 Objekte. . . . . . . . . . . . . . . . . . . . . 23 DECADE_AC . . . . . . . . . . . . 28 MEM_RD_PAR . . . . . . . . . . . 24 MEM_WR_PAR . . . . . . . . . . . 24 SINGLE_AC . . . . . . . . . . . . . 25 TEXT_AC . . . . . . . . . . . . . . 27 operation )local). . . . . . . . . . . . . . . . . 7 Outputs can be locked . . . . . . . . . . . . . 10 PCP-Dienste . . . . . . . . . . . . . . . . . . 20 Process . . . . . . . . . . . . . . . . . . . . . 14 Process data . . . . . . . . . . . . . . . . . . 11 process data modules . . . . . . . . . . . . . 14 Processdatamodules . . . . . . . . . . . . . . 14 screening . . . . . . . . . . . . . . . . . . . . 8 Statuswords . . . . . . . . . . . . . . . . . . 15 9499 040 56911 Subject to alterations without notice. Bei Änderungen erfolgt keine Mitteilung. Sus réserve de modification sans avis préalable © PMA Prozeß- und Maschinen-Automation GmbH A4 Postfach 310 229, D - 34058 Kassel Printed in Germany 9499 040 56911 (9908)