PMA KS 40 Interface Description Download Page 8

5

Structure of status bytes

Status byte 1 (CODE 01)

Status byte 2 (CODE 02)

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

KS 40

PA

1

PL

0

FB

A1

KL HZ

KS 40

PA

1

0

HC PG

0

0

LR

KS 50

PA

1

PL

A2

FB

A1

KL HZ

KS 50

PA

1

0

HC PG

0

0

LR

KS 90

PA

1

PL

A2

FB

A1

KL HZ

KS 90

PA

1

F2

Y2

PG WE AH LR

Description

0

1

Description

0

1

HZ

Heating

on

off

LR

Control mode

local

remote

KL

Cooling

on

off

AH

Operation mode automatic

manual

A1

LC1-Alarm

off

on

WE

Set-point  eff.

extern

intern

FB

Sensor condition

correct

break/short circ.

PG

Progr./ramp

inactive

active

A2

LC2-Alarm

off

on

HC

Heat.curr. alarm

off

on

PL

Sensor polarity

correct

wrong

Y2

Output var. Y2

inactive

active

Bit6

fix value

always logic 1

F2

Sensor 2 cond.

correct

break/short circ.

PA

Parity

EVEN

Bit6

fixed value

always logic 1

PA

Parity

EVEN

Permissible characters hex

dez

Permissible characters hex

dez

KS 40

1000000...1101111 40...6F 64...111 @...o

KS 40

1000000...1011001 40...59 64...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 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.

Structure of status bytes

English

Interface description 9499 040 47701

6

960612

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: