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
XORDLEXORETX
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.
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 = C9HByte 2 XOR Byte 3
C9H XOR D5H = 1CHXOR Byte 4
1CH XOR C3H = DFHXOR Byte 5
DFH XOR C8H = 17HXOR Byte 6
17H XOR CEH = D9H XOR Byte 7
D9H XOR C5H = 1CHXOR Byte 8
1CH XOR D2H = CEHXOR 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
CEHXOR 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
thenelse
Send STX
Wait for new character
call Receive routine
Start new
transfer routine
Receive routine Status check
If new character = DLE
thenelse
If new character = STX
thenelse
Send data
Wait for new character
If new character = DLE
thenelse
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.