SB ks40 50 90 Def 9499-040-47701
SB ks40 50 90 Def 9499-040-47701
SB ks40 50 90 Def 9499-040-47701
Industrieregler
Régulateurs industriels
KS 40, KS 50, KS90
Interface description
Schnittstellenbeschreibung
Description de linterface
9499 040 47701
valid from/gültig ab/valable depuis: 8315
ENGLISH Page 1 DEUTSCH Seite 9 FRANÇAIS Page
All rights reserved. No part of this Alle Rechte vorbehalten. Ohne vorher- Tous droits sont réservés. Toute
documentation may be reproduced or gehende schriftliche Genehmigung ist der représentation ou reproduction, intégrale
published in any form or by any Nachdruck, auch die auszugsweise foto- ou partielle, par quelque procédé que ce
means without prior written per- mechanische oder anderweitige Wieder- soit, faite sans le consentement préalable
mission from the copyright owner. gabe, dieses Dokumentes nicht gestattet. par écrit de l’auteur, est interdite.
1 English
Interface description
1 Notes on operation
The controller can be equipped with a serial digital interface for transmission of process values,
parameters and configuration data. The interface connections are on the rear of the controller, the
hardware is TTL compatible. Several instruments can be connected with separate cables to interface
modules and several interface modules can be operated by means of a bus. Via their RS 422/485
interface, data communication upto 1 km distance with master PLCs, PCs, visualization tools etc. is
possible (read and write). In remote mode of the controller, these tools can affect controller data (write)
by means of relevant programs. In this operation mode, modification of controller data by means of the
front keys is not possible.
In the controller, the internal digital interface is galvanically isolated from supply voltage and input and
signal circuits.
In the interface module, the instrument interfaces and the bus interface are interconnected but
galvanically isolated from the supply voltage.
The operating notes of the interface modules include further information for connection and operation.
Master
RS 485 e.g. interface converter M-4
1
6 1
2 max. 1000m 2
7
3
DATA-B
DATA-B 3
8 DATA-A DATA-A 4
4
9 RGND 5
5
RGND
2 Interface protocol
The protocol is based on ISO 1745. Generally, a fixed master/slave principle is used for transmission,
whereby the controller is always the slave. Control is always by the master.
2.4 Characters
Transmission control characters Valid 7-bit-characters (parity EVEN):
CHR HEX Description CHR HEX Description
STX 02 Start of data , 2C Comma as separation
ETX 03 End of data = 3D Separation for CODE = VAL
EOT 04 Reset or cancellation . 2E Decimal point (only for VAL)
ENQ 05 Enquiry of reply - 2D Minus (only for VAL)
ACK 06 Acknowledge 0...9 30...39 Numbers 0...9
NAK 15 Not Acknowledge @... 40...7F Values of the status bytes
+ The characters for "space"and "+" (hex 20, 2B) are inadmissible in all messages.
3 Message structure
Generally, single data are transmitted, exceptions are shown in the ADR Address (2 bytes)
CODE-table (Ä chapter 4). Values in a reply are transmitted without CODE Code for data
leading zeros, but minus sign/decimal point depending on the date. VAL Value of data
Values in a transmission are valid within their limits with or without
DATA Comprises CODE = VAL
decimal point. They will be cut and rounded to the required data
structure. Some parameters can be switched off by means of four minus BCC Block Check Count Ü
signs. CHR Character
FCT Function *
Ü All characters after STX and including ETX are connected bytewisely in an EXOR function (1 byte).
* Function is the second part of the B2-codes. For B2,01 it is 01 and for B2,02 it is 02.
General reply: STX CODE CODE = t VAL r ETX BCC or NAK in case of error
Block 00 reply: STX ST1 , ST2 , Y , W , X , Wv , Wnv , , HC/X2 ETX BCC
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
q Computer transmits: EOT ADR ADR STX CODE CODE = t VAL r ETX BCC
With blocks B2, CODE and FCT must be transmitted: CODE CODE , FCT FCT FCT is repeated in VAL.
VAL (Block B2,01): 0 1 , 1 0 , SP2 , SP3 , SP4 , SP5 , SP6 , SP7 , SP8 , SP9 , SP10 , SP11 , 0
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
3.2 Messages ACK (write access) and NAK (write or read access)
The controller replies ACK to a write access, if all the following conditions are met:
w Parity bit correct w Value is within its specified limits
w BCC correct w Controller is at REMOTE mode
w CODE permittted and positioned correctly w Permitted write access (e.g. Code 06)
w Message contains only permitted characters w Message (data) received correctly
If one of the above conditions is not met, the controller replies NAK.
With message receive buffer overflow, the controller replies NAK.
With read access, remote or local operation does not affect the message.
4 CODE table
The table shows the CODEs for data transmission. Two data types are permitted:
q For the two status bytes: 1 Byte, bit-oriented
q For all other data: Decimal digits, with decimal point and/or minus sign, each ASCII-coded
Explanation of columns:
Disp: Messages displayed by the controller (symbols in brackets are not displayed)
R: Read data from controller (Local/Remote)
W: Write data to controller (Remote)
Len: max. number of bytes between STX and ETX (DATA)
KS KS KS
CODE Description 40 50 90 Disp R/W Len. Value range Rem.
q 00 Operating level f f f R 40/46 Ü
01 Status byte 1 f f f (ST1) R 4
02 Status byte 2 f f f (ST2) R 4
03 Correcting variable f f f (Y) Y R/(W) 7 *
04 Setpoint effective f f f (W) R 9
05 Process value f f f (X) R 9 Ö
06 Setpoint volatile f f f (Wvol) R/W 9 SPL... SPH/- - - - ä#>
07 Setpoint non-volatile f f f (Wnonvol) R/W 9 SPL... SPH/- - - - ä#>
09 Heating current f f - HC R 7
09 2nd process value - - f (X2) R 9
11 Controller active / not active - - f - R/W 4 0/ 1
12 Y2 active / not active - - f - R/W 4 0/ 1
13 Manual mode active / not active - - f - R/W 4 0/ 1
14 2nd set-point active / not active - - f - R/W 4 0/ 1
15 Wext active / not active - - f - R/W 4 0/ 1
19 Ydiff - - f - W 7 -205...205
21 Proportional band heating f f f Pb1 R/W 8 0.1...999.9
22 Proportional band cooling f f f Pb2 R/W 8 0.1...999.9
23 Integral time f f f ti R/W 7 0/1...9999
24 Derivative time f f f td R/W 7 0...9999
25 Actuator response time f - f tt R/W 6 (tt) <
26 Alarm switching differential (1) f f f Sd(A1) R/W 9 1...9999
27 Trigger point separation f - f SH R/W 7 0.2...20.0%
28 Alarm switching differential (2) - - f SdA2 R/W 9 1...9999
29 Zero offset (ratio control) - - f OFFS R/W 6 -20...0...20
31 Limit contact low (1) f f f LCL(1) R/W 9 1/ InL...9999/- - - - >
32 Limit contact high (1) f f f LCH(1) R/W 9 1/ InL...9999/- - - - >
35 Limit contact low (2) - f f LCL(2) R/W 9 1/ InL...9999/- - - - >
36 Limit contact high (2) - f f LCH(2) R/W 9 1/ InL...9999/- - - - >
39 Signaller switching differential - - f SdS R/W 9 1...9999
47 Heating current limit f f - HCA R/W 7 (HCA)/- - - - <>
48 Heating current range - f - HCH R/W 7 1.0...99.9
48 Min. step time - - f ttP R/W 6 0.1...2.0
KS KS KS
CODE Description 40 50 90 Disp R/W Len. Value range Rem.
51 2nd set-point or f f f SP2 R/W 9 SPL... SPH/- - - - #>
52 f f f SP3 R/W 9 SPL... SPH
Set-points for programmer
53 f f f SP4 R/W 9 SPL... SPH
54 f f f Pt2 R/W 7 0...9999
55 Segment times for programmer f f f Pt3 R/W 7 0...9999
56 f f f Pt4 R/W 7 0...9999
57 5th set-point (programmer) f f f SP5 R/W 9 SPL... SPH
58 5th segment time (progr.) f f f Pt5 R/W 7 0...9999
59 Gradient f f f Gr R/W 8 0.1...999.9 /- - - - >
q 61 f f f Con1 R 7
q 62 Configuration level f f f Con2 R 7
q 63 - f f Con3 R 7
q 64 - - f Con4 R 7
71 Correcting variable for start-up - f f YA R/W 6 5...100
72 Set-point for start-up - f f SPA R/W 9 SPL... SPH
73 Holding time for start-up - f f PtA R/W 7 0...9999
74 Max. correct. variable average - f - YH R/W 6 5...100
75 Limit for averaging (corr. var.) - f - LYH R/W 7 0.1...10.0
76 2nd correcting variable - - f Y2 R/W 6 YLL... YLH
77 Filter time constant - - f tF R/W 8 0.0...999.9
78 Span start f f f InL R/W 9 999...( InH - 1) y
79 Span end f f f InH R/W 9 ( InL + 1)...9999 y
81 Decimal point f f f dP R/W 4 (dP) <
82 Lower set-point limit f f f SPL R/W 9 InL...( SPH - 1)
83 Upper set-point limit f f f SPH R/W 9 ( SPL+ 1)... InH
85 Lower output limit - - f YLL R/W 7 -100...( YLH - 10)
86 Upper output limit - - f YLH R/W 7 ( YLL + 10)...100
87 Cycle time heating f f f t1 R/W 8 0,4...999,9
88 Cycle time cooling f f f t2 R/W 8 0,4...999,9
89 Operation locking f f f Loc R/W 4 (Loc) <
B2,01 Set-points SP2... SP11 - - f R/W 80/83 SPL... SPH Ü
B2,02 Segment times Pt2... Pt11 - - f R/W 60/63 0...9999 Ü
Ü Block access (Ä chapter 3.1, General structure and chapter 6, Communication examples)
* KS 40 / KS 50: (Y) can be read only.
KS 90: Y can be read and written. The written value becomes valid in manual mode.
Ö The process value is only valid, if bit 3 and bit 5 in status byte 1 are 0 (no sensor or polarity error).
ä Ä chapter 7, Remote/Local operation
# With KS 40 / KS 50 positioners: output signal (–100%) / 0%...100%, no switch-off function.
< The limits of these values depend on the instrument (Ä data sheet or operating instructions).
> If four minus signs are transmitted, the relevant function is switched off.
y These values can be written only with standard signal input. They must not be changed with running
programmer or ramp (Ä NAK).
6 Communication examples
The structure of communication strings for B2-codes is shown in chapter 3.1.
q Example 1: The computer requests Pb2 (CODE 22) from controller with address 00.
Request EOT 0 0 2 2 ENQ
ADR CODE
Controller replies STX 2 2 = 1 2 . 0 ETX BCC Pb2 = 12.0 [%]
CODE VAL
q Example 2: The computer sets Pb1 (CODE 21) = 399.9 [%] of controler with address 01.
Transmission EOT 0 1 STX 2 1 = 3 9 9 . 9 ETX BCC
ADR CODE VAL
Controller replies ACK or NAK in case of error
q Example 3: The computer requests the operating block (CODE 00) of controller with address 23.
Request EOT 2 3 0 0 ENQ
ADR CODE
Controller replies STX @ , E , 4 . 5 , 4 . 7 , , 1 0 0 0 ETX BCC
01 02 03 ... 07 09
The reply comprises the values of Codes 01...09, each separated by a comma. Exceptions: The missing
Code 08 is replaced by a comma without value, and there is no comma after the value of Code 09.
The values of Codes 01 and 02 are coded bit by bit, the values of the other Codes are ASCII-coded.
7 REMOTE/LOCAL operation
The controller can be switched to REMOTE or LOCAL operation.
Switchover is always possible. Any simultaneously running data transmission by the computer is
cancelled and the already received data are lost. Any simultaneously running data transmission by the
controller is not affected.
In LOCAL mode, only reading is possible, write attempts are rejected with NAK. Additionally, the
display and changing of parameters and configurations is possible via the controller keys.
In REMOTE mode, all operations of the serial interface (writing and reading) are permitted.
Additionally, the display of parameters and configurations is possible via the controller keys, but
changes can be made only via the interface.
When switching over to LOCAL mode, Wvol is lost. In this case, the previous internal setpoint
(possibly overwritten by Wnonvol) of the controller is the effective setpoint. If Wnonvol has been set to
----in remote mode, all outputs are switched off in local mode.
g The pin identifications TXD-A, TXD-B, RXD-A and RXD-B for RS 422 or DATA-A and DATA-B for
RS 485, are sometimes used in some interface hardware with different meanings. If no communication
occurs though correctly cabled, possibly A and B must be interchanged (e.g. TXD-A to RXD-B and
TXD-B to RXD-A etc.)
2 Deutsch
Schnittstellenbeschreibung
1 Hinweise zum Betrieb
Der Regler kann mit einer seriellen, digitalen Schnittstelle zur Übertragung von Istwerten, Parametern
und Konfigurationsdaten ausgerüstet sein. Der Schnittstellenanschluß ist auf der Geräterückseite, die
Hardware ist TTL-kompatibel. Mehrere Geräte sind über separate Kabel an ein Schnittstellenmodul
anschließbar und an einem Bus können mehrere Schnittstellenmodule betrieben werden. Über deren
RS 422/485 Schnittstelle ist die Datenkommunikation mit übergeordneten Steuerungen, Rechnern,
Visualisierungen usw. bis zu 1 km Entfernung möglich (Lesen und Schreiben). Diese Geräte können
mittels geeigneter Programme die Reglerdaten beeinflussen (Schreiben), wenn der Regler im
Remote-Betrieb ist. In diesem Betriebszustand ist die Änderung der Reglerdaten über die Tasten der
Gerätefront nicht möglich.
Im Regler ist die Geräte-Schnittstelle von der Hilfsenergie und den Meß- und Signalstromkreisen
galvanisch getrennt.
Die Bedienhinweise der Schnittstellenmodule enthalten weitere Informationen zu Anschluß und Betrieb.
Master z.B.
RS 485 Schnittstellenwandler M-4
1
6 1
2 max. 1000m 2
7
3
DATA-B
DATA-B 3
8 DATA-A DATA-A 4
4
9 RGND 5
5
RGND
2 Schnittstellenprotokoll
Das Protokoll basiert auf ISO 1745. Grundsätzlich gilt für die Übertragung ein starres
Master/Slave-Prinzip, wobei der Regler immer als Slave arbeitet. Der Master führt immer die Steuerung
durch.
2.1 Datenformat
w 1 Startbit w 1 Paritätsbit (EVEN)
w 7 Bit binär (Status-Bytes) oder w 1 Stoppbit
7 Bit ASCII (andere Daten)
2.2 Baudrate
Die Übertragungsrate wird in der Konfigurationsebene eingestellt (2400/4800/9600/19200 Bd). Alle
Geräten, die an einem Schnittstellenmodul angeschlossen sind, müssen die gleiche Baudrate haben.
2.3 Adressierung
Der Regler kann mit anderen Geräten und Systemen gemeinsam am gleichen Bus betrieben werden.
Entscheidend für die Anwahl ist die Adresse Adr = 00... 99 (Parameter-Ebene).
2.4 Zeichen
Übertragungssteuerzeichen Gültige 7-Bit-Zeichen (Parity EVEN):
CHR HEX Bezeichnung CHR HEX Bezeichnung
STX 02 Einleitung der Daten , 2C Komma als Trennzeichen
ETX 03 Ende der Daten = 3D Trennzeichen für CODE = VAL
EOT 04 Abbruch oder Rücksetzen . 2E Dezimalpunkt (nur bei VAL)
ENQ 05 Anforderung der Antwort - 2D Minus (nur bei VAL)
ACK 06 Acknowledge (Bestätigung) 0...9 30...39 Zahlen 0...9
NAK 15 Not Acknowledge @... 40...7F Werte der Statusbytes
+ Die Zeichen "Leerzeichen" und "+" (hex 20, 2B) sind in allen Nachrichten unzulässig.
3 Nachrichtenaufbau
Grundsätzlich werden Einzeldaten übertragen, Ausnahmen zeigt die ADR Adresse (2 Bytes)
CODE-Tabelle (Ä Abschnitt 4). Werte einer Antwort haben keine CODE Code für Daten
führenden Nullen, je nach Datum aber Minuszeichen/Dezimalpunkt. VAL Wert der Daten
Werte einer Datensendung sind innerhalb der Grenzen mit oder ohne
DATA Besteht aus CODE = VAL
Dezimalpunkt gültig und werden auf die jeweilige Datenstruktur
BCC Block Check Count Ü
zurechtgeschnitten und gerundet. Abschaltbare Parameter werden
mittels vier Minuszeichen abgeschaltet. CHR Charakter / Zeichen
FCT Funktion *
Ü Die Zeichen nach STX bis einschließlich ETX werden byteweise EXOR-verknüpft (1 Byte).
* Funktion ist der zweite Teil des B2-Codes. Bei B2,01 ist sie 01 und bei B2,02 ist sie 02.
Antwort generell: STX CODE CODE = t VAL r ETX BCC oder NAK im Fehlerfall
Antwort Block 00: STX ST1 , ST2 , Y , W , X , Wv , Wnv , , HC/X2 ETX BCC
Antwort Blöcke B2: CODE ist B2. FCT ist erster Teil von VAL.
VAL (Block B2,01): 0 1 , 1 0 , SP2 , SP3 , SP4 , SP5 , SP6 , SP7 , SP8 , SP9 , SP10 , SP11 , 0
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
q Rechner überträgt: EOT ADR ADR STX CODE CODE = t VAL r ETX BCC
Bei den Blöcken B2 ist CODE und FCT zu übertragen: CODE CODE , FCT FCT FCT wird in VAL wiederholt.
VAL (Block B2,01): 0 1 , 1 0 , SP2 , SP3 , SP4 , SP5 , SP6 , SP7 , SP8 , SP9 , SP10 , SP11 , 0
VAL (Block B2,02): 0 2 , 0 , 1 0 , Pt2 , Pt3 , Pt4 , Pt5 , Pt6 , Pt7 , Pt8 , Pt9 , Pt10 , Pt11
3.3 Reaktionszeiten
Bei Datenanforderung (Lesezugriff) Bei Datensendung (Schreibzugriff)
w Die Antwort beginnt (STX) maximal 150 ms w Die Antwort (ACK) beginnt maximal 150 ms
nach dem Ende der Anforderung (ENQ). nach dem Ende der Sendung (BCC).
4 CODE - Tabelle
Die Tabelle zeigt die CODEs der Datenübertragung. Zwei Datentypen stehen zur Verfügung:
q Für die zwei Statusbytes: 1 Byte, Bit-orientiert
q Für alle anderen Daten: Dezimalstellen mit Dezimalpunkt und/oder Minuszeichen, jeweils ASCII-codiert.
Erläuterung der Spalten:
Anz.: Anzeige im Display des Reglers (Symbole in Klammern werden nicht angezeigt)
R: Read, Daten aus dem Regler lesen (Local/Remote)
W: Write, Daten in den Regler schreiben (Remote)
Länge: max. Byteanzahl zwischen STX und ETX (DATA)
KS KS KS
CODE Bezeichnung 40 50 90 Anz R/W Länge Wertebereich Bem.
q 00 Bedien-Ebene f f f R 40/46 Ü
01 Statusbyte 1 f f f (ST1) R 4
02 Statusbyte 2 f f f (ST2) R 4
03 Stellgröße f f f (Y) Y R/(W) 7 *
04 Sollwert effektiv f f f (W) R 9
05 Istwert f f f (X) R 9 Ö
06 Sollwert volatile f f f (Wvol) R/W 9 SPL... SPH/- - - - ä#>
07 Sollwert non-volatile f f f (Wnonvol) R/W 9 SPL... SPH/- - - - ä#>
09 Heizstrom f f - HC R 7
09 2. Regelgröße - - f (X2) R 9
11 Regler aktiv / nicht aktiv - - f - R/W 4 0/ 1
12 Y2 aktiv / nicht aktiv - - f - R/W 4 0/ 1
13 Handbetrieb aktiv / nicht aktiv - - f - R/W 4 0/ 1
14 2. Sollwert aktiv / nicht aktiv - - f - R/W 4 0/ 1
15 Wext aktiv / nicht aktiv - - f - R/W 4 0/ 1
19 Ydiff - - f - W 7 -205...205
21 Proportionalbereich Heizen f f f Pb1 R/W 8 0.1...999.9
22 Proportionalbereich Kühlen f f f Pb2 R/W 8 0.1...999.9
23 Nachstellzeit f f f ti R/W 7 0/1...9999
24 Vorhaltzeit f f f td R/W 7 0...9999
25 Laufzeit des Stellmotors f - f tt R/W 6 (tt) <
26 Alarm-Schaltdifferenz (1) f f f Sd(A1) R/W 9 1...9999
27 Schaltpunktabstand f - f SH R/W 7 0.2...20.0%
28 Alarm-Schaltdifferenz (2) - - f SdA2 R/W 9 1...9999
29 Nullpunkt (Verhältnisregelung) - - f OFFS R/W 6 -20...0...20
31 Limitkontakt unten (1) f f f LCL(1) R/W 9 1/ InL...9999/- - - - >
32 Limitkontakt oben (1) f f f LCH(1) R/W 9 1/ InL...9999/- - - - >
35 Limitkontakt unten (2) - f f LCL(2) R/W 9 1/ InL...9999/- - - - >
36 Limitkontakt oben (2) - f f LCH(2) R/W 9 1/ InL...9999/- - - - >
39 Schaltdifferenz für Signalgerät - - f SdS R/W 9 1...9999
47 Heizstromgrenze f f - HCA R/W 7 (HCA)/- - - - <>
48 Heizstrombereich - f - HCH R/W 7 1.0...99.9
48 Min. Stellschrittzeit - - f ttP R/W 6 0.1...2.0
KS KS KS
CODE Bezeichnung 40 50 90 Anz R/W Länge Wertebereich Bem.
51 2. Sollwert oder f f f SP2 R/W 9 SPL... SPH/- - - - #>
52 Sollwerte für Programmgeber f f f SP3 R/W 9 SPL... SPH
53 f f f SP4 R/W 9 SPL... SPH
54 f f f Pt2 R/W 7 0...9999
55 Abschnittzeiten für Programmgeber f f f Pt3 R/W 7 0...9999
56 f f f Pt4 R/W 7 0...9999
57 5. Sollwert (Programmgeber) f f f SP5 R/W 9 SPL... SPH
58 5. Abschnittzeit (Programmgeber) f f f Pt5 R/W 7 0...9999
59 Gradient f f f Gr R/W 8 0.1...999.9 /- - - - >
q 61 f f f Con1 R 7
q 62 Konfigurations-Ebene f f f Con2 R 7
q 63 - f f Con3 R 7
q 64 - - f Con4 R 7
71 Anfahrstellwert - f f YA R/W 6 5...100
72 Anfahrsollwert - f f SPA R/W 9 SPL... SPH
73 Anfahrhaltezeit - f f PtA R/W 7 0...9999
74 Max. Mittelwert der Stellgröße - f - YH R/W 6 5...100
75 Grenze für Mittelwertbildung - f - LYH R/W 7 0.1...10.0
76 2. Stellgröße - - f Y2 R/W 6 YLL... YLH
77 Filterzeitkonstante - - f tF R/W 8 0.0...999.9
78 Meßbereichsanfang f f f InL R/W 9 999...( InH - 1) y
79 Meßbereichsende f f f InH R/W 9 ( InL + 1)...9999 y
81 Dezimalpunkt f f f dP R/W 4 (dP) <
82 Untere Sollwertgrenze f f f SPL R/W 9 InL...( SPH - 1)
83 Obere Sollwertgrenze f f f SPH R/W 9 ( SPL+ 1)... InH
85 Min. Stellgrößenbegrenzung - - f YLL R/W 7 -100...( YLH - 10)
86 Max. Stellgrößenbegrenzung - - f YLH R/W 7 ( YLL + 10)...100
87 Schaltperiodendauer Heizen f f f t1 R/W 8 0,4...999,9
88 Schaltperiodendauer Kühlen f f f t2 R/W 8 0,4...999,9
89 Blockierung der Bedienung f f f Loc R/W 4 (Loc) <
B2,01 Sollwerte SP2... SP11 - - f R/W 80/83 SPL... SPH Ü
B2,02 Abschnittzeiten Pt2... Pt11 - - f R/W 60/63 0...9999 Ü
Ü Blockzugriff (Ä Abschnitt 3.1, Grundsätzlicher Aufbau und Abschnitt 6, Kommunikationsbeispiele)
* KS 40 / KS 50: (Y) kann nur gelesen werden.
KS 90: Y kann gelesen und geschrieben werden. Der geschriebene Wert wird im Handbetrieb gültig.
Ö Der Istwert ist nur gültig, wenn Bit 3 / Bit 5 im Statusbyte 1 "0" sind (kein Fühler-/Polaritätsfehler).
ä Ä Abschnitt 7, Remote/Local-Betrieb
# Bei KS 40 / KS 50 Stellern: Ausgangssignal (–100%) / 0%...100%, keine Abschaltfunktion.
< Die Grenzen dieser Werte sind geräteabhängig (Ä Datenblatt oder Bedienungsanleitung).
> Werden vier Minuszeichen übertragen, so ist die entsprechende Funktion abgeschaltet.
y Diese Werte können nur bei Einheitssignal-Eingang geschrieben werden. Sie dürfen bei laufendem
Programm oder bei laufender Rampe nicht verändert werden (Ä NAK).
6 Kommunikationsbeispiele
Der Aufbau der Kommunikations-Strings für die B2-Codes ist im Abschnitt 3.1 dargestellt.
q Beipiel 1: Der Rechner fordert Pb2 (CODE 22) vom Regler mit Adresse 00.
Anforderung EOT 0 0 2 2 ENQ
ADR CODE
Regler antwortet STX 2 2 = 1 2 . 0 ETX BCC Pb2 = 12.0 [%]
CODE VAL
q Beispiel 2: Der Rechner setzt Pb1 (CODE 21) = 399.9 [%] beim Regler mit Adresse 01.
Übertragung EOT 0 1 STX 2 1 = 3 9 9 . 9 ETX BCC
ADR CODE VAL
Regler antwortet ACK oder NAK im Fehlerfall
q Beispiel 3: Der Rechner fordert den Bedienblock (CODE 00) vom Regler mit Adresse 23.
Anforderung EOT 2 3 0 0 ENQ
ADR CODE
Regler antwortet STX @ , E , 4 . 5 , 4 . 7 , , 1 0 0 0 ETX BCC
01 02 03 ... 07 09
Die Antwort enthält die Werte der Codes 01...09, durch Komma getrennt. Ausnahmen: Der fehlende
Code 08 wird durch ein Komma ohne Wert ersetzt, und nach dem Wert des Codes 09 kommt kein
Komma.
Die Werte der Codes 01 und 02 sind bitweise codiert, die der anderen Codes sind ASCII-codiert.
7 REMOTE/LOCAL - Betrieb
Der Regler kann in die Zustände REMOTE oder LOCAL geschaltet werden.
Eine Umschaltung ist jederzeit möglich. Eine eventuell gleichzeitig laufende Datensendung des
Rechners wird abgebrochen, und die dabei bereits empfangenen Daten gehen verloren. Eine eventuell
gleichzeitig laufende Datensendung des Reglers wird nicht beeinflußt.
Der Zustand LOCAL erlaubt nur Lesen, Schreibversuche werden mit NAK abgewiesen. Zusätzlich
können Parameter und Konfigurationen mit Hilfe der Reglertasten angezeigt und verändert werden.
Der Zustand REMOTE erlaubt alle Bedienungen der seriellen Schnittstelle (Schreiben und Lesen).
Zusätzlich können Parameter und Konfigurationen mit Hilfe der Reglertasten angezeigt werden,
Veränderungen sind jedoch nur über die Schnittstelle möglich.
Wenn in LOCAL-Betrieb umgeschaltet wird, geht der Wvol verloren. In diesem Fall wird der vorherige
interne Sollwert des Reglers (möglicherweise von Wnonvol überschrieben) der wirksame Sollwert.
Wurde Wnonvol im Remote-Betrieb auf ---- gesetzt, so sind alle Ausgänge im Local-Betrieb
abgeschaltet.
g Die Anschlußbezeichnungen TXD-A, TXD-B, RXD-A und RXD-B bei RS 422 bzw. DATA-A und
DATA-B bei RS 485 werden in anderer Schnittstellen-Hardware mitunter mit anderer Bedeutung
benutzt. Kommt es trotz sorgfältiger Leitungsführung nicht zu einer Kommunikation, so ist evtl. A und
B zu vertauschen (z.B. TXD-A an RXD-B und TXD-B an RXD-A usw.).