English
Language : 

IC-MN_16 Datasheet, PDF (42/62 Pages) IC-Haus GmbH – 25-BIT NONIUS ENCODER WITH 3-CH. SAMPLING 13-BIT Sin/D INTERPOLATION
iC-MN 25-BIT NONIUS ENCODER
WITH 3-CH. SAMPLING 13-BIT Sin/D INTERPOLATION
COMMAND and STATUS REGISTERS
Rev F2, Page 42/62
Execution Of Internal Commands
The command register at address 0x77 can be ac-
cessed fully independent of the internal state of op-
eration. Depending on the data value written to this
register the execution of an implemented command is
triggered.
MN_CMD
Code
0x0
0x1
0x2
0x3
0x4
...0xF
Addr. 0x77; bit 2:0
W
Command
Description
SOFT_RES
Soft reset
(new startup using
internal config. data)
WRITE_CONF
Transfers internal config.
data to the EEPROM
SOFT_PRES
Calls preset routine
CRC_CHECK
CRC verification of the
internal config. data
TOG_BISS
Temporal toggle of
interface protocol:
BiSS C ↔ SSI
No function
Table 70: Implemented commands
The command SOFT_RES resets internal state ma-
chines, counters, status registers and the BANKSEL
(CFG_E2P /= 000, see P. 54) register. The configu-
ration RAM is not reset here. During the command
execution a write access to the configuration RAM is
still possible, whereas the external EEPROM is not
accessible.
ATTENTION!
During the WRITE_CONF and SOFT_PRES wait
time it must be ensured that the supply voltage to the
two devices iC-MN and the EEPROM is maintained.
If this is not the case, on the next system start-up the
whole configuration parameter will be recognized as
being faulty and this will trigger the setting of the error
bit (EPR_ERR) in the status register!
CRC_CHECK starts a CRC verification of the inter-
nal configuration RAM. During the check the internal
data bus may not be accessed. Should the check not
confirm the configuration data as error free, status bit
EPR_ERR is set.
Command TOG_BISS only causes the communication
protocol to switch temporarily (BiSS → SSI, or SSI →
BiSS). RAM parameter NBISS is not altered here. The
command can be used for SSI encoders to later enable
parameterization, for example.
Execution Of Protocol Commands
iC-MN supports selected BiSS C protocol commands:
CMD
10
11
Selected address
(IDS > 0x00)
Execute SOFT_PRES
Execute CRC_CHECK
Broadcast address
(IDS = 0x00)
-
-
Table 71: Implemented protocol commands
If the device is in nonius mode (see page 30), the first
conversion is used to determine the period and the re-
sult stored as an initial value for the period fraction of
the internal flash counter. If an external multiturn device
is configured (MODE_MT ̸= 00), its data is read in and
stored as the initial value for the multiturn data fraction
of the internal flash counter.
With WRITE_CONF the internal configuration is stored
to the EEPROM. The CRC (CRC_E2P) is automatically
updated and written to address 0x4E or 0x4F. For a de-
scription of the preset routine initiated by SOFT_PRES
see page 51.
Automatic Reset Function
AUTORES can be used to set whether the command
SOFT_RES is automatically generated or not if the error
AM_MIN occurs.
AUTORES
Code
00
01
10
11
Addr. 0x44; bit 1:0
Function
No automatic reset
SOFT_RES after error AM_MIN, timeout 8 ms
SOFT_RES after error AM_MIN, timeout 16 ms
SOFT_RES after error AM_MIN, timeout 32 ms
Table 72: Automatic reset function
Note:
Commands WRITE_CONF and SOFT_PRES blocks
iC-MN’s internal RAM for accesses over a certain time.
During this time register operation via the BiSS inter-
face the address will be dismissed and bit CMD_EXE
of the status register is valid.
For as long as the amplitude of the master track is too
low or the AM_MIN error is set, SOFT_RES is active.
When AM_MIN is no longer set, the timeout config-
ured using AUTORES expires. It is only after this that
SOFT_RES is reset and the device subsequently re-
turns to normal operation.