EUCHNER HBAS User Manual

Hand-Held Pendant Station
with Display
HBAS
Manual
EUCHNER Hand-Held Pendant Station
1. Mechanical dimensions and Pin assignment .......................................................................3
1.1 Mechanical dimensions.................................................................................................................3
1.2 Pin assignment..............................................................................................................................3
2. Features...............................................................................................................................3
3. Data transfer.........................................................................................................................5
3.1 Protocol 3964 R.............................................................................................................................5
3.2 Definition of the characters ...........................................................................................................6
3.3 BCC Block Check Character.........................................................................................................7
3.4 Examples for the determination of the BCC..................................................................................7
4. Priorities on a data collision..................................................................................................9
5. Behavior on switch on / initialization...................................................................................11
5.1 Configuration (Konfiguration) menu........................................................................................... 11
5.1.1 Change PIN (PIN ändern)..................................................................................................... 12
5.1.2 Priority (Priorität) ................................................................................................................... 12
5.1.3 Version information (Versionsabfrage) ................................................................................. 12
5.1.4 Pulse generator (Impulsgeber) .............................................................................................12
5.1.5 Key click (Tasten-Klick)......................................................................................................... 14
5.1.6 Firmware Update................................................................................................................... 14
5.2 Setting the baud rate.................................................................................................................. 14
6. Signaling.............................................................................................................................15
6.1 Acoustic signaling (command byte 52H).................................................................................... 15
6.2 Optical signaling: Status LED.................................................................................................... 15
6.3 Optical signaling: Power LED.................................................................................................... 16
7. Signaling a key change......................................................................................................16
8. Pulse generator function ....................................................................................................18
9. Initialization.........................................................................................................................19
9.1 Status polling (command byte 23H)...........................................................................................19
9.2 Configuration parameter transfer (command byte 53H)............................................................ 20
9.3 Software reset (command byte 54H) ......................................................................................... 22
10. LC display.........................................................................................................................23
10.1 Character set............................................................................................................................ 24
10.2 LCD functions (identifier 6CH) ................................................................................................. 25
10.2.1 Cursor functions.................................................................................................................. 25
10.2.2 Character output ................................................................................................................. 25
10.2.3 Text attributes...................................................................................................................... 26
10.2.4 Clear commands................................................................................................................. 27
10.2.5 Text commands................................................................................................................... 27
10.2.6 Area commands.................................................................................................................. 29
10.3 Overview of commands............................................................................................................ 31
11. Installation instructions.....................................................................................................32
12. Technical Data: Pulse generator......................................................................................32
13. Technical Data: General...................................................................................................33
092491-07-01/09 Subject to technical modifications Page 2 / 34
EUCHNER Hand-Held Pendant Station

1. Mechanical dimensions and Pin assignment

1.1 Mechanical dimensions

See data-sheet and operating instruction enclosed to the product.

1.2 Pin assignment

See data-sheet and operating instruction enclosed to the product.

2. Features

Housing of Hand-Held Pendant Station
Plastic housing made of polycarbonate with mounting magnet on the rear of the device
Keypad
Membrane keypad made of polyester with window for LC display, 20 keys and 2 LEDs
092491-07-01/09 Subject to technical modifications Page 3 / 34
EUCHNER Hand-Held Pendant Station
Switching elements / display elements
On the membrane keypad there are 20 keys with labels, as well as a green POWER LED and a green STATUS LED.
The EMERGENCY STOP device is on the top of the device and has rotary unlocking according to EN 418 with 2 normally closed contacts.
An enabling switch with a normally open contact is integrated into each side. The contacts are wired separately (see Pin assignment).
Display
Gray LC display with LED background lighting
128 x 64 dots, text operating mode Window: 45.2 x 27.0 mm (W x H) Pixel size: 0.28 mm x 0.34 mm (W x H)
Small font:
Large font:
Character size: 2.2 mm x 2.62 mm Character size: 4.44 mm x 5.28 mm
16 characters per line, 8 lines 8 characters per line, 4 lines
2.62 mm
2.2 mm
5.28 mm
4.44 mm
Device connection
The hand-held pendant station is connected using a 3.5 m spiral cable and a 19-pin
round plug connector with pin contacts.
The cross-section of all cores is 0.14 mm².
The related flange socket is available as an accessory.
092491-07-01/09 Subject to technical modifications Page 4 / 34
EUCHNER Hand-Held Pendant Station

3. Data transfer

3.1 Protocol 3964 R

The protocol for the serial interface corresponds to the procedure 3964 (R).
The data transfer is initiated by sending an STX character. The receiver must answer with a DLE character within the stipulated acknowledgement delay of 500 ms. The transmitter then switches to send mode. If the receiver answers with NAK, a character <> DLE, with an incomplete character, or the acknowledgement delay elapses, then the attempt to establish the connection has failed. After three unsuccessful attempts, the transmitter interrupts the procedure and outputs an error message to the higher level program. If the connection is successfully established (receiver answers with DLE within the acknowledgment delay), then the characters in the send buffer are sent to the receiver. The receiver expects the data within a character delay of 128 ms. If this delay is not met, the receiver sends an NAK character. The transmitter then tries again to send the message. After three unsuccessful attempts, the transmitter interrupts the procedure and outputs an error message to the higher level program. After the content of the buffer has been sent, the transmitter adds DLE and ETX as an end marker. Then the BCC (Block Check Character) is sent. The receiver must confirm correct reception with DLE within the acknowledgement delay, or indicate erroneous transfer with NAK.
092491-07-01/09 Subject to technical modifications Page 5 / 34
EUCHNER Hand-Held Pendant Station

3.2 Definition of the characters

Character format: 8 bits Value range: 00H ... FFH
The value range is divided up as follows:
Value range Function Transfer direction
00H ... 1FH General control character for protocol 30H ... 44H
20H ... 53H
80H ... FFH
Control characters:
Control
character
STX ETX
DLE
NAK
BCC
Key code for the keys 1 to 20 and error bytes Control character or commands for the LC display, the pulse generator and the transfer of configuration parameters Character set for the LC display (see section Character set)
Value Function Explanation
02H Start of Text 03H End of Text
10H Data Link Escape Data transfer switch over 15H
Is calculated,
(section 3.3)
Negative Acknowledge Block Check Character
HBAS ÅÆ Control
system
HBAS Æ Control
system
Control system Æ
HBAS
Control system Æ
HBAS
Start of the character string to be sent End of the character string to be sent
Negative response Block check character for
checking correct data transfer
092491-07-01/09 Subject to technical modifications Page 6 / 34
EUCHNER Hand-Held Pendant Station

3.3 BCC Block Check Character

The BCC (Block Check Character) is defined by calculation. During this process an EXCLUSIVE-OR operator is applied to all characters after STX. The result is added at the end as the BCC character.
XOR operator
STX Data block DLE ETX BCC
Calculation: 1st character in the data block
XOR 2nd character in the data block XOR last character in the data block
XOR DLE XOR ETX
Simplification: As the 2 special characters ETX and DLE are always present, these can be combined and
calculated separately to the actual data block.
The result for the data block is the subjected to an EXCLUSIVE-OR operation with the constant 13H.
XOR nth character in the data block
= BCC
03H XOR 10H = 13H
BCC = (XOR data block) XOR 13H.

3.4 Examples for the determination of the BCC

Example 1: Byte 1 STX
Byte 2 37H (37H) Byte 3 DLE (10H) Byte 4 ETX (03H) XOR operator Byte 5 BCC
092491-07-01/09 Subject to technical modifications Page 7 / 34
The HBAS sends the key 7 (37H):
37H XOR 10H = 27H
27H XOR 03H = 24H
Simplification by combining DLE and ETX :
37H XOR 13H = 24H
EUCHNER Hand-Held Pendant Station
Example 2:
The text "Euchner" is output on the display at the current cursor
position:
Euchner
Control system HBAS
STX 6CH A5H D5H C3H C8H CEH C5H D2H DLE ETX BCC
DLE
Byte 1 STX Byte 2 6CH LCD identifier byte Byte 3 A5H Byte 4 D5H Byte 5 C3H Byte 6 C8H
Euchner
Byte 7 CEH Byte 8 C5H Byte 9 D2H Byte 10 DLE (10H) Byte 11 ETX (03H) Byte 12 BCC (formed across bytes 2 to 11)
Calculation:
6CH XOR A5H = C9H Byte 2 XOR Byte 3
C9H XOR D5H = 1CH XOR Byte 4
1CH XOR C3H = DFH XOR Byte 5
DFH XOR C8H = 17H XOR Byte 6
17H XOR CEH = D9H XOR Byte 7
D9H XOR C5H = 1CH XOR Byte 8
1CH XOR D2H = CEH XOR Byte 9
CEH XOR 10H = DEH XOR Byte 10
DEH XOR 03H = DDH XOR Byte 11
BCC = DDH
Simplification by combining DLE and ETX :
6CH XOR A5H XOR D5H XOR
C3H XOR C8H XOR CEH XOR
C5H XOR D2H = CEH
CEH XOR 13H = DDH
DLE
XOR operator
092491-07-01/09 Subject to technical modifications Page 8 / 34
EUCHNER Hand-Held Pendant Station

4. Priorities on a data collision

The term data collision is used when a user receives an STX character while the user itself is trying to send an STX character. I.e. both users are sending the STX character at the same time. To negotiate this data collision, the behavior of the HBAS on the occurrence of a collision can be set. Either the hand-held pendant station has priority, that is the HBAS sends its data first and then receives the data from the control system, or the control system has priority and the data from the control system are received first and then the data sent to the control system.
This setting is set either in the Configuration (Konfiguration) menu (see section 5) or as a parameter using parameter transfer (section 9).
Priority:
The transmitter in the control system has high priority. The transmitter in the HBAS has lower priority.
In the case of a data collision, this means that the HBAS detects an STX character when it is also sending an STX to the control system, it interrupts its transfer and first receives the data from the control system. The data transfer to the control system is then repeated.
Example of a possible collision:
HBAS sends a key change The control system sends "LCD text"
Solution: First the control system sends and then the HBAS sends
HBAS Control
system
Priority:
The transmitter in the HBAS has high priority. The transmitter in the control system has lower priority.
In the case of a data collision when the HBAS detects an STX character while it is also sending an STX character, the control system must also detect the collision and acknowledge the data transfer initiated by the HBAS with a DLE character. Only after the successful completion of the data transfer, the control system can start its data transfer.
"Control system"
STX DLE STX DLE
?? ??
STX DLE DLE STX 31H DLE ETX BCC STX 6CH 25H DLE ETX BCC DLE
DLE
"HBAS"
092491-07-01/09 Subject to technical modifications Page 9 / 34
EUCHNER Hand-Held Pendant Station Example of a possible collision:
HBAS sends a key change The control system sends "LCD text"
STX STX
?? ??
Solution: First the HBAS sends then the control system sends
HBAS Control
system
STX 31H DLE ETX BCC DLE DLE STX DLE
DLE STX 6CH 25H DLE ETX BCC
Structure chart send/receive routine for the control
Check input buffer for new character
If receive new character
then else
Send STX Wait for new character
call Receive routine
Start new transfer routine
Receive routine Status check
If new character = DLE
then else
If new character = STX
then else
Send data
Wait for new character
If new character = DLE
then else
Send NAK
Send data
call Status check
Send NAK
call Status check
Check input buffer for new character
If receive new character
then
If new character = STX
then
Send DLE Receive data block
Check BCC
If BCC = ok
Send DLE
Send NAKEvaluate key change +
error byte
else
else
exit sub
Send NAK
elsethen
Send status request (#) Wait for status information Evaluate status
092491-07-01/09 Subject to technical modifications Page 10 / 34
EUCHNER Hand-Held Pendant Station

5. Behavior on switch on / initialization

Immediately after the power supply is switched on, the HBAS is in an initial passive state. The hand-held pendant station performs a self-test; this takes approx. 7 seconds.
After the self-test, a short sound is emitted and for 5 seconds it is possible to open the Configuration (Konfiguration) menu using the <ENTER> key. The serial communication interface is activated when this period has elapsed. The EUCHNER LOGO is shown on the display and initialization by the control system is awaited.
Until the initialization (see section 9) has been performed, all key operations are ignored.

5.1 Configuration (Konfiguration) menu

On the Configuration (Konfiguration) menu all parameters, that enable the hand-held pendant station to be configured to meet specific requirements, can be changed manually. It takes approx. 5 seconds to save a parameter change. The successful application of the new parameters is confirmed by a short sound. The Configuration (Konfiguration) menu is protected with a PIN. (Default setting on delivery "1234"). The serial communication interface is shut down.
After the power supply is switched on, the text "Configure hand-held pendant station, <ENTER>“ (Handbediengerät konfigurieren, <ENTER>) appears after the self-test. The user now has 5 seconds to open the menu using the <ENTER> key. After <ENTER> is pressed, a prompt for the PIN is displayed. A PIN with a maximum of 4 digits is to be entered. The exception here is the SuperPIN (151050) with 6 digits; this PIN cannot be changed. It is possible to delete a character using the key.
The following settings are now possible:
Change PIN (PIN ändern) (section 5.1.1) Priority (Priorität) (section 5.1.2) Version information (Versionsabfrage) (section 5.1.3) Pulse generator (Impulsgeber) (section 5.1.4) Key click (Tasten-Klick) (section 5.1.5) Firmware Update (section 5.1.6)
A selection is made using the keys, the selection is confirmed using <ENTER>. The Configuration (Konfiguration) menu is left using the <ESC> key.
KONFIGURATION:
Pin ändern Priorität
092491-07-01/09 Subject to technical modifications Page 11 / 34
Loading...
+ 23 hidden pages