User Manual

Table Of Contents
Magnetic Guide Sensor Connection and Operation
76 Advanced Digital Motor Controller User Manual V2.0, July 8, 2019
?MGM 3 : Returns the Left Marker Detect state of Sensor at input 2
?MGM 4 : Returns the Right Marker Detect state of Sensor at input 2
Reading Track Positions
?MGT 3*(x-1)+1 or GetValue(_MGT, 3*(x-1)+1)
Returns the Left Track Position of Sensor at input x
?MGT 3*(x-1)+2 or GetValue(_MGT, 3*(x-1)+2)
Returns the Right Track Position of Sensor at input x
?MGT 3*(x-1)+3 or GetValue(_MGT, 3*(x-1)+3)
Returns the Active (Left or Right) Track Position of Sensor at input x
Examples:
?MGT 1 : Returns the Left Track Position of Sensor at input 1
?MGT 2 : Returns the Right Track Position of Sensor at input 1
?MGT 4 : Returns the Left Track Position of Sensor at input 2
?MGT 5 : Returns the Right Track Position of Sensor at input 2
?MGT 7 : Returns the Left Track Position of Sensor at input 3
Reading Flow Sensor Counters
?FLW 2*(z-1)+1 or GetValue(_FLW, 2*(z-1)+1)
Returns the Counter of the X axis of Sensor at Pulse input z,
?FLW 2*(z-1)+2 or GetValue(_FLW, 2*(z-1)+2)
Returns the Counter of the Y axis of Sensor at Pulse input z
Examples:
?FLW 1 : Returns the Counter of the X axis of Sensor at Pulse input 1
?FLW 2 : Returns the Counter of the X axis of Sensor at Pulse input 1
?FLW 3 : Returns the Counter of the Y axis of Sensor at Pulse input 2
?FLW 4 : Returns the Counter of the Y axis of Sensor at Pulse input 2