Click or drag to resize

KM_MainStatus Structure

Bulk status record uploaded from KFLOP

Namespace:  KMotion_dotNet
Assembly:  KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public struct KM_MainStatus

The KM_MainStatus type exposes the following members.

Properties
  NameDescription
Public propertyADC
Bulk status record ADC values (8 Kanalog + 2 x 8 SnapAmp)
Public propertyAxisDone
Bulk status record Current axis completes
Public propertyBitsDirection
Bulk status record Current KFLOP 64 IO Bit directions (inputs vs outputs)
Public propertyBitsDirection200
Bulk status record Current Kogna IO Bit directions (inputs vs outputs) Kogna - 24 bits 200-223 of I/O direction 1 = output
Public propertyBitsDirection280
Bulk status record Current Kogna IO Bit directions (inputs vs outputs) Kogna - 10 bits 280-289 of I/O direction 1 = output
Public propertyBitsState
Bulk status record Current KFLOP/Kogna 64 IO Bit states
Public propertyBitsState200
Bulk status record Current KFLOP/Kogna 64 IO Bit states Kogna - 90 bits 200-289 of state lsb=I/O bit200
Public propertyDAC
Bulk status record DAC values (8 Kanalog)
Public propertyDestination
Bulk status record Axis Commanded Destinations
Public propertyEnables
Bulk status record Current axis enables
Public propertyHRPWM
Bulk status record Kogna current Kogna Kogna 4 HRPWMs Pulse widths
Public propertyHRPWMPeriod01
Bulk status record Kogna current Kogna HRPWMs Periods (common for HRPWM 0 and 1)
Public propertyHRPWMPeriod2
Bulk status record Kogna current Kogna HRPWM Periods (for HRPWM 2)
Public propertyHRPWMPeriod3
Bulk status record Kogna current Kogna HRPWM Periods (for HRPWM 3)
Public propertyInputModes
Bulk status record feedback selected input modes Axes 0-3
Public propertyInputModes2
Bulk status record feedback selected input modes #2 Axes 4-7
Public propertyInputModes3
Bulk status record feedback selected input modes #3 Axes 8-11
Public propertyInputModes4
Bulk status record feedback selected input modes #4 Axes 12-15
Public propertyKanalogBitsStateInputs
Bulk status record Current Kanalog Input Bit States
Public propertyKanalogBitsStateOutputs
Bulk status record Current Kanalog Output Bit States
Public propertyKogna_ADC
Bulk status record Kogna 4 ADCs format 12 bits data (signed extended to 16 bits)
Public propertyKogna_DAC
Bulk status record Kogna 8 DACSs format 12 bits data (signed extended to 16 bits)
Public propertyKogna_PWM
Bulk status record Kogna current pulse settings of all 8 8-bit IO PWMs
Public propertyKogna_PWM_Enables
Bulk status record Kogna current PWM Enables to control Pin of all 8 8-bit IO PWMs
Public propertyKogna_PWM_Prescale
Bulk status record Kogna Prescale sets frequency of all 8 8-bit PWMs
Public propertyOutputChan0
Bulk status record Axis First output channel specified
Public propertyOutputModes
Bulk status record feedback selected output modes Axes 0-3
Public propertyOutputModes2
Bulk status record feedback selected output modes #2 Axes 4-7
Public propertyOutputModes3
Bulk status record feedback selected output modes #3 Axes 8-11
Public propertyOutputModes4
Bulk status record feedback selected output modes #4 Axes 11-15
Public propertyPC_comm
Bulk status record KFLOP-PC 8 Communication variables 100-107
Public propertyPinMuxModes
Bulk status record Kogna - 10 Pin function modes 2 bits per pin 4 HRPWM + 6 SPI
Public propertyPosition
Bulk status record Axis Measured positions (Encoder or other sensing device)
Public propertyPWM
Bulk status record PWM values (8 obsolete PWMS + 2 x 4 SnapAmp)
Public propertyRunOnStartUp
Bulk status record Current Boot Thread Startup Enables
Public propertySnapBitsDirection0
Bulk status record Current SnapAmp #0 IO Bit directions (inputs vs outputs)
Public propertySnapBitsDirection1
Bulk status record Current SnapAmp #1 IO Bit directions (inputs vs outputs)
Public propertySnapBitsState0
Bulk status record Current SnapAmp #0 IO Bit States
Public propertySnapBitsState1
Bulk status record Current SnapAmp #1 IO Bit States
Public propertyStopImmediateState
Bulk status record current StopImmediate (feedhold) state
Public propertyThreadActive
Bulk status record Current Thread Execution State
Public propertyTicksAtUpdate
Bulk status record Windows Time when status was updates (millisec since Windows Started)
Public propertyTimeStamp
Bulk status record Time Stamp in seconds of when status was acquired
Public propertyVersionAndSize
Bulk status record packed version and size info bits 16-23 = version, bits 0-15 = size in words
Public propertyVirtualBits
Bulk status record Virtual bits packed 16 per word 48-63
Public propertyVirtualBitsEx0
Bulk status record Extended Virtual bits packed 32 per word 1024-1055
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetADC
Bulk status record ADC values (Kanalog)
Public methodGetAxisComplete
Bulk status record Current axis completes
Public methodGetAxisEnabled
Bulk status record Current axis enables
Public methodGetBitDirection200
Bulk status record Current Kogna 24 IO Bit directions for Bits 200-223(inputs vs outputs)
Public methodGetBitDirection280
Bulk status record Current Kogna 10 IO Bit directions for Bits 280-289(inputs vs outputs)
Public methodGetBitState200
Bulk status record Current Kogna 90 IO Bit states (Bits 200-289)
Public methodGetDAC
Bulk status record DAC values (Kanalog)
Public methodGetDestination
Bulk status record Axis Commanded Destinations
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetInputMode
Bulk status record feedback selected 4-bit input mode
Public methodGetKanalogBitsStateInputs
Bulk status record Current Kanalog Input Bit States
Public methodGetKanalogBitsStateOutputs
Bulk status record Current Kanalog Output Bit States
Public methodGetKFlopBitDirection
Bulk status record Current KFLOP/Kogna 64 IO Bit directions (inputs vs outputs)
Public methodGetKFlopBitState
Bulk status record Current KFLOP/Kogna 64 IO Bit states
Public methodGetKognaADC
Bulk status record Current Kogna ADC
Public methodGetKognaDAC
Bulk status record Current Kogna DAC
Public methodGetKognaHRPWM
Bulk status record Current Kogna Hi-Res 12-bit PWM pulse setting
Public methodGetKognaPWM
Bulk status record Current Kogna 8-bit PWM pulse setting
Public methodGetKognaPWMEnables
Bulk status record Current Kogna 8-bit PWM Enables
Public methodGetOutputChannel0
Bulk status record Axis First output channel specified
Public methodGetOutputMode
Bulk status record 4-bit output mode
Public methodGetPC_comm
Bulk status record Current PC-KFLOP Comm regs
Public methodGetPinMuxModes
Bulk status record Current Kogna 10 Pin function modes 2 bits per pin 4 HRPWM + 6 SPI
Public methodGetPosition
Bulk status record Axis Measured positions (Encoder or other sensing device)
Public methodGetPWM
Bulk status record PWM values (SnapAmp)
Public methodGetRunOnStartUp
Bulk status record Current Boot Thread Startup Enables
Public methodGetSnapBitsDirection0
Bulk status record Current SnapAmp #0 IO Bit directions (inputs vs outputs)
Public methodGetSnapBitsDirection1
Bulk status record Current SnapAmp #1 IO Bit directions (inputs vs outputs)
Public methodGetSnapBitsState0
Bulk status record Current SnapAmp #0 IO Bit States
Public methodGetSnapBitsState1
Bulk status record Current SnapAmp #1 IO Bit States
Public methodGetThreadActive
Bulk status record Current Thread Execution State
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVirtualBits
Bulk status record Current Virtual Bit States
Public methodGetVirtualBitsEx0
Bulk status record Current Extended Virtual Bit States
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public field_TicksAtUpdate
Time in milliseconds since Windows Started where Status record was last uploaded Note: rolls over every 49 days
Public fieldMainStatus
This structure matches exactly the binary form as the Kogna/KFLOP MAIN_STATUS Structure so it can be uploaded as a binary image.
Top
See Also