Kübler 57 Series Manual Download Page 9

R67051.0009 

– Index 1  

 

 

 

 

 

 

 

 

 
 

Im  Beispiel  benutzen  wir  ein  575-Gerät  mit 
der 

Geräteadresse  „11“

.  Dem  Parameter 

„Scaling  Factor  12“  ist  laut  Geräte-
beschreibung  die  serielle 

Codestelle 

„A5“

 

zugeordnet.  Wir  wollen  den  Faktor  auf  den 

Wert „0.9873“

 setzen. 

 

The example uses a 575 cdisplay with serial 
unit  address  “11”.  According  to  the 
manual,  register  “Scaling  Factor  12”  uses 
the  serial 

access  code  “A5”.  The  example 

shows  how  to  set  the  register  to  a  value  of 
“0.9873”

 

 

7.1

 

Zuerst senden wir den Daten-String

 

 

bestehend aus insgesamt 13 ASCII-Zeichen: 

7.1  First, we transmit the data string 
 

consisting of totally 13 ASCII characters:

 

 

No.

 

Expression 

ASCII  Hex 

Binary code 

Hi--------    --------Lo 

Comment 

01 

EOT 

EOT 

0 4 

0 0 0 0   0 1 0 0 

Control character Initialisation 

02 

AD1 

3 1 

0 0 1 1   0 0 0 1 

Address, high byte 

03 

AD2 

3 1 

0 0 1 1   0 0 0 1 

Address, low byte 

04 

STX 

STX 

0 2 

0 0 0 0   0 0 1 0 

Control character 

05 

C1 

4 1 

0 1 0 0   0 0 0 1 

Register code high byte 

06 

C2 

3 5 

0 0 1 1   0 1 0 1 

Register code low byte 

07 

X (Data) 

3 0 

0 0 1 1   0 0 0 0 

Factor, highest digit 

08 

X (Data) 

3 9 

0 0 1 1   1 0 0 1 

 

09 

X (Data) 

3 8 

0 0 1 1   1 0 0 0 

 

10 

X (Data) 

3 7 

0 0 1 1   0 1 1 1 

 

11 

X (Data) 

3 3 

0 0 1 1   0 0 1 1 

Factor, lowest digit 

12 

ETX 

ETX 

0 3 

0 0 0 0   0 0 1 1 

Control character 

13 

BCC 

4 2 

0 1 0 0   0 0 1 0 

Block check character 

 
 

Die Zeichen mit grauem Hintergrund werden 
mittels 

Exclusiv-Oder

  zur  Bildung  des 

Block-Check-Characters benutzt. Betrachten 
Sie bitte hierzu im Feld 

„Binary Code“ die 8 

Spalten

  (nur  den  grau  unterlegten  Bereich). 

In  der  höchstwertigen  Spalte  ganz  links 
finden  wir  ausschliesslich  Nullen.  Das 
Exclusiv-Oder und damit das entsprechende 
Bit des BCC ist daher ebenfalls 0. 

 

Characters  with  gray  background  are  used 
to  form  the  block  check  character  by  an 
exclusive-  OR  function.  Consider  each  of 
the  8  columns  in  the  binary  code  field 
(only  gray  rows).In  the  high  bit  column  we 
find all zeros, therefore the exclusive OR is 0 
and the high bit of the block check character 
must be zero at this position.

 

 
 

In  der  kleinstwertigen  Spalte  ganz  rechts 
finden  wir  die  Bitfolge  1-1-0-1-0-1-1-1  (von 
oben  nach  unten).  Das  Exclusiv-Oder  und 
damit  das  entsprechende  Bit  des  BCC  ist 
daher  0.  In  der  Spalte  links  neben  dem 
kleinsten  Bit  ergibt  die  EX-OR-Funktion 
ebenfalls den Wert 1 

 

In the low bit column we find 1-1-0-1-0-1-1-1 
(from  up  to  down)  and  the  exclusive  OR  is 
also  „0“.  Therefore  the  low  bit  of  the  block 
check  character  m

ust  be  „0“  again  at  this 

position.  In  the  column  left  of  the  lowest  bit, 
the X-

OR function results in a „1“ etc.

 

 
 

Allgemein  gilt:  Bei  einer 

geradzahligen

 

Anzahl  von  „1“  in  einer  Spalte  ist  das  BCC-
Bit  an  dieser  Stelle 

„0“.

  Bei  einer 

ungeradzahligen

 

Anzahl  von  „1“  in  einer 

Spalte ist das BCC-Bit an dieser Stelle 

„1“

 

 

In general  we  can  say:  when  in  one column 
we  find  an  even 

number  of  „1“,  the  block 

check bit must be 

„0“ at this position. When 

we  find  an  odd 

number  of  „1“,  the  block 

check bit must be 

„1“ at this position

 

 
 

Wenn  wir  nun  die  resultierenden  Bits  des 
BCC  in  einer  Reihe  lesen,  ergibt  sich  damit 
die Binärzahl 

0-1-0-0-0-0-1-0 

 

 

as  dem  Hexadezimal-

Code  „42“  oder  dem 

ASCII-

Zeichen „B“ entspricht. 

 

So  we  find with our example, that the 8 Bits 
of the block check character, read as a row
are 

0-1-0-0-0-0-1-0 

 

 

which  eq

uals  to  the  Hexadecimal  code  “42” 

or to the ASCII character of „B“.

 

 

Summary of Contents for 57 Series

Page 1: ...lles Kommunikations Protokoll für Kübler 57x Geräte und SK 1D 1A2RS SK 1A 1S1D2RS SK 1S 1A2RS Serial Communication Protocol for Kübler 57x Units and SK 1D 1A2RS SK 1A 1S1D2RS SK 1S 1A2RS R67051 0009 Index 1 ...

Page 2: ... 1D 1A2RS SK 1A 1S1D2RS SK 1S 1A2RS Language version German DE English EN German is the original version Document version 06 11 2018 R67051 0009 Index 1 Copyright 2018 Kübler Group Fritz Kübler GmbH Legal notice All contents included in this manual are protected by the terms of use and copyrights of Fritz Kuebler GmbH Any reproduction modification usage or publication in other electronic and print...

Page 3: ...s 5 6 Übertragung von Steuerbefehlen 7 6 Transmission of Control Commands 7 7 Praktisches Beispiel zur seriellen Kommunikation mit Kübler Geräten 7 7 Practical example for communication with Kübler motion controllers 7 7 1 Daten String 8 7 1 Data string 8 7 2 Bestätigung abwarten 9 7 2 Wait for acknowledgement 9 7 3 Weitere Parameter senden 9 7 3 Transmit more parameters 9 7 4 Daten aktivieren 9 7...

Page 4: ... to 29 etc Wenn die serielle Adresse eines Gerätes unbekannt ist kann diese mit der SCAN Funktion der zugehörigen Kübler Bediener software ermittelt werden Werksseitig sind alle Kübler Geräte auf die Adresse 11 eingestellt Where the serial address of a unit should be unknown the SCAN function of the correspondink Kübler operator software will help you to find out Ex factory all Kübler units are se...

Page 5: ... Adressierung Example 1 Standard addressing Auslesen der Integralgeschwindigkeit Int Time Code 03 bei einem BY 150 Gleichlaufregler mit der Geräteadresse 31 Read the integration speed register Int Time register code 03 from a BY 150 synchro controller with device address 31 EOT ENQ 3 1 0 3 hex 04 33 31 30 33 05 Beispiel 2 Erweiterte Adressierung Example 2 Extended addressing Auslesen der aktuellen...

Page 6: ... register and may also be leaded by a minus sign with negative values Leading zeros are always supressed and will not appear in the telegram The block check character BCC is generated by an Exclusive OR over all characters between C1 resp and ETX both included Wenn in der Anforderung ein ungültiger bzw unbekannter Datencode C1 C4 oder S1 S2 gesendet wurde antwortet das Gerät nur If the request str...

Page 7: ... not affect the current operation until the command Activate Data has been transmitted This procedure enables the user to prepare a complete new set of parameters in the background of the unit with no effect to the production in progress and to activate all at the same time by one single command Hinweise zur Speicher Organisation Beim Auslesen von Parametern sendet das Gerät immer nur die aktuelle...

Page 8: ...ng als auch der zugehörige serielle Befehl gleichzeitig auf 0 gesetzt sein damit der entsprechende Befehl deaktiviert ist Important remark There is a logical OR condition between all hardware control inputs and their corresponding serial command flags For this reason it is essential to have the hardware input and the serial command set to OFF at the same time in order to switch a command OFF Wenn ...

Page 9: ... links finden wir ausschliesslich Nullen Das Exclusiv Oder und damit das entsprechende Bit des BCC ist daher ebenfalls 0 Characters with gray background are used to form the block check character by an exclusive OR function Consider each of the 8 columns in the binary code field only gray rows In the high bit column we find all zeros therefore the exclusive OR is 0 and the high bit of the block ch...

Page 10: ...auf die Codestelle 67 C1 6 und C2 7 den Wert 1 schreiben müssen After successful transmission of all parameters we must activate the new settings to make them effective to the operation of the machine With 575 units we need to write a 1 into the register with code 67 C1 6 and C2 7 No Expression ASCII Hex Binary code Hi Lo Comment 01 EOT EOT 0 4 0 0 0 0 0 1 0 0 Control character Initialisation 02 A...

Page 11: ...eicherung nicht mehr gewährleistet Hint The life time of EEProm memory chips is limited to a total number of about 100 000 storage cycles After this stored data may get lost 8 Historie 8 History of Modifications Version Name Date Modifications Serpro01a hk Original Version Serpro02a hk 07 04 2004 Extended register code addressing ...

Page 12: ...Kübler Group Fritz Kübler GmbH Schubertstr 47 78054 Villingen Schwenningen Germany Tel 49 7720 3903 0 Fax 49 7720 21564 info kuebler com www kuebler com ...

Reviews: