advertisement
AP05
Absolute Position Indicator with RS485 /
SIKONETZ5 interface
User manual
269/17
Table of contents
1 General Information .................................................................................................. 6
2 Intended use ............................................................................................................. 6
3 Display and control keys ............................................................................................ 7
4 Functional Description ............................................................................................... 9
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 2 of 56
5 Overview of parameters ............................................................................................ 22
6 Communication via SIKONETZ 5 ................................................................................ 23
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 3 of 56
6.9.25 30h: Display in the 2 nd
row ................................................................................... 39
7 Communication via Service Standard Protocol ............................................................ 54
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 4 of 56
8 Text displays and their meaning ............................................................................... 55
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 5 of 56
General Information
1
1.1
1.2
2
General Information
Documentation
The following documents describe this product:
The data sheet describes the technical data, the dimensions, the pin assignments, the accessories and the order key.
The installation instructions describe the mechanical and electrical installation including all safety-relevant requirements and the associated technical specification.
The user manual for commissioning and integrating the position indicator into a fieldbus system.
These documents can also be downloaded at
http://www.siko-global.com/p/ap05
.
Additional information and guidance regarding this device can also be found there.
Definitions
If not explicitly stated otherwise, decimal values are given as figures without an extension (e. g. 1234), binary values are marked after the figure with a b (e. g. 1011b), hexadecimal values with an h (e. g. 280h).
Intended use
Absolute position indicator with hollow shaft suitable for direct shaft mounting. Actual and target values are indicated via the backlit two-row LC display. A direction indicator (arrow) is blended in if the actual value deviates from the target value including the adjustable target window. The direction of the arrow indicates the direction of shaft movement necessary to reach the target. Additionally, various visualization tasks can be realized by means of two bicolor LEDs (green and red).
The device parameters can be adjusted by means of 3 keys. You can change the set point, output the position value and adjust all device parameters via the integrated bus interface.
Scanning is magnetically-incremental. In the currentless state, scanning and saving of changes of the position value are battery-supported.
The state of charge of the replaceable battery is monitored and signified.
Display and interface are active with external power supply only.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 6 of 56
2.1
Display and control keys
Switching on the supply voltage
The AP05 will be initialized after switching on the supply voltage. A display test is executed during initialization, the LEDs are lighted consecutively and the parameters are loaded from the non-volatile memory into the RAM of the controller.
With the display still unconfigured all parameters are set to their default values. See to it that
the bus will be connected only after correct adjustment of baud rate and ID (see chapter 4.3
). The AP05 functions with the data last parameterized.
AP05 is in the normal operating state. In this state, the display unit can be configured via keyboard/display or SIKONETZ5 interface as per the requirements of the application.
3 Display and control keys
3.1 General
The position indicator has a two-line display with special characters and three control keys.
The keys serve for position indicator parameterization and control. Two device status LEDs
(LED1) serve monitoring of positioning. One bus LED (LED2) indicates the status of bus communication.
LED1
LED2
Fig. 1: Control elements
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 7 of 56
3.2
Display and control keys
LCD display
The The display range is limited to -19999 … 99999. Values outside this range are displayed with "
".
With supply voltage applied to the position indicator with factory settings, the actual value will be displayed in the 1st row and the set point in the 2nd row. If there is no valid set point, "---" will be displayed in the 2nd row. The values displayed are determined by the operating mode.
Direction indicators (arrows) support positioning.
The battery symbol is shown with a critical or insufficient battery status. If battery voltage drops to a critical value, the battery symbol on the display will flash. If it falls below the minimum value, the symbol will glow permanently.
With incremental measurement function activated, the incremental measurement symbol
is shown.
Errors are signified by red characters.
3.2.1 Extended display range
Values up to -999999 can be displayed by means of the control word. If the relevant bit has been set and the value to be displayed is between -199999 and -999999, then the negative sign and the digit of the highest order will flash alternately. If the value range drops below -
99999, "
" will be displayed.
3.3 LED display
Device status LED (LED1):
In its basic state (factory setting) the LED display has different meanings depending on the
operating mode (see chapter 4.1
With the basic function of the LEDs inactivated, every LED can be controlled independently via
the control word (see chapters 6.9.8
: LEDs as well as chapter 6.3.4
Bus-LED (LED2)
After receiving a valid message, which addressed the device, the LED will shine yellow for the duration of 1 s.
3.4
AP05
Keys
Pressing the key enables or disables the incremental measurement function. With the
Auto-ID function, the new ID is adopted by actuating this key (see chapter 6.8
Pressing the key starts calibration (see chapter 4.4
) and acknowledges a pending error
). In the "Alphanumeric display" operating mode, the receipt of a set point is
acknowledged by this action.
Pressing the key starts the parameterization mode (see chapter 4.3
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 8 of 56
4
Functional Description
Functional Description
4.1 Operating modes
The following position-dependent operating modes are differentiated: Absolute position,
Differential value, Modulo and the position-independent operating mode Alpha-numeric
display.
Operating mode
Line 1
Line 2
Absolute position Differential value Modulo Alpha-numeric
Display
Actual position Actual position Actual position Set point1
Set point2 Differential value Set point2 Set point2
Table 1: Display with different operating modes
Absolute position:
Linear absolute position values are displayed.
Differential value display:
With factory setting: Differential value = actual position - set point2
Decimal places
0
1
2
3
4
Modulo display:
Position values ranging from 0° to 360° are displayed.
Using the parameter decimal places (see chapter 6.9.11
) the resolution and the modulo point
of the displayed values are set.
Display resolution
1°
1/10°
1/100°
1/1000°
1/10000°
Value range
0°…360°
0.0°…360.0°
0.00°…360.00°
0.000°…360.000°
0.0000°…360.0000°
Table 2: Modulo display
Alphanumerische Anzeige:
Both rows can be written freely. Set point1 is received via the SIKONETZ5 parameter FBh "set point1", set point2 via parameter FFh "set point2". The data identifier must be correctly set in the relevant control word. The data identifier differentiates whether the data is interpreted
and displayed as figures or alpha-numeric characters (ASCII) (see chapter 6.3.4
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 9 of 56
4.1.1
Functional Description
Position-bound operating modes
The measured absolute position value is displayed, calculated depending on the APU ,
and Display factor parameters. Via the interface, the position value can be
provided to an upstream control and a set point can be specified.
4.1.1.1 Positioning
Arrows: (see parameter
0Ch: Direction indicators (CW, CCW) )
Arrows are displayed to support the user with positioning as long as the current actual
position value is outside (see parameter 20h: Target window1 (near field) ) target window1.
The direction of the arrow indicates the direction of shaft rotation in order to arrive at the set point2.
LED display: (see e. g. parameter
With factory setting, the LED glows green as long as the actual position is within the programmed window1. When leaving target window1, the LED glows red. The shaft must be rotated in the direction of the glowing LED in order to arrive at the set point2. The red glowing LED on the right means: clockwise (cw) rotation required. Red glowing LED on the left: counter-clockwise (ccw) rotation required.
An additional target window (target window2) and an associated visualization can also be
configured (see parameter 31h: Target window2 (extended) ).
With factory settings, the LED display has the following meaning:
Operating state
There is no valid set point2.
There is no valid set point2.
LED
both
LED left
LED right
State
off off red green off red green
Meaning
Positioning disabled.
Target window not reached!
The shaft must be rotated clockwise (cw) in order to reach the target.
Target window not reached!
The shaft must be rotated counter-clockwise
(ccw) in order to reach the target.
Target window reached.
Target window not reached!
The shaft must be rotated counter-clockwise
(ccw) in order to reach the target.
Target window not reached!
The shaft must be rotated clockwise (cw) in order to reach the target.
Target window reached.
Table 3: LED display
Control word (see chapter
The set point is not displayed and positioning not monitored unless the set point2 is marked as valid in the control word.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 10 of 56
Functional Description
Status word (see chapter
Upon reaching target window1, the static and dynamic target-window-reached bits are set in the status word. The dynamic bit is deleted when leaving target window1. The user must acknowledge the static bit.
Example Position monitoring:
Parameterization:
Additionally:
Factory setting
Set point2 = 100
Positioning monitoring
LED left
LED right
95 105
-
100
+
Target window1
Fig. 2: Positioning monitoring
Example of position monitoring with additionally activated target window2 parameter:
Parameterization: Factory setting
Additionally: Target window2 = 15
Visualization target window2 = 1
Set point = 100
Positioning monitoring
LED left
LED right
Target window2
95 105
-
85
100
Target window1
Fig. 3: Positioning monitoring with target window2
115
+
4.1.1.2 Loop positioning
Target window1 is also applied to the loop length.
If the position indicator is operated on a spindle or an additional gear, the spindle or external gear backlash can be compensated by means of loop positioning. Therefore, movement towards the set point is always in the same direction. This direction of approach can be defined.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 11 of 56
Functional Description
Example:
The direction from which every target position shall be driven to is positive.
Case 1
the new position is greater than actual position:
Direct travel to the target position.
Case 2
the new position is smaller than actual position:
The position indicator's arrows show that the set point is to be overrun by the loop length.
Afterwards, the set point is approached in positive direction.
Loop length Positioning: loop +
Positioning in positive direction
Positioning in negative direction
-
Fig. 4: Positioning Loop+
Target window1
Set point
+
4.1.2 Alpha-numeric display operating mode
Two 5-digit set points can be displayed in this operating mode. With factory settings, the set
points are acknowledged by pressing the key (see chapter 3.4
LCD display:
In the absence of a valid set point, the 1st row is displayed empty (blank). " --- " appears in the 2 nd
row.
A valid set point is displayed flashing until its receipt is acknowledged. If neither set point has been acknowledged, both values are acknowledged jointly by pressing the key.
LED display:
With factory settings, the LED display works according to the following table.
Operating state
There is no valid set point.
There is a valid set point.
LED1
both
State
off
LED left red green
LED right red green
Meaning
Set point1 not acknowledged
Set point1 acknowledged
Set point2 not acknowledged
Set point2 acknowledged
Table 4: LED display in the alpha-numeric display operating mode
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 12 of 56
4.2
Functional Description
Control word:
In the control word, the relevant type (number or character string) and the validity of the set point is transmitted to the display. As an additional option, the set point can be acknowledged via the control word.
Status word:
Type, validity and acknowledgement status of the set points are fed back in the status word.
Battery buffering
The battery makes possible the detection of currentless displacement. Battery life is approx. 8 years depending on the duration of battery operation (including storage) and frequency of currentless adjustments. Battery voltage is checked at intervals of approx. 5 min. If battery voltage drops below a specified value, the battery symbol will blink on the display. If the battery voltage continues to drop, will be displayed permanently. The battery should be replaced within approx. three months after the first appearance of the battery symbol. The battery can be replaced by the SIKO distribution partners or at the SIKO main factory. For battery replacement it is mandatory to follow the instructions of the installation instructions.
Status word:
The charge status of the battery is signified in the status word. Bit 11 is set when the charging voltage is critical and an error is signified with the additional bit 7 set when the battery is empty.
4.3 Parameterization of the position indicator
The position indicator can be fully parameterized via the bus interface. All parameters can also be set manually by means of the keyboard.
4.3.1 Manual parameterization
4.3.1.1 Starting parameterization
By actuating the key, the set node address and baud rate is displayed. Parameterization
and 3Dh: Key function enable3: Parametrization enable via keyboard ).
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 13 of 56
Functional Description
4.3.1.2 Value input
Enter values via the key and the key. Confirm values entered by pressing the key.
- decimal place selection key
- value input key
4.3.1.3 Value selection
For some parameters you can select values from a list.
Direct value input is not possible there.
Pressing the key, the value can be selected from the list. By pressing the key, the selection is confirmed.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 14 of 56
Functional Description
4.3.1.4 Overview of the operating menu
Start
Hold down the key no
Key enable time expired?
yes
Changeable parameter
chPAr
On the display:
Node address
Baud rate
1d 31
57
.6
Adjustable delay
PIN entry required
PIN correct?
yes
no
Read-only device data
ro
Diagnosis
DIAGn
AP05
Quit
q1t
End
Fig. 5: Operating menu
All device parameters can be viewed and changed in the "Changeable parameters" ("chPAr")
All fixed device data are displayed in the "Readable parameters" (Read Only = "ro") submenu
The "Diagnosis" ("dIAG") submenu provides various diagnostic options (see chapter 4.5.2
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 15 of 56
Functional Description
4.3.1.5 "Changeable parameters" menu
When choosing the "Changeable parameters" submenu, a PIN must be entered first. The factory-set PIN is "00000".
After confirming the correct PIN, you can choose among the following parameter menus.
Description
Display
PI
11
d
PI
Table 5: "Changeable parameters" menu structure
4.3.1.6 Interface parameters
The following parameters can be set in the "Interface parameters" menu:
Description
Table 6: "Interface parameters" menu
Display
1D
d
Prtc
to
1nht
4.3.1.7 Positioning
The following parameters can be set in the "Positioning" menu:
Description
Calibrate
Table 7: "Positioning" menu
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17
Display
AP
DP
ADI rott
1
1 no
t tr1
PP
P
Page 16 of 56
Functional Description
4.3.1.8 Visualization
The following parameters can be set in the "Visualization" menu:
Description
Visualization target window far field
Table 8: "Visualization" menu
4.3.1.9 LED function
The following parameters can be set in the "LED function" menu:
Description
Table 9: "LED function" menu
Display
n 1 rd 1
n rd
A
3
4.3.1.10 Device options
The following parameters can be set in the "Additional device options" menu:
Description
Key enable time / parameterization delay
Incremental measurement enable
Type of difference calculation
Application of the display divisor
Display
DA
An
1nc
DI
PP
A
AD1
PI
ADP
Table 10: "Additional device options" menu
Display
D1P
1
1ndc
1
rD
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 17 of 56
4.3.2
Functional Description
Parameterization via interface
The position indicator can be completely parameterized in the RS485-SIKONETZ5 interface
4.4
4.5
Calibration
Two steps are required for executing calibration:
1. Write calibration value (see object 1Fh: Calibration value )
2. Execute calibration (reset) (see chapter 3.4
or object A0h: System commands with the data content 7 or object A7h: Calibration travel )
Since the measuring system is an absolute system, calibration is necessary only once with commissioning. With calibration, the calibration value is adopted for calculation of the position value. The following equation is applied in case of calibration:
Position value = 0 + calibration value + offset value
Calibration value (see object 1Fh: Calibration value )
Offset value (see object 1Eh: Offset value )
Additional system commands
4.5.1 Device data
The following values can be read in the "Device data" menu:
Description
Firmware version number
Serial number
Table 11: "Device data" menu
Display
tt
ro
4.5.2 Diagnosis
The AP05 features various diagnostic options, which can be selected from the "Diagnosis" submenu. The following diagnostic options are differentiated:
Description
Display
5
rror
Prnt
Table 12: "Diagnosis" menu
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 18 of 56
Functional Description
4.5.2.1 Interface
In interface diagnosis, bus communication can be checked in three different ways:
Scan ID
5
Setting the
ID to be checked
Display of the message received
Display of check sum
Display of the number of messages / s
00001 tP 0
00031 tP63
Subscriber with ID1 receives no massages
Red LED ON:
There is bus traffic with deviating ID.
Red LED OFF:
There is no recognizable bus traffic.
Subscriber with ID 31 receives
63 Telegrams Per Second
Geen LED: ON no
No message with this ID was heard.
.063
0
"FE." = Parameter address in hex (here FEh Actual value)
".0xx" = Read command
".x63" = Number of received telegrams per second
"0" = Data content of the request in dec.
The content of the message last heard is displayed.
Messages transmitted by the device itself cannot be displayed/ recorded.
0
00
.00
No CS errors were detected.
7
99 .99
"x" = Number of telegrams with check sum error
(here 7).
"Cxx.xx" = Ratio of faulty to the total of telegr. received (here 99.99 %)
Scan parameter
5 t
Setting the
ID to be checked
1d001
00001
Subscriber with ID 1
Setting the expected command cd 01
001
Command "01" = Write
Setting the parameter to be checked
PA
55
Parameter FFh = set point
Entry in decimal notation!
Display of the message
Scan value
Entry as before à
Additional setting of the value to be checked
5
A
Display of the message received
Fig. 6: Interface diagnosis
.1
500
"FF." = Parameter address in hex (here FFh set point)
".1xx" = Command (here 1 = Write)
".x 7" = Number of telegrams received (here Eh = 14d)
"500" = Data content of the telgram (decimal)
The content of the message last heard is display.
Messages transmitted by the device itself cannot be displayed/recorded.
LED OFF: no bus traffic, red: different telegr., green: telegram received.
A
00500
Value
.1
500
LED OFF: no bus traffic, red: different telegr., green: value received.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 19 of 56
Functional Description
4.5.2.2 Reading the error memories
Two different error histories can be output here.
The "AP05" list contains errors found by the device such as "Low battery voltage" or "Velocity exceeded".
The "bUS" list contains input or receipt errors on the interface.
With errors occurring, the error number and overall quantity are output on the upper line. The type of error appears in the lower line, with error number 1 containing the latest error. The oldest error is output with the highest error number. "noErr" appears if no errors have been detected so far.
4.5.2.3 Presentation
A fixed set point (850) is set and switched valid in the presentation mode. So, the mode of operation of the device can be presented without the need of specifying a set point via an interface.
4.5.3 Restore factory settings
There are various options for restoring the factory settings of the device:
Access
Manuell
SIKONETZ5
Coding
Load
A0h
11100
Factory settings are restored
all parameters
11102 all except bus parameters
11105 only bus parameters
A
AD all parameters all except bus parameters (standard)
1
2
5 only bus parameters all parameters all except bus parameters only bus parameters
Table 13: Access to factory settings
The bus parameters are:
Display
ID
AD
Protc
Inht
Parameter address Parameter
00h Node-ID
01h Baud rate
-
02h
03h
0Eh
D0h
Protocol
Bus-Timeout
Response parameter to set point write access
Configuration programming mode
Response delay time
Table 14: Bus parameter
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 20 of 56
4.6
Functional Description
Warnings / Errors
4.6.1 Warnings
Warnings do not influence the acquisition of the absolute position value.
Warnings are deleted after removing the cause.
Possible warnings:
Battery voltage for absolute position detection is below limit
immediately exchange battery!
This warning is displayed with a blinking battery symbol . Via status word warning
messages are output via the interface (see chapter 6.3.5
Display Bit assignment in the status word Error
flashing 11 Low battery voltage (critical)
Position value is still valid!
Table 15: Warnings
4.6.2 Errors
Error states are signalled via display (written in red or battery symbol) and interface.
To return to normal operation, the cause must be removed (see Table 17 ). Afterwards you can
acknowledge or delete the error message by pressing the key or via the interface
(For signaling see chapter 6.3.5
Display
PD
Error code
SIKONETZ5
permanent 0006h
D
000Fh no
001Ah
0019h
to
0080h
0081h
7
7
Bit assignment in the status word
11+7
12+7
12+7
12+7
Error
Low battery voltage (empty)
Tape-sensor gap exceeded
No sensor connected
Travel speed exceeded
Checksum SIKONETZ5
Timeout SIKONETZ5
Table 16: Error messages
Display
PD
Error
permanent Battery empty
Admissible speed exceeded (see installation instruction)
Possible effect
Position value not reliable
Position value not reliable
Corrective actions
Battery change + calibration travel
Reduce speed + calibration travel
Table 17: Corrective actions
A list of errors that occurred can be read in the Diagnosis/Error memory operating menu
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 21 of 56
5
Overview of parameters
Overview of parameters
Name Description
03h: Response parameter to a set point write access
Node address
Baud rate of the RS485 interface
Indication of bus timeout in x100 ms
Defines the response to the command "Write set point".
Period of key actuation in order to start parametrization.
Enable calibration
All LEDs flashing
LED green right (LED3)
LED red left (LED2)
LED green left (LED1)
Number of decimal places.
ADI display divisor
0Ch: Direction indicators (CW, CCW) Visualization of direction indicators.
0Eh: Configuration programming mode
Display orientation
Basic setting of programming interlock.
1Ch: Resolution per revolution
PIN required for parameterization via keys and display.
Counting direction
Resolution of the measuring system.
Offset value
Calibration value
20h: Target window1 (near field)
The set point has been reached when the actual value is within the target window1
21h: Positioning type (loop type)
Travel towards set point in this direction.
Loop length
Operating mode
Controls the display of the 2 display. nd
row of the
31h: Target window2 (extended)
Extended target window for easier positioning.
32h: Target window2 visualization
Visualization of target window2
ADI application
40 33h: Application of the display divisor (ADI application)
34h: Formation of the differential value
Formation of the differential value.
Incremental measurement enable
Incremental measurement enable
LED red right (LED4)
see page
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 22 of 56
6
Communication via SIKONETZ 5
Name Description
Parametrization enable via keyboard
Flashing LCD backlight
LCD backlight white
LCD backlight red
Parametrization enable
Acknowledgment settings (alpha-numeric display)
Display factor (inch indication)
LED indicates valid bus traffic
Battery state of charge
SIKONETZ5 device identification (AP05 = 11)
Software version
Number of error incidents
Error list
Input error list
Various system commands
Starting calibration travel
Programming disable
Freeze position value
Hardware analysis
Setting of the communication protocol.
Hardware analysis
Delay until a SIKONETZ5 bus telegram is answered.
Automated node address assignment.
Device status
Set point1 (alpha-numeric display)
Deviation between actual and target positions.
Error telegram
Actual position
Target position
see page
Table 18: Parameter description
Communication via SIKONETZ 5
6.1
AP05
Interface
RS485 interface
Available baud rates: 19.2 kBit / 57.6 kBit (factory setting) / 115.2 kBit
No parity, 8 data bits, 1 stop bit, no handshake
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 23 of 56
6.2
Communication via SIKONETZ 5
Data exchange
The protocol functions according to the master – slave principle.
The position indicator acts as a slave. Every instance of communication must be initiated by the master. When the master has sent a command telegram, the slave sends a reply telegram.
Broadcast commands are an exception, they remain always unanswered by the slave.
The protocol is optimized for cyclical data exchange. The relevant data such as set point and actual value as well as control and status words can be transferred between master and slave by a single telegram exchange.
The parameter to be returned by the slave as a reply to the master's Write set point command can be defined via the "Write set point reply parameter".
6.3 Telegram setup
Control word (CW), status word (SW) and data are transferred in the Big-Endian format.
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address high Byte low Byte MSB
CW Data
LSB Check sum
Table 19: Command telegram (from master)
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address high Byte low Byte MSB
SW Data
LSB Check sum
Table 20: Reply telegram (from slave)
6.3.1 Command
The following access types are provided by SIKONETZ5.
Access code Meaning
00h read
01h
02h write broadcast
Description
The master requests the addressed slave to output the relevant value in a response telegram.
The master requests the addressed slave to accept the value transferred in the same telegram.
The master requests all connected slaves to execute the command transferred in the same telegram.
6.3.2 Node address
The device address can be freely set in the range of 0 to 127. The delivered devices are preset to node address 31 ex works and must be reset to the desired address to enable their
operation with multiple slaves on the SIKONETZ5 fieldbus (see parameter 00h: Note address
Each address can be assigned in the fieldbus only once!
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 24 of 56
6.3.3
Communication via SIKONETZ 5
Parameter address
A distinct address is assigned to every parameter (e.g. calibration value) or functional value
(e. g. set point) (see chapter 6.9
6.3.4 Control word
The control word consists of 16 bits.
Control word
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSB High Byte Low Byte LSB
The following table lists the designations of the individual bits of the control word and their meanings.
Bit Meaning
0 reserved
1 reserved
2 Validity of set point1
3 Display range
4 Acknowledgment target window1 static
5 Error
6 With "Display" operating mode:
Acknowledgement of set point2
7 With "Display" operating mode:
Data identifier
8 reserved
9 Validity of set point2
10 With "Display" operating mode:
Acknowledgement of set point1
11 LED1 green left
12 LED3 green right
13 LED4 red right
14 LED2 red left
15 LED blinking
Value = 0
ever 0 ever 0
Value = 1
-
- invalid standard valid extended not acknowledged acknowledged not acknowledged acknowledged not acknowledged acknowledged number ever 0 invalid not acknowledged acknowledged
Off
Off
Off
Off
Off
ASCII
- valid
On
On
On
On
On
Table 21: Control word
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 25 of 56
6.3.5
Communication via SIKONETZ 5
Status word
The response to a set point write command contains a status word which was not updated yet.
The status word indicates the current status of AP05. It consists of 16 bits.
Status word
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MSB High Byte Low Byte LSB
The following table lists the designations of the individual bits of the status word and their meanings.
Bit Meaning
0 Direction indication CW
Value= 0
Off
Value= 1
On
1
2
3
Direction indication CCW
Validity set point1
Target window2 dynamic
With "Display" operating mode:
Acknowledgement of set point2
4 Target window1 static
5 Target window1 dynamic
With "Display" operating mode:
Acknowledgement of set point2
6 Deviation
12 Sensor error
(Tape-Sensor or Lost-Sensor or Speed)
13
key
14
key
15
key
Off invalid not reached
On valid reached not acknowledged acknowledged never reached not reached reached not acknowledged acknowledged
7 General error actual position <= set point not present
8 Output of position value dynamic
9 Position value = incremental measurement Off
With "Display" operating mode:
Data identifier number
10 Validity set point2
11 Battery status (critical or empty) invalid alright not present not actuated not actuated not actuated reached actual position > set point is present freezed
On
ASCII-String valid critical or empty is present actuated actuated actuated
Table 22: Status word
6.3.6 Data
Range for data exchange. Size: 4 bytes.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 26 of 56
6.3.7
Communication via SIKONETZ 5
Check sum
For checking error-free data transfer, a check sum is formed at the end of the telegram. The check sum is the exclusive-OR-link of bytes 1 … 9:
Check sum [Byte10] =
[Byte1] XOR [Byte2] XOR [Byte3] XOR [Byte4] XOR [Byte5] XOR [Byte6] XOR [Byte7] XOR
[Byte8] XOR [Byte9]
The following applies for checking the telegram received:
[Byte1] XOR [Byte2] XOR [Byte3] XOR [Byte4] XOR [Byte5] XOR [Byte6] XOR [Byte7] XOR
[Byte8] XOR [Byte9] XOR [Byte 10] = 0
With a result unequal 0 a transmission error is to be assumed.
When a check sum error is detected, it is answered with an error telegram.
With three subsequent check sum errors, the check sum SIKONETZ5 error will be triggered.
6.4 Synchronization
Processing of the "Restore factory settings" system command may take up to 600 ms. Acknowledgment is reported only after proper updating of all parameters in the non-volatile memory.
Byte/telegram synchronization is via "Timeout". The intervals between the individual bytes of a telegram must not exceed the value of 10 ms. If an addressed device does not respond, the master must not send another telegram earlier than after 30 ms.
6.5
AP05
Error telegram
Illegal entries are replied with an error telegram.
An error telegram consists of parameter address FDh and an error code.
The error code is in the data section of the reply telegram. The error code is divided in two bytes. Code 1 describes the error proper, code 2 contains additional information if available.
In the following example an attempt was made at writing a value of 90 to the key enable time parameter address.
However, a maximum value of only 60 is admissible for this parameter.
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address
CW Data Check sum
01h 01h 04h 00h 00h 00h 00h 00h 5Ah 5Eh
Table 23: Telegram from master to slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node
01h address
01h
Parameter address
FDh 00h
SW
81h
- -
00h 00h
Data
Code 2 Code 1
02h
Check sum
82h FCh
Table 24: Reply telegram from slave
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 27 of 56
6.5.1
Communication via SIKONETZ 5
SIKONETZ5 error codes
Code 2
00h
00h
00h
01h
02h
00h
00h
01h
02h
00h
03h
Code 1 Description
80h Check sum SIKONETZ5
81h
82h
83h
84h
Timeout SIKONETZ5
Value rage exceeded / inadequate
Value < MIN
Value > MAX
Unknown parameter
Access is not supported
85h write attempt to read only read attempt to write only
Error due to device status
Programming locked
Table 25: SIKONETZ5 error codes
6.6
6.7
Communication errors
Error states of the slave are signified with the status word.7 = 1.
Every error must be acknowledged with control word.5 = 0/1 or by pressing the key. If the cause of the error has not been resolved at the time of acknowledgment, the error will not be reset or triggered anew, resp.
Errors that have not been acknowledged can be read via a read command on parameter Error
). The error code will be output (see chapter 4.6
A list of errors occurring is output in Diagnosis (see chapter 4.5.2.2
Communication monitoring
6.7.1 Bus-Timeout
Bus timeout monitoring is activated by configuring a valid time value (>0) for timeout (see
The first telegram received by the slave starts time monitoring.
Every new telegram recognized as valid by a slave (correct check sum) triggers time monitoring.
If timeout occurs, this will result in the Timeout SIKONETZ5 error.
After establishing cyclic communication between master and slave, this function can detect a broken cable of the connection line for instance and signal the defect.
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 28 of 56
6.7.2
Communication via SIKONETZ 5
Programming interlock
Programming interlock is controlled via parameter Configuration programming mode
). This parameter being enabled, the interlock must be canceled prior to
write access to a lockable parameter (see entry at the relevant parameter) by applying a write
access to parameter Programming mode (see chapter 6.9.47
). Correspondingly, the interlock
should be enabled again immediately after a write access.
This mechanism enhances protection against unintentional parameterization.
Write access to locked parameters is replied with "Error due to device state"
6.8 Auto-ID
This function facilitates first commissioning of the devices in the plant. The node numbers can be assigned by the superordinate control or by pressing the relevant button on the device
concerned. The functional principle is illustrated in Fig. 7 .
The Node ID 1Fh (31d) is factory-set. Now, the SIKONETZ5 master must send a write command
on parameter Auto-ID assignment (see chapter 6.9.53
) with the new Node ID to be set to the
bus subscriber(s) with the current Node-ID 1Fh and wait for an SIKONETZ5 response. A write command on devices with a node ID different from 1Fh is responded to with an error message.
"New ID" will be displayed on all devices that have the current Node-ID 1Fh.
The user must press the key on the device intended to adopt the new Node ID. Afterwards, this device sends a SIKONETZ5 response with the original Node-ID (1Fh) and the parameter
Auto-ID assignment. The new Node-ID is taken over and stored in the EEPROM. The initialization phase is finally repeated so that the new Node ID applies henceforth. All other devices do not react. Afterwards, the control unit can execute a read command on a parameter for the node with the node ID 1Fh for instance in order to detect any other devices with node
ID 1Fh present in the bus. If so, the procedure may be repeated until all devices have received the desired Node-ID. The Auto-ID function is aborted in the AP05 when an illegal value was sent for the new ID. Error messages will be returned in this case.
Use of this function is optional. The node numbers can also be set via parameterization
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 29 of 56
Communication via SIKONETZ 5
Fig. 7: Auto-ID function
6.9
AP05
Parameter description
Here, numbering follows the parameter address in SIKONETZ5.
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 30 of 56
6.9.1
Communication via SIKONETZ 5
00h: Note address
Setting of the SIKONETZ5 node address.
Changes become active only after restart of the device.
Parameter address
Description
00h node address
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
31
1 … 127
6.9.2 01h: Baud rate
Setting of the SIKONETZ5 baud rate.
Changes become active only after restart of the device.
Parameter address
Description
01h
Baud rate of the RS485 interface
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
57600 kBaud
0 = 19200
1 = 57600
2 = 115200
6.9.3 02h: Bus Timeout
Parameter address
Description
Access
02h
Indication of bus timeout in x100 ms rw
EEPROM yes
Programming mode yes
Data type
Default
UNSIGNED 8
0
Data content 0 … 20
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 31 of 56
6.9.4
Communication via SIKONETZ 5
03h: Response parameter to a set point write access
Parameter address
Description
03h
This parameter defines the response to the command
"Write set point" rw Access
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = set point
1 = actual value
2 = differential value
6.9.5 04h: Keys enable time: Parametrization start delay
Parametrization start delay (key enable time) is set via parameter 04h.
Parameter address
Description
04h
Duration of key actuation to start parametrization.
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
5
1 … 60 s
6.9.6 05h: Key function enable1: Calibration enable
The parameter 05h indicates whether calibration of the position value is enabled via key actuation.
Parameter address
Description
Access
EEPROM
05h
Key enable rw yes
Programming mode yes
Data type UNSIGNED 8
Default 1
Data content 0: Calibration disabled
1: Calibration enabled
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 32 of 56
6.9.7
Communication via SIKONETZ 5
06h: LED flashing
Flashing of the LEDs can be set via parameter 06h (see chapter 3.3
). This setting applies to all
LEDs.
Parameter address
Description
06h
Flashing of all LEDs
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = no flashing
1 = any glowing LED is flashing
6.9.8 07h: LED3 (green right)
LED3 (green, right) can be set via parameter 07h (see chapter 3.3
freely accessed only if the LED is switched off here.
Parameter address
Description
Access
EEPROM
07h
LED green right (LED3) rw yes
Programming mode yes
Data type UNSIGNED 8
Default 1
Data content 0 = Off
1 = position-dependent
6.9.9 08h: LED2 (red left)
LED2 (red, left) can be set via parameter 08h (see chapter 3.3
). The control word can be freely
accessed only if the LED is switched off here.
Parameter address
Description
08h
LED red left (LED2)
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
1
0 = Off
1 = position-dependent
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 33 of 56
Communication via SIKONETZ 5
6.9.10 09h: LED1 (green left)
ED1 (green, left) can be set via parameter 09h (see chapter 3.3
freely accessed only if the LED is switched off here.
Parameter address
Description
09h
LED green left (LED1)
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
1
0 = Off
1 = position-dependent
6.9.11 0Ah: Decimal places
The parameter 0Ah indicates the number of decimal places.
Parameter address
Description
0Ah number of decimal places
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
0
0 … 4
6.9.12 0Bh: Display divisor (ADI)
The display divisor can be changed via parameter 0Bh.
Parameter address
Description
0Bh display divisor ADI
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: 1
1: 10
2: 100
3: 1000
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 34 of 56
Communication via SIKONETZ 5
6.9.13 0Ch: Direction indicators (CW, CCW)
The display of the direction arrows is set via parameter 0Ch.
Parameter address
Description
Access
0Ch
Representation of the direction indicators rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = On
1 = inverted
2 = Off
6.9.14 0Dh: Display orientation
Display orientation can be set via parameter 0Dh.
Parameter address
Description
0Dh
Display orientation
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
0
0 = 0°
1 = 180° rotated
6.9.15 0Eh: Configuration programming mode
Basic settings of programming interlock (see chapter 6.7.2
Parameter address
Description
0Eh
Configuration programming mode
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
0
0 = no active programming interlock
1 = active programming interlock
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 35 of 56
Communication via SIKONETZ 5
6.9.16 0Fh: PIN change
PIN required to be able to change parameters via keys and display (see chapter 4.3.1
Parameter address
Description
Access
0Fh
PIN rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 32
Default
Data content
0
0 … 99999
6.9.17 1Bh: Counting direction
The counting direction can be set via parameter 1Bh.
Parameter address
Description
Access
EEPROM
1Bh counting direction rw yes
Programming mode yes
Data type UNSIGNED 8
Default 0
Data content 0 = clockwise sense of rotation I (CW)
1 = counter-clockwise sense of rotation E (CCW)
I sense of rotation: ascending position values with clockwise shaft rotation (CW, view on the
display)
E sense of rotation: ascending position values with counter clockwise shaft rotation (CCW,
view on the display)
6.9.18 1Ch: Resolution per revolution
The number of measurement steps per revolution (display / revolution = APU) is defined via parameter 1Ch.
Parameter address
Description
1Ch
Number of measurement steps per revolution
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 16
720
1 … 65535
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 36 of 56
Communication via SIKONETZ 5
6.9.19 1Eh: Offset value
The offset value is determined via parameter 1Eh.
Parameter address
Description
Access
1Eh
Offset enables the shifting of a scaled value range. The offset value is added to the position value in the encoder. Both positive and negative values are allowed.
Position value = measured value + calibration value + offset value rw
EEPROM yes
Programming mode yes
Data type
Default
SIGNED 16
0
Data content -19999 … 19999
6.9.20 1Fh: Calibration value
Via parameter 1Fh, the encoder's position value can be set to a calibration value when calibrating.
To enable the execution of calibration, the "Calibration" system command must be executed
Parameter address
Description
Access
1Fh calibration value (position value = measured value + calibration value + offset value) rw
EEPROM yes
Programming mode yes
Data type SIGNED 32
Default
Data content
0
-19999 … 99999
6.9.21 20h: Target window1 (near field)
The parameter 20h indicates the window within which the set point is considered reached
Parameter address
Description
Access
EEPROM
20h
The set point is reached when the actual value is within the target window. rw yes
Programming mode yes
Data type UNSIGNED 16
Default 5
Data content 0 … 9999
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 37 of 56
Communication via SIKONETZ 5
6.9.22 21h: Positioning type (loop type)
The positioning type, loop type is indicated via parameter 21h, thereby selecting the direction
from which the set point shall be approached (see chapter 4.1.1.2
Parameter address
Description
21h
Set point is approached in this direction.
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: no loop
1: loop +
2: loop -
6.9.23 22h: Loop length
Parameter 22h specifies the loop length by which the set point shall be moved over with loop
Parameter address
Description
Access
22h loop length rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 16
Default
Data content
0
0 … 9999
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 38 of 56
Communication via SIKONETZ 5
6.9.24 28h: Operating mode
The operating mode can be set via parameter 28h.
Parameter address
Description
Access
28h operating mode rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: Absolute position
1: Difference
2: Modulo (360° angle display)
3: Alpha-numeric display
6.9.25 30h: Display in the 2
nd
row
Via parameter 30h the display of the 2 nd row of the display unit is controlled. The setting is not effective in the "Display" operating mode.
Parameter address
Description
Access
30h controls the display of the 2 nd
row of the display unit rw
EEPROM yes
Programming mode yes
Data type
Default
UNSIGNED 8
0
Data content 0: Set point or differential value (depending on mode,
1: Off
6.9.26 31h: Target window2 (extended)
Via parameter 31h, the size of target window2 can be set (see chapter 4.1.1.2
32h: Target window2 visualization ).
Parameter address
Description
31h
Extended target window to facilitate positioning at fast travel speed.
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 16
0
0 … 9999
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 39 of 56
Communication via SIKONETZ 5
6.9.27 32h: Target window2 visualization
Target window2 visualization can be set via parameter 32h (see chapter 4.1.1.1
31h: Target window2 (extended) ).
Parameter address
Description
32h target window2 visualization
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = Off
1 = On
6.9.28 33h: Application of the display divisor (ADI application)
Via parameter 33h, the application oft he ADI can be adjusted for the position values ascertained (absolute position value, differential value, frozen position value). Target values are not offset against the ADI.
Parameter address
Description
Access
33h
ADI application rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: all values ascertained (absolute position value, differential value, frozen position value) are displayed after ofsetting against the ADI and transmitted via the interface this way.
1: all values ascertained are displayed after ofsetting against the
ADI and transmitted via the interface.
Examples:
Position value ascertained
12348
12348
12348
12348
12348
ADI
(0Bh)
0
1
1
3
3
ADIapplication x
0
1
0
1
Display Output interface
12348 12348
1235
1235
12
12
1235
12348
12
12348
Set point2 received
12348
1235
12348
12
12
Target attained yes yes no yes yes
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 40 of 56
Communication via SIKONETZ 5
6.9.29 34h: Formation of the differential value
Calculation of the differential value is set via parameter 34h.
Parameter address
Description
Access
34h formation of the differential value rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: DIFF = ACT – SET
1: DIFF = SET - ACT
6.9.30 35h: Key function enable2: Incremental measurement enable
The parameter 35h indicates whether setting of the position value as incremental measurement is enabled via key actuation.
Parameter address
Description
35h
Key enable
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
1
0: Incremental measurement disabled
1: Incremental measurement enabled
6.9.31 39h: LED4 (red right)
The LED4 (red, right) can be set via parameter 39h (see chapter 3.3
control word is only enabled if the LED is switched off here.
Parameter address
Description
Access
39h
LED red right (LED4) rw
EEPROM yes
Programming mode yes
Data type
Default
UNSIGNED 8
1
Data content 0 = Off
1 = position-dependent
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 41 of 56
Communication via SIKONETZ 5
6.9.32 3Ah: LCD backlight flashing
Flashing of the LCD backlight can be set via parameter 3Ah. This setting applies to either color.
Parameter address
Description
3Ah
Flashing of the LCD backlight
Access
EEPROM rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = no flashing
1 = the current backlight is flashing.
6.9.33 3Bh: LCD backlight white
The white LCD backlight can be set via parameter 3Bh.
Parameter address
Description
3Bh
LCD backlight white
Access
EEPROM rw yes
Programming mode yes
Data type
Default
Data content
UNSIGNED 8
1
0 = Off
1 = On
6.9.34 3Ch: LCD backlight red
The red LCD backlight can be set via parameter 3Ch.
Parameter address
Description
Access
EEPROM
3Ch
LCD backlight red rw yes
Programming mode yes
Data type UNSIGNED 8
Default 1
Data content 0 = Off
1 = On
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 42 of 56
Communication via SIKONETZ 5
6.9.35 3Dh: Key function enable3: Parametrization enable via keyboard
Parameter 3Dh indicates whether parametrization via key actuation is enabled.
Parameter address
Description
Access
3Dh
Key enable rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
1
0: parametrization disabled
1: parametrization enabled
6.9.36 3Eh: Acknowledgement settings
Parameter 3Eh serves for determining the key to be used as acknowledgement key.
The setting is only relevant in the alpha-numeric display mode. A flashing set point is displayed until its receipt is acknowledged via keystroke.
Parameter address
Description
Access
EEPROM
3Eh acknowledgement settings rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0: key
2: and key
6.9.37 3Fh: Display factor
If a display factor> 0 is set, all values on the display are indicated in inch.
It should be noted that the transmission values from and to the interface are present in the metric system (depending on resolution and ADI). The control delivers target, calibration, and offset values as well as loop length and target window metrically as well. Device-internal position monitoring is metrical. Therefore, the superordinate control can only function in the metric system. The values for position, setpoint and the differential value if applicable are calculated by means of the following formula (for position value):
Display value = position value x calculation factor
Calculation factor
=
1
0.254
x 10
4-Display factor
9 different calculation factors can be set (see Table 26 ). The number of decimal places is
selected via parameter 0Ah: Decimal places .
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 43 of 56
Communication via SIKONETZ 5
Display factor
0
Calculation factor
1
Meaning
Metric indication after APU and ADI
Imperial indication (inch)
Examples of indication (APU = 400)
Position after 1 revolution = 400
400
1574803 1
2
3
4
5
6
7
8
10
3
0.254
10
2
0.254
10
1
0.254
10
0
0.254
10
-1
0.254
10
-2
0.254
10
-3
0.254
10
-4
0.254
Table 26: Value table of display factor
0
157480
15748
1575
158
16
2
Parameter address
Description
Access
EEPROM
3Fh
Display factor rw yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 … 8
6.9.38 40h: LED Bus
The function oft he LED bus can be set via parameter 40h (see chapter 3.3
LED via control word is supported.
Parameter address
Description
Access
EEPROM
40h
LED Bus rw yes
Programming mode yes
Data type UNSIGNED 8
Default 1
Data content 0 = Off
1 = Bus traffic-dependent (glows for 1 s when receiving a message)
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 44 of 56
Communication via SIKONETZ 5
6.9.39 63h: Battery voltage
Battery voltage can be read via parameter 63h. The voltage is indicated in 10 mV resolution.
Parameter address
Description
Access
63h battery voltage ro
EEPROM no
Programming mode no
Data type UNSIGNED 16
Default
Data content
0
0 … 310 (0 V … 3.10 V)
6.9.40 65h: Device identification
Parameter address
Description
65h
Device identification
Access
EEPROM ro no
Programming mode no
Data type
Default
Data content
UNSIGNED 8
11
11 = AP05
6.9.41 67h: Software version
Parameter address
Description
Access
EEPROM
67h
Software version number ro no
Programming mode no
Data type UNSIGNED 32
Default -
Data content 100 (= version 1.00) or higher
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 45 of 56
Communication via SIKONETZ 5
6.9.42 80h: Number of errors
Parameter address
Description
Access
80h
Number of errors recorded ro
EEPROM yes
Programming mode no
Data type UNSIGNED 8
Default
Data content
0
0 … 10
6.9.43 81h until 8Ah: Errors
. The oldest error is found under parameter address 81h, the most recent error
is found under the highest address.
Parameter address
Description
Access
81h until 8Ah error ro
EEPROM yes
Programming mode no
Data type UNSIGNED 16
Default
Data content
0
6.9.44 96h: Input errors
Output of a list (10 entries) of input errors (see chapter 6.5.1
initialization of the device at program start (reset or power-on).
The error number must be transferred in data byte 3 of the telegram.
Data byte 3 with the request = 0
number of errors occurring is reported.
Data byte 3 with the request = 1
error number 1 (oldest error) is reported.
Example:
Telegram structure of master: oldest error (= no. 1) shall be read:
Command ID
00h 1Fh
Parameter ZSW
96h XX YY
Error number
01h
CS
00h 00h 00h NNh
Telegram structure of slave: oldest error (1) is output:
Command ID
00h 1Fh
Parameter ZSW
96h XX YY
Error number Error code
01h 00h 00h 83h
CS
NNh
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 46 of 56
Communication via SIKONETZ 5
Parameter address
Description
96h error
Access
EEPROM ro yes
Programming mode no
Data type
Default
Data content
UNSIGNED 16
0
6.9.45 A0h: System commands
Various system commands can be executed via parameter A0h (see chapter 4.5
Parameter address
Description
Access
A0h
System commands wo, broadcast-compatible
EEPROM no
Programming mode yes
Data type UNSIGNED 32
Default
Data content
0
1: Reset all parameters to factory settings
2: Reset all parameters to factory settings, except the bus parameters
5: Reset only the bus parameters to factory settings
7: Calibrate
9: Software reset (warm start)
6.9.46 A7h: Calibration travel
Calibration travel or calibration, respectively, can be executed via parameter A7h.
Parameter address A7h
Description
Access
Execute calibration (see chapter 4.4
wo
EEPROM no
Programming mode no
Data type
Default
Data content
UNSIGNED 32
0
1
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 47 of 56
Communication via SIKONETZ 5
6.9.47 A8h: Programming mode
Programming interlock (see chapter 6.7.2
Parameter address
Description
Access
A8h
Programming mode wo, broadcast-compatible
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = parameter programming disabled
1 = parameter programming enabled
6.9.48 AAh: Freeze actual value
The actual position value can be freezed via this parameter. So, synchronized recording of all position values in the unit can be generated. The status word signifies whether the position
value treansmitted is updated or freezed (see chapter 6.3.5
). Updating of the position value
will be reenabled with the next readout operation.
Parameter address
Description
AAh
The current actual position value is cached (freezed) until the next readout operation of the actual position.
Access
EEPROM wo, broadcast-compatible no
Programming mode no
Data type
Default
Data content
UNSIGNED 8
0
1 = freeze actual position
6.9.49 C5h: ADC values of the sensor
The current ADC values of the sensor can be retrieved via parameter C5h.
Parameter address
Description
C5h
ADC values of the sensor
Access
EEPROM ro no
Programming mode no
Data type
Default
Data content
UNSIGNED 32
0
Byte 0
ADC_SIN
Byte 1 Byte 2
ADC_COS
Byte 3
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 48 of 56
Communication via SIKONETZ 5
6.9.50 CAh: Bus protocol
Changes become active only after restart of the device.
Parameter address
Description
Access
CAh
Protocol of the RS485 interface rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 = SIKONETZ5
1 = Service protocol
6.9.51 CFh: Period counter
The current values of the period counter can be retrieved via parameter CFh.
Parameter address
Description
Access
Default
Data content
CFh values of the period counter ro
EEPROM no
Programming mode no
Data type UNSIGNED 32
0
Byte 0
Quadrant
Byte 1
Period counter
Byte 2 Byte 3
6.9.52 D0h: Response delay
Number of internal program cycles deferred before responding to a SIKONETZ5 bus telegram.
The response to a telegram can be delayed until the master is ready to receive. The value 10 corresponds to a delay of approx. 5 ms.
Parameter address
Description
Access
D0h
Response delay rw
EEPROM yes
Programming mode yes
Data type UNSIGNED 8
Default
Data content
0
0 … 20
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 49 of 56
Communication via SIKONETZ 5
6.9.53 D2h: Auto-ID assignment
Parameter address
Description
Access
D2h
Automated assignment of a node address wo
EEPROM yes, the node number is stored with its adoption
Programming mode no
Data type UNSIGNED 8
Default
Data content
-
1 … 31
6.9.54 FAh: Status word
The status word can be read via this parameter. Bit 4: "Target window1 static" is deleted in the status word with this operation. With this function, it can be detected whether the actual position was ever in the target window even if this is not the case at present
Parameter address
Description
Access
EEPROM
FAh
Read status word and delete "Target window1 static" ro no
Programming mode no
Data type UNSIGNED 16
Default -
Data content 0
6.9.55 FBh: Set point1
The current set point1 (alpha-numeric display operating mode) can be written and read via
address FBh (see chapter 4.1.2
Parameter address
Description
Access
EEPROM
FBh
Set point1 rw no
Programming mode no
Data type UNSIGNED 32
Default -
Data content 0h … FFFFFFFFh
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 50 of 56
Communication via SIKONETZ 5
6.9.56 FCh: Differential value
The differential value can be read via parameter FCh. Formation of the differential value is set
via parameter 34h: Formation of the differential value .
Parameter address
Description
FCh
Differential value: Deviation between actual and target positions
Access
EEPROM ro no
Programming mode no
Data type SIGNED 32
Default
Data content
-
-5242880 … 5242880
6.9.57 FDh: Error telegram
Illegal entries are answered with an error telegram.
An error telegram consists of the parameter address FDh and an error code (see chapter 6.5
Parameter address
Description
FDh
Error telegram
Access
EEPROM
- no
Programming mode no
Data type
Default
Data content
UNSIGNED 32
-
6.9.58 FEh: Position value
The current position value of the device is output under FEh.
Parameter address
Description
FEh
Actual position (see chapter 4.1.1
Access
EEPROM ro no
Programming mode no
Data type SIGNED 32
Default
Data content
-
-5242880 … 5242880
Position value = measured value + calibration value + offset value
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 51 of 56
Communication via SIKONETZ 5
6.9.59 FFh: Set point2
The current set point2 can be written and read via address FFh.
Parameter address
Description
Access
FFh
Set point2 rw
EEPROM no
Programming mode no
Data type SIGNED / UNSIGNED 32 (depending on the operating mode)
Default
Data content
-
0h … FFFFFFFFh
6.10 Examples of access
6.10.1 Example: Read parameter
With read commands the data range shall be set to value 0.
Reading the parameter target window1 of node address 1:
Read command: 00h
Node address: 01h
Parameter address: 20h Target window1
Data: 00h 00h 00h 00h
Telegram from master to slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address
CW Data Check sum
00h 01h 20h 00h 00h 00h 00h 00h 00h 21h
Reply telegram from slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address
CW Data Check sum
00h 01h 20h 00h 01h 00h 00h 00h 05h 25h
The current value oft he target window1 parameter is in the response telegram.
Data: 00 00 00 05h
5 dec
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 52 of 56
Communication via SIKONETZ 5
6.10.2 Example: Write parameter
Set parameter offset value of node address 1 to value 500:
Write command: 01h
Node address: 01h
Parameter address: 1Eh Offset value
Data: 000001F4h
500 dec
Telegram from master to slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address
CW Data Check sum
01h 01h 1Eh 00h 00h 00h 00h 01h F4h EBh
Reply telegram from slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command
/ Reply
Node address
Parameter address
SW Data Check sum
01h 01h 1Eh 00h 01h 00h 00h 01h F4h EAh
Set set point value parameter of node address 1 to value 1234, switch set point2 to valid
Write command: 01h
Node address: 01h
Parameter address: FFh Sollwert2
Data: 000004D2h
1234 dec
Telegram from master to slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command Node address
Parameter address
CW Data Check sum
01h 01h FFh 02h 00h 00h 00h 04h D2h 43h
Reply telegram from slave
1
st
byte 2
nd
byte 3
rd
byte 4
th
byte 5
th
byte 6
th
byte 7
th
byte 8
th
byte 9
th
byte 10
th
byte
Command
/ Reply
Node address
Parameter address
SW Data Check sum
01h 01h FFh 04h 01h 00h 00h 04h D2h 44h
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 53 of 56
Communication via Service Standard Protocol
7
7.1
7.2
7.3
AP05
Communication via Service Standard Protocol
General
The service protocol enables the control of the position indicator via ASCII commands. No additional devices must be connected to the RS485 interface since this protocol is not buscompatible.
An ASCII terminal sends a letter and additional parameters if required (ASCII).
Subsequently, the position indicator sends a reply with a concluding <CR>.
Available baud rates: 19.2 kBit / 57.6 kBit (factory setting) / 115.2 kBit
Additional settings: No parity, 8 data bits, 1 stop bit, no handshake
Error number encoding
The following error messages are returned in case of wrong input.
Error number Description
?1
?2 input of illegal parameter number illegal value range
Table 27: Error number encoding
Service protocol commands list
Command Length Reply Description
Ay 2/17 "AP05 SN5 zW xxxx>" Device type / software version y=0: hardware version; z = H y=1: software version; z = S
L 1/2
Sxxxxx 6/2
">"
">"
System commands
U
Z
1/6
1/11
"xxyy>"
"±xxxxxxxx>" x=11100: all parameters into basic state
After restart, the factory settings will be active, this applies to bus protocol and baud rate as well. x=11101: reset all to factory settings, except bus parameters x=11102: only bus parameters into basic state x=11105: activate bootloader
Current SIN/COS values of the sensor unit x=SIN y=COS
Output actual position
Table 28: Service protocol commands list
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 54 of 56
8
Text displays and their meaning
Text displays and their meaning
Display Meaning
tnd
Standard
AD
Adjustment
D
Sensor-Band non
No Sensor
PA
Bus Passive
Bus Off
Ac
Battery critical
Ato
Battery low
Prtc
Protocol
Service
to
Bus-Time-Out
Inht
Inhibit
Checksum Bus to
Time-Out Bus
o
Limit Low
h
Limit high noPA
No Parameter rd
Read Only no rd
No Read noPG
No Programming
PIt
Positioning
II
Vision
PtI
Options
ro
Read Only
AP
APU
DP
Decimal Point
ADI
ADI rott
Rotation
I
Calibration
Offset tr1
Target1 tr
Target2
PP
Positioning Type
DIP
Display
I
Target2 Visualisation
Indc
Indicators
I
Line 2
Description
Adjustment
Sensor-magnetic strip gap
No sensor
Bus passive error state (CANopen)
Bus off error state (CANopen)
Critical battery status
Empty battery status
Bus protocol
Service Standard protocol (RS485)
Bus-Time-Out (Parameter)
Inhibit-Time
Bus telegram check sum
Bus time-out (fault)
Range limit undercut
Range limit exceeded
No known parameter
Read-only, no write access
Write-only, no read access
Not in the programming mode
Positioning
Visualization
Options
Device data
Display per revolution
Decimal place
Display divisor
Sense of rotation
Calibration value / Calibration
Offset
Target window1
Target window2
Type of positioning
Display orientation or
"alphanumeric display" mode
Visualization of target window2
Indicators
Lower line
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 55 of 56
Text displays and their meaning
Display Meaning
Backlight
D
Backlight red
Backlight flash
A
Factor
rn 1
Green 1
D 1
Red 1
A
Flash
3
Bus 3
DA
Config Delay
An
Calibration Enable
Inn
Increment Enable
nn
Configuration Enable
D
Difference
PP
Operation Type
A
U Battery
o
Serial Number
P
Positive
n
Negative
dr
Direct
nr
Invers trt
Target
PA
Position - Target tAP
Target - Position
Description
Display backlight
Red display backlight
Red display backlight
Display factor
LED green 1
LED red 1
LED flash
LED Bus 3
Configuration start delay
Calibration permitted
Incremental measurement permitted
Configuration permitted
Difference value calculation
Mode of operation
Battery voltage
Serial number
Positive
Negative
Direct
Inverted
Target
Position value – target value
Target value – position value
A
Absolut
An
Angle
Absolute
Angle display
Version (Firmware) version chPr
Changeable Parameter Changeable device parameters
DIAG
Diagnosis Diagnostic functions
PI
PIN
oADP
Load Parameter
ADI
ADI Use
tnd
Standard tG
Telegramm
Load default values of parameters
Use of ADI
P
Presentation
In
Invalid
Presentation mode
Invalid
AP05
Date: 04.09.2017 Art. No. 89246 Mod. status 269/17 Page 56 of 56
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement