PMA KS 40 Interface Description Download Page 5

3

Message structure

Generally, single data are transmitted, exceptions are shown in the
CODE-table (

Ä

 chapter 4). Values in a reply are transmitted without

leading zeros, but minus sign/decimal point depending on the date.
Values in a transmission are valid within their limits with or without
decimal point. They will be cut and rounded to the required data
structure. Some parameters can be switched off by means of four minus
signs.

ADR

Address (2 bytes)

CODE

Code for data

VAL

Value of data

DATA

Comprises CODE = VAL

BCC

Block Check Count 

Ü

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.

3.1

General structure

q

Computer requests:

EOT ADR ADR CODE CODE ENQ

With blocks B2, CODE and FCT must be requested:

CODE CODE , FCT FCT

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

Blocks B2 reply:

CODE is B2. FCT is first part of 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

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

General reply:

ACK

or

NAK

in case of error

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.

3.3

Reaction times

The computer enquires for data (read access)

The computer sends data (write access)

w

The reply starts (STX) max. 150 ms after the

end of enquiry (ENQ).

w

The reply (ACK) starts max. 150 ms after the
end of transmission (BCC).

English

Message structure

960612

3

Interface description 9499 040 47701

Summary of Contents for KS 40

Page 1: ...rial controllers Industrieregler R gulateurs industriels KS 40 KS 50 KS90 Interface description Schnittstellenbeschreibung Description de l interface 9499 040 47701 valid from g ltig ab valable depuis...

Page 2: ...examples 6 6 Kommunikationsbeispiele 14 6 7 REMOTE LOCALoperation 7 7 REMOTE LOCAL Betrieb 15 7 8 Whatto do if 7 8 Was tun Wenn 15 8 All rights reserved No part of this documentation may be reproduced...

Page 3: ...of the front keys is not possible The available protocol is based on ISO 1745 In the controller the internal digital interface is galvanically isolated from supply voltage and input and signal circui...

Page 4: ...Baud rate must be adjusted on all instruments which are connected to the interface module 2 3 Adress setting The controller can be operated at the same bus with other instruments and systems Decisive...

Page 5: ...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...

Page 6: ...tive 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 20...

Page 7: ...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...

Page 8: ...4 89 Y KS 50 1000000 1111111 40 7F 64 127 KS 50 1000000 1011001 40 59 64 89 Y KS 90 1000000 1111111 40 7F 64 127 KS 90 1000000 1111111 40 7F 64 127 6 Communication examples The structure of communicat...

Page 9: ...oller The effective setpoint is Wvol A transmitted Wnonvol is without effect on the control however the previous internal setpoint of the controller is overwritten If Wvol is all outputs are switched...

Page 10: ...Notes Interface description 9499 040 47701 8 960612...

Page 11: ...der Reglerdaten ber die Tasten der Ger tefront nicht m glich Das verf gbare Protokoll basiert auf ISO 1745 Im Regler ist die Ger te Schnittstelle von der Hilfsenergie und den Me und Signalstromkreise...

Page 12: ...e 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 we...

Page 13: ...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...

Page 14: ...iv 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 nichtaktiv f R W 4 0 1 15 Wext aktiv nicht aktiv f R W 4 0 1 19 Ydiff f...

Page 15: ...3 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...

Page 16: ...9 Y KS50 1000000 1111111 40 7F 64 127 KS50 1000000 1011001 40 59 64 89 Y KS90 1000000 1111111 40 7F 64 127 KS90 1000000 1111111 40 7F 64 127 6 Kommunikationsbeispiele Der Aufbau der Kommunikations Str...

Page 17: ...ksame Sollwert ist Wvol Ein bertragener Wnonvol ist ohne Einflu auf die Regelung berschreibt aber den vorherigen internen Sollwert Ist Wvol so sind alle Ausg nge im Remote Betrieb abgeschaltet ist Wno...

Page 18: ...Notizen Schnittstellenbeschreibung 9499 040 47701 16 960612...

Page 19: ...Notizen 960612 17 Schnittstellenbeschreibung 9499 040 47701...

Page 20: ...ons without notice PMA Proze und Maschinen Automation GmbH Bei nderungen erfolgt keine Mitteilung P O B 310 320 D 34113 Kassel Germany Modifications sans avertissement r serv es Printed in Germany 949...

Reviews: