PLC Data Structures
Controller <-> PC Communication Structs
- Multiple Data structs are synchronized between Compass NC on the PC, and the iCube motion controller. While many are used internally for Compass NC operations, the structs detailed below are available for aiding integration to the machine, or for status information on the HMI created with Compass Designer.
| Name | Data Type | Description |
|---|---|---|
| NcStateData Struct | NcState | Global, Retained |
| HmiData Struct | HMIStatusData | Global |
Additional Compass-Specific PLC Structs
- Additional Data Structs used for Compass operation and interaction.
| Name | Data Type | Description |
|---|---|---|
| HMI_Command Struct | ControllCommand | Global |
| MachineControl Struct | ControllCommand | Global |
| M_Code Struct | M_CodeArray | Global |
| AxesMap Struct | IntArray | Global |
| LastExecutedSegmentData Struct | SegmentDataStruct | Global |