 |
ApossC SDK
V01.15
|
Go to the documentation of this file.
43 long sdkSetupIncEncoder(
long axis,
long encPort,
long encRes,
long latchType,
long latchParam,
long latchSlope)
72 else if (latchType == 1)
79 print(
"Not supported latchType");
139 else if (latchType == 1)
146 print(
"Not supported latchType");
179 long sdkSetupAbsSSIEncoder(
long axis,
long encPort,
long encRes,
long clockFreq,
long fastUpdate,
long datlen,
long isBinary,
long latchBitMask)
242 if (axis == 0){ hall_ModNo = 0; }
243 else if (axis == 2){ hall_ModNo = 1; }
244 else if (axis == 3){ hall_ModNo = 2; }
245 else if (axis == 5){ hall_ModNo = 3; }
247 print(
"Axis No ", axis,
" cannot be used as BLDC axis");
283 if(hallDirection==-1)
#define VIRTCNTIN_MODE
Counter mode.
#define HWENCODER_MODE_SINCOS
#define HWENCODER_MODE_INCREMENTAL
#define VIRTCOUNTIN_PARAM(modno, parno)
Virtual Counter Inputs parameters: Setter.
#define VIRTDIGIN_PROCESS_SRCINDEX(modno, parno)
Virtual Digital Input Process Data: Source Index.
#define PO_HWLATCH_FIFOREAD
Latch position read from FIFO.
#define VIRTLATCH_MODE
Latch mode.
#define VIRTLATCH_PISRC_LATCH
Index/subindex of latch source.
#define HWLATCH_SLOPE
Slope selector for trigger signal.
#define PO_HWHALL_POS
Position value (incrementing/decrementing)
#define PO_VIRTCNTIN_VALUE
Output of counter module.
#define HWCOUNTINC_PROCESS_SRCINDEX(modno, parno)
HW Counter-inc Process Data: Source Index.
Declaration of the encoder setup function.
#define HWENC_PARAM(modno, parno)
HW Encoder Parameters: Setter.
#define VIRTLATCH_PISRC_LATCHVALID
Index / Subindex of latch valid information.
#define VIRTLATCH_MODE_SOFTWARE
#define VIRTCNTIN_OVFL_VALUE
Value (Range) where the input will overflow.
#define VIRTLATCH_PISRC_LATCHSTAT
Index/subindex of latch status source.
#define VIRTCOUNTIN_PROCESS_SRCINDEX(modno, parno)
Virtual Counter Inputs Process Data: Source Index.
#define VIRTCNTIN_UUFACT_INCNO
Conversion Factor - number of increments.
long sdkSetupIncEncoder(long axis, long encPort, long encRes, long latchType, long latchParam, long latchSlope)
Settings for an incremental encoder.
#define HWCNTABS_CODING_NONE
#define HWCOUNTABS_PROCESS_SRCINDEX(modno, parno)
HW Counter-abs Process Data: Source Index.
long sdkSetupHallEncoder(long axis, long hallAligment, long hallDirection)
Settings for an hall encoder.
#define PO_HWLATCH_FLAG
Flag signal that a new latch happened.
#define VIRTCNTIN_MODE_ABSOLUTE
#define PO_HWLATCH_AMOUNT_IN_FIFO
Number of latches in FIFO.
#define HWENCODER_DATLEN
Number of bits for SSI communication.
#define HWLATCH_PARAM(modno, parno)
HW Latch Register Parameters: Setter.
#define PO_HWCNTABS_VALUE
Position output of absolute encoder Counter.
#define VIRTLATCH_PISRC_LATCHCNT
Index/subindex of the counter at which the latch module is looking.
#define HWENCODER_FAST_UPDATE
Encoder update rate (Not on MACS5)
#define VIRTLATCH_MODE_HARDWARE
#define VIRTLATCH_PISRC_LATCHFIFO_READ
Index/subindex of Latchfifo informtaion (read register)
#define VIRTLATCH_PARAM(modno, parno)
Virtual Latch Inputs Parameters: Setter.
#define HWCNTABS_CODING_GREY
#define PO_VIRTDIGIN_VALLONG
Returns the full 32bit output value.
long sdkSetupHallEncoderMACS5(long axis, long hallPort, long hallAligment)
Settings for an hall encoder.
#define HWAMP_PISRC_ACTPOS
Source for actual position.
long sdkSetupAbsSSIEncoder(long axis, long encPort, long encRes, long clockFreq, long fastUpdate, long datlen, long isBinary, long latchBitMask)
Settings for a SSI encoder.
#define HWENCODER_MODE_SSI_ACTIVE
#define HWLATCH_PISRC_TRIGGER
Source for trigger signal.
#define HWENCODER_MODE_HALL
#define PO_HWCNTINC_VALUE
Output of counter module (position value)
#define HWHALL_PROCESS_SRCINDEX(modno, parno)
HW Hall Sensor Process Data: Source Index.
#define VIRTLATCH_LATCHVALID_BITMASK
Latchvalid Bitmask.
#define HWLATCH_PISRC_TRIGGER_ENCZ
#define VIRTLATCH_PISRC_LATCHFIFO_AMOUNT
Index/subindex of LatchFifo information (amount)
long sdkSetupSinCosEncoder(long axis, long encPort, long encRes, long latchType, long latchParam, long latchSlope)
Settings for an SinCos encoder.
#define HWENCODER_MODE
Encoder type.
#define HWHALL_PARAM(modno, parno)
HW Hall Sensor Parameters: Setter.
#define HWAMP_PARAM(modno, parno)
HW Amplifier Parameters: Setter.
#define HWCOUNTABS_PARAM(modno, parno)
HW Counter-abs Parameters: Setter.
#define HWCNTABS_CODING
Data coding.
#define PO_HWLATCH_VALUE
Output of latch module.
#define HWHALL_MODE_ENABLE
#define HWHALL_MODE
Enable.
#define HWAMP_ENCRES
Resolution of the encoder for position feed back in increments (quadcounts)
#define HWLATCH_PROCESS_SRCINDEX(modno, parno)
HW Latch Register Process Data: Source Index.
#define VIRTCNTIN_MODE_ABSOLUTE_DIRECT_ENDLESS
#define HWAMP_HALL_ALIGNMENT
Hall Alignment.
#define VIRTCNTIN_PISRC_COUNTER
Index/subindex of counter source.
#define VIRTLATCH_PISRC_COUNTER
Index/subindex of counter source (attached)
#define HWHALL_PISRC_ENCOUT
Source for the HALL Information.
#define HWENCODER_CLOCKFREQ
Clock frequency for SSI encoder.
#define HWLATCH_PISRC_TRIGGER_DINP
Data Sheets |
Released Software |
Software Manuals |
Hardware Manuals |
Maxon Shop
Maxon Support Center