Parameter
Keypad and
Parameter
structure
display
x.00
Bit 15
Bit 14
0x8040
1
0
0x8042
1
0
0x8003
1
0
0x8059
1
0
0x8063
1
0
0x8097
1
0
0xc0ac
1
1
Example of Hiperface transfer: Delete data field
Transfer the "delete data field" message to the encoder comms buffer by writing the sequence of words shown in the table below to Pr 90.22. A check
should be carried out before each word is written to ensure that the parameter is zero (i.e. the drive has taken any previous data).
Bit 15
Bit 14
0xa0ff
1
0
0x804d
1
0
0x8002
1
0
0x8065
1
0
0x8055
1
1
The response from the encoder is a follows.
Bit 15
Bit 14
0x8040
1
0
0x8042
1
0
0x8003
1
0
0x8059
1
0
0x8063
1
1
SC.EnDat
The Heidenhain EnDat protocol is a synchronous protocol using the following command message format (drive to encoder).
st
Command
1
byte
Address
Data (LSB)
th
Data (MSB)
4
byte
The following commands are supported:
Code
Command
0x00
Encoder to send position
0x01
Selection of memory area
0x03
Encoder to receive parameter
0x04
Encoder to send parameter
0x05
Encoder to receive reset
The following is an example of the response when the Encoder to send position command is used (encoder to drive).
LS byte
MS byte
The example shown above is for an encoder with 12 bits representing the turns and 13 bits representing the position within a turn. The position
command only requires one byte to be sent to the encoder. Bits 14 and 13 can both be set in the transmit register if required to indicate that this is
both the first and last byte of the message.
Unidrive SP Advanced User Guide
Issue Number: 7
Parameter
Advanced parameter
description format
descriptions
Bit 13
Data
0
0x40
Encoder address
0
0x42
Read position command
0
0x03
Position byte 0 (MS byte)
0
0x59
Position byte 1
0
0x63
Position byte 2
0
0x97
Position byte 3 (LS byte)
0
0xac
Checksum
Bit 13
Data
1
0xff
Broadcast message so address = 0xff
0
0x4d
Create data field command
0
0x02
Data field 2
Status of data existing data field 2 with bit 7
0
0x65
set to zero
0
0x55
Code for data field at default of 0x55
Bit 13
Data
0
0x40
Encoder address
0
0x4d
Create data field command
0
0x02
Data field 2
0
0x65
Status of the data field before delete
0
0x78
Checksum
Address
Don't care
MRS code
Address
Address
Don't care
st
1
byte
th
8
byte
www.controltechniques.com
http://nicontrols.com
Serial comms
Electronic
Macros
protocol
nameplate
Data
Don't care
Don't care
Data
Don't care
Don't care
Bit 7-0 = 0
Bit 7-0 = 0
Bit 7-0 = 0
Bit 7-0 = 0
Bits 5-0 = 0
Bit 6 = Alarm bit
Bit 7 = Bit 0 of position
Bits 7-0 = Bits 8-1 of position
Bits 3-0 = Bits 12-9 of position
Bits 7-4 = Bits 3-0 of turns
Bits 7-0 = Bits 11-4 of turns
Feature look-
Menu 3
Performance
up table
All modes
73
Need help?
Do you have a question about the unidrive sp and is the answer not in the manual?
Questions and answers