This is part of 2.1.0latest release.

MLxData

0.1.0

Data type for the shared memory of the MotoLogix functions.

For more information on the relevant variables in MLxData check the basic infomation .

Version history

0.1.0

  deGroot

Changes

Changed:

Overview

nametypedefaultcomment
SystemStateDINTCurrent State of the system: 0=Initializing, 1=EnablingToIdle, 2=EnablingToHeld, 3=Idle, 4=Running, 5=Holding, 6=Held, 7=Aborting, 8=ServosOffAborted, 9=StoppingToIdle, 10=StoppingToServosOff, 11=StoppingToServosOffHeld, 12=ServosOffReady, 13=ServosOffHeld, 14=FataFault
SystemErrorCodeDINTCurrent Error Code for the system, 0 for No Error. Consult User Guide for full list of Error Codes.
NumberOfQueuedErrorsDINTIn the case that multiple errors have occured, this variable will list the number of queued variables. Repeated calls to MLxGetErrorDetail will return the most recent error and reduce the size of the queue by 1.
NumberOfAxesDINTNumber of Axes in current system. The MotoLogix system must be connected for this value to update properly.
NumberOfRobotsDINTNumber of Robots in current system. The MotoLogix system must be connected for this value to update properly.
OperationModeSINTFor future use
JoggingModeBOOLSet this to 1 to use the MLxMoveJog command.
UserProgramStartBOOLFor future use
UserProgramStepContinueBOOLFor future use
MLxControllerInfoMLxModuleInfoContains information on the MotoLogix system - use MLxGetModuleInfo to get the data.
SignalsMLxSignalsContains additional signals about state of system.
InternalDataMLxxInternalDataINTERNAL USE ONLY
AxisARRAY[0..15] OF MLxAxisDataAxis Configuration and Feedback data.
RobotARRAY[0..3] OF MLxRobotDataRobot Configuration and Feedback data
HMIFeedbackConfigurationMLxHMIFeedbackConfigurationConfiguration information for HMIFeedbackData.
HMIFeedbackDataMLxHMIFeedbackDataFeedback information currently displayed on the HMI.

Details

SystemState

DINT

Check the state transitions diagram to learn more about below states.

valuename
0Initializing
1EnablingToIdle
2EnablingToHeld
3Idle
4Running
5Holding
6Held
7Aborting
8ServosOffAborted
9StoppingToIdle
10StoppingToServosOff
11StoppingToServosOffHeld
12ServosOffReady
13ServosOffHeld
14FatalFault

SystemErrorCode

DINT

Current Error Code for the system, 0 for No Error.

Consult User Guide for full list of Error Codes.

NumberOfQueuedErrors

DINT

In the case that multiple errors have occurred, this variable will list the number of queued variables. Repeated calls to MLxGetErrorDetail will return the most recent error and reduce the size of the queue by 1.

NumberOfAxes

DINT

Number of Axes in current system.

The MotoLogix system must be connected for this value to update properly.

NumberOfRobots

DINT

Number of Robots in current system.

The MotoLogix system must be connected for this value to update properly.

OperationMode

SINT

For future use

JoggingMode

BOOL

Set to 1 to use MLxMoveJogxxx commands.

Set to 0 for MLxRobotMovexxx commands.

UserProgramStart

BOOL

For future use

UserProgramStepContinue

BOOL

For future use

MLxControllerInfo

MLxModuleInfo

Contains information on the MotoLogix system.

Use MLxGetModuleInfo to get the data.

Signals

MLxSignals

Contains additional signals about state of the system.

See MLxSignals data type to get more information.

InternalData

MLxxInternalData

INTERNAL USE ONLY

Axis

ARRAY[0..15] OF MLxAxisData

Axis Configuration and Feedback data.

Robot

ARRAY[0..3] OF MLxRobotData

Robot Configuration and Feedback data

HMIFeedbackConfiguration

MLxHMIFeedbackConfiguration

Configuration for HMIFeedbackData.

HMIFeedbackData

MLxHMIFeedbackData

Robot current TCP position as set in the HMIFeedbackConfiguration parameter.

Pages built with Hugo - 04 Oct 2024 15:36 CEST