Axis 3Ax-603397-xUxx User Manual page 36

Accessory 24e2
Table of Contents

Advertisement

Remember, the output from the encoder conversion table will reside in the X register. For example, with
the following entry:
MS0,MI120=$30C040
MS0,MI121=$FFFFFF
MS0,MI122=32
The output from the ECT will reside in X:$12 and this will be the register to obtain the absolute data
from.
MI11x consists of two parts. The low 16 bits (last four hexadecimal digits) specify the address on the
MACRO Station from which the absolute position information is read. The high eight bits (first two
hexadecimal digits) tell the Compact MACRO Station how to interpret the data at that address (the
method.
MACRO MI11x Parallel Word Example: Signed 24-bit Absolute MLDT $0010
HEX($)
D
BIT
23
22
21 20
VALUE
1
1
0
# of bits/location ($18=24dec)
X/Y Address Bit
If bit 22 of Ix10 is 0, the PMAC looks for the parallel sensor in its Y address space. This is the standard
choice, since all I/O ports map into the Y address space. If this bit is 1, PMAC looks for the parallel
sensor in its X address space.
Signed/Unsigned Bit
If the most significant bit (MSB - bit 23) of MI11x is 0, the value read from the absolute sensor is treated
as an unsigned quantity. If the MSB is 1, which adds $80 to the high eight bits of MI11x, the value read
from the sensor is treated as a signed, twos-complement quantity.
MS0,MI111=$D80010
Example MLDT Setup for UMAC-MACRO
;****** MLDT Example Setup
MS0,i161=3825
Ms0,i903=2258
MS0,I904=25
MS0,I910=12
MS0,I916=3
MS0,i120=$30C040
MS0,I121=$FFFFFF
MS0,I122=32
MS0,i101=$12
Ms0,i111=$D80010
I110=$740000
32
($10 of ECT)
($11 of ECT)
($12 of ECT)
8
19
18
17
16
15
1
1
0
0
0
0
Y-address(0)/X-address(1) control bit
Unsigned(0)/signed(1) format bit
;read signed 24-bit absolute power on position
;from X:$0010
;(15*255)
;default
;might need to increase from factory default
;24-bit
;output at $12
;grab data from 1
0
0
14
13
12
11
10
9
0
0
0
0
0
0
Source Address ($0011)
st
entry of ECT X register
MLDT Feedback for UMAC-Turbo and UMAC-MACRO
Accessory 24E2
1
8
7
6
5
4
3
0
0
0
0
1
0
0
2
1
0
0
0
0

Advertisement

Table of Contents
loading

Related Products for Axis 3Ax-603397-xUxx

This manual is also suitable for:

24e2

Table of Contents