ERMA SSI 9001 Setup guide

ERMA
Electronic GmbH
ERMA
Electronic GmbH
SSI 9001 and SSI 9002
Instruction set of serial interface
Description

Trademarks
All trademarks they are named ore portrayed in the text are registered trademarks of its
owner. The trademarks are recognized by ERMA-Electronic.
Warranty
For delivered products our "Allgemeine Lieferungs- und Zahlungsbedingungen" are effective.
In no event ERMA-Electronic or its suppliers shall be liable for any other damages whatsoever
(including, without limitation, damages for loss of business profits, business interruption or
other pecuniary loss) arising out of or inability to use this product.
All products from ERMA-Electronic are warranted against defective material and workmanship
for a period of two (2) years from date of delivery. If it is necessary to return the product to ERMA,
the sender is responsible for shipping charges, freight, insurance and proper packaging to pre-
vent breakage in transit. ERMA's warranty does not apply to defects resulting from action of the
buyer, such mishandling, improper interfacing, operation outside of design limits, improper repair
or unauthorized modification.

CONTENTS
1. General .............................5
2. Communications protocol ...................5
3. General commands .......................7
3.1. Read the ENCODER-, MIN- and MAX-Value .......7
3.2. Main reset .........................7
3.3. Type designation ......................7
3.4. Software version ......................8
3.5. Number of production ...................8
3.6. Date of production .....................8
4. Commands of configuration level (P-00) ...........9
4.1. Resolution (bits) of the encoder ..............9
4.2. Output code of the encoder ................9
4.3. Master/Slave Mode ....................10
4.4. Clock for Master-Mode ...................10
4.5. Zero defination .......................11
4.6. Rotation direction .....................11
4.7. Scaling factor .......................12
4.8. Offset value ........................12
4.9. Decimal points .......................13
4.10. Data source of the display .................13
4.11. Reset time of the MIN/MAX-memory ...........14
4.12. Function of digital user input 1 ...............14
4.13. Function of digital user input 2 ...............15
4.14. Function of push button ‘*’ .................15
4.15. Function of push button ‘-’ .................16
4.16. Function of push button ‘+’ .................16
4.17. Access-code ........................17
5. Commands of alarm output level (P-02) ...........18
5.1. Commands of alarm output 1 ...............18
5.1.1. Data source for alarm output 1 ..........18
ERMA-Electronic GmbH 2

5.1.2. Switching logic of alarm output 1 .........18
5.1.3. Alarm point of alarm output 1 ...........19
5.1.4. Hysteresis of alram output 1 ............19
5.1.5. Release delay time of alarm output 1 .......20
5.1.6. Operate delay time of alarm output 1 .......20
5.2. Commands of alarm output 2 ...............21
5.2.1. Data source for alarm output 2 ..........21
5.2.2. Switching logic of alarm output 2 .........21
5.2.3. Alarm point of alarm output 2 ...........22
5.2.4. Hysteresis of alarm output 2 ............22
5.2.5. Release delay time of alarm output 2 .......23
5.2.6. Operate delay time of alarm output 2 .......23
5.3. Commands of alarm output 3 (Only SSI 9002) ......24
5.3.1. Data source for alarm output 3 (Only SSI 9002) . 24
5.3.2. Switching logic of alarm output 3 (Only SSI 9002) 24
5.3.3. Alarm point of alarm output 3 (Only SSI 9002) . . 25
5.3.4. Hysteresis of alarm output 3 (Only SSI 9002) . . . 25
5.3.5. Release delay time of alarm output 3 (SSI 9002) . 26
5.3.6. Operate delay time of alarm output 3 (SSI 9002) . 26
5.4. Commands of alarm output 4 (Only SSI 9002) ......27
5.4.1. Data source for alarm output 4 (Only SSI 9002) . 27
5.4.2. Switching logic of alarm output 4 (Only SSI 9002) 27
5.4.3. Alarm point of alarm output 4 (Only SSI 9002) . . 28
5.4.4. Hysteresis of alarm output 4 (Only SSI 9002) . . . 28
5.4.5. Release delay time of alarm output 4 (SSI 9002) . 29
5.4.6. Operate delay time of alarm output 4 (SSI 9002) . 29
6. Commands of analog output level (P-03) (Only SSI 9001) . . 30
6.1. Data source for analog output (Only SSI 9001) ......30
6.2. Configuration of analog output (Only SSI 9001) ......30
6.3. Display value for min. analog output signal (SSI 9001) . . 31
6.4. Display value for max. analog output signal (SSI9001) . . 31
7. Commands of interface level (P-04) ..............32
7.1. Interface address .....................32
3 ERMA-Electronic GmbH

7.2. Interface baud rate .....................32
7.3. Transmission-Mode of serial interface ...........33
7.4. Timer of timer controlled Terminal-Mode .........33
7.5. Data source for serial interface ..............34
8. Error message NAK ......................35
8.1. Error word register .....................35
9. Command overview ......................36
Stand : 04.04.2002
SI900XSA.PUB
Technical subjects to change
ERMA-Electronic GmbH 4

1. General
The digital instrument SSI 9001/2 can be equipped with abidirectional RS
485 interface. The connection of the interfaces is specify in the manual of the
instrument SSI 9001/2.
2. Communications protocol
The organization of the communications protocol is conformed to DIN ISO 1745.
Theinformationmessageconsistofthetransmissioncontrolcharacter,thecommand
an the optional datas.
The instrument SSI 9001/2 gives a answer to each command. A host wait for the
answer and devaluate them.
Transmission parameters
baud rate: : 300, 1200, 2400, 4800, 9600, 19200
parity : no
data bits : 8
stop bits : 1
Transmission format:
SOH DDSTX C C C X..X ETX BCC
Significance of the sign:
SOH (ASCII 01) : start of heading
D : adress (decimal) of the instrument
STX (ASCII 02) : start of text
C : command signal sequence
: optional datas
ETX (ASCII 03) : end of text
BCC : control byte
ACK (ASCII 06) : positive acknowledge from the receiver
NAK (ASCII 21) : negative acknowledge from the receiver
Generation of the control byte:
Carry out a exclusive-OR operation (XOR) for all bytes between STX (exclusive)
and ETX (inclusive). The byte can be used direct as the control byte, if the value is
higher as 32. If the value of the control byte is lower as 32, it must be added 32 to
them.
1. General
5 ERMA-Electronic GmbH

Possible message formats
Return of datas:
STX X..X ETX BCC
Positive acknowledge:
ACK
Negative acknowledge (Errors):
NAK
Reasons of a negative acknowledge (Errors):
• command is unknown
• datas are wrong (to short or to long)
• datas contains wrong signs
• datas lies out of the value range
• wrong control byte
2. Communications protocol
ERMA-Electronic GmbH 6

3. General commands
3.1. Read the ENCODER-, MIN- and MAX-Value
Read the ENCODER-Value
SOH DDSTX MSWETX BCC
Read the MIN-Value
SOH DDSTX MINETX BCC
Read the MAX-Value
SOH DDSTX MAXETX BCC
Answer of SSI 9001/2 to the commands
STX VorXXXXXXETX BCC
V sign positive: ‘ ‘ (ASCII 20h)
negative: ‘-’ (ASCII 2Dh)
X ENCODER-, MIN- or MAX-Value
valid values -99999 to 999999
3.2. Main reset
Carry out the main reset
SOH DDSTX GRSETX BCC
Answer of SSI 9001/2
ACK
3.3. Type designation
Read the type designation
SOH DDSTX GERETX BCC
Answer of SSI 9001/2
STX SSI9001XETX BCC
SSI 9001/2 type designation
X X = 0 => no option analog output
X = 1 => with option analog output
3. General commands
7 ERMA-Electronic GmbH

3.4. Software version
Read the software version
SOH DDSTX VERETX BCC
Answer of SSI 9001/2
STX XXXETX BCC
X 000 to 099 => software version of the instrument
3.5. Number of production
Read the number of production
SOH DDSTX SRNETX BCC
Answer of SSI 9001/2
STX XXXXXXETX BCC
X setting number of production
3.6. Date of production
Read the date of production
SOH DDSTX DATETX BCC
Answer of SSI 9001/2
STX 0XXXXXETX BCC
X setting date of production
3. General commands
ERMA-Electronic GmbH 8

4. Commands of configuration level (P-00)
4.1. Resolution (bits) of the encoder
Read the setting of resolution (bits)
SOH DDSTX BITETX BCC
Answer of SSI 9001/2
STX XXXETX BCC
Set the resolution of the connected encoder
SOH DDSTX BITXXXETX BCC
X setting the resolution of the connected encoder
valid values 010 to 025
Answer of SSI 9001/2
ACK
Example: Encoder with a resolution of 13 Bit
SOH DDSTX BIT013ETX BCC
4.2. Output code of the encoder
Read the setting code of the connected encoder
SOH DDSTX GBCETX BCC
Answer of SSI 9001/2
STX XXXETX BCC
Set the code of the connected encoder
SOH DDSTX GBCXXXETX BCC
X setting code of the connected encoder
valid values 000 or 001
Answer of SSI 9001/2
ACK
Example: Output code Gray
SOH DDSTX GBC000ETX BCC
4. Commands of configuration level (P-00)
9 ERMA-Electronic GmbH
This manual suits for next models
1
Table of contents

















