Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::DeviceStateInfo Struct Reference

Current AL state snapshot for a single device. More...

#include <device_manager.h>

Public Attributes

uint16_t slavePosition
 1-based position on the fieldbus.
 
uint16_t alStatus
 Raw AL Status register (bits 3:0 = state, bit 4 = error indicator).
 
uint16_t alState
 AL state decoded from alStatus (1=Init, 2=PreOp, 3=Boot, 4=SafeOp, 8=Op).
 
bool error
 True when the AL Status error indicator bit is set.
 
uint16_t alStatusCode
 AL Status Code (ETG.1000.6 §6.4.1); non-zero when error is true.
 

Detailed Description

Current AL state snapshot for a single device.

Member Data Documentation

◆ alState

uint16_t mm::node::DeviceStateInfo::alState

AL state decoded from alStatus (1=Init, 2=PreOp, 3=Boot, 4=SafeOp, 8=Op).

◆ alStatus

uint16_t mm::node::DeviceStateInfo::alStatus

Raw AL Status register (bits 3:0 = state, bit 4 = error indicator).

◆ alStatusCode

uint16_t mm::node::DeviceStateInfo::alStatusCode

AL Status Code (ETG.1000.6 §6.4.1); non-zero when error is true.

◆ error

bool mm::node::DeviceStateInfo::error

True when the AL Status error indicator bit is set.

◆ slavePosition

uint16_t mm::node::DeviceStateInfo::slavePosition

1-based position on the fieldbus.


The documentation for this struct was generated from the following file: