Motion Master
Loading...
Searching...
No Matches
Classes | Macros
cia402_drive.h File Reference
#include <chrono>
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <mutex>
#include <string>
#include <unordered_map>
#include <variant>
#include <vector>
#include "dictionary_symbols.h"
#include "virtual_parameter.h"
Include dependency graph for cia402_drive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Cia402Drive
 

Macros

#define CIA402_STATUS_WORD_MASQ_A   0x6fu
 
#define CIA402_STATUS_WORD_MASQ_B   0x4fu
 
#define CIA402_STATUS_WORD_MASQ_WARN   0x80u
 
#define CIA402_STATUS_NOT_READY   0x00u /* masq B */
 
#define CIA402_STATUS_SWITCH_ON_DISABLED   0x40u /* masq B */
 
#define CIA402_STATUS_READY_SWITCH_ON   0x21u
 
#define CIA402_STATUS_SWITCHED_ON   0x23u
 
#define CIA402_STATUS_OP_ENABLED   0x27u
 
#define CIA402_STATUS_QUICK_STOP_ACTIVE   0x07u
 
#define CIA402_STATUS_FAULT_REACTION_ACTIVE   0x0fu /* masq B */
 
#define CIA402_STATUS_FAULT   0x08u /* masq B */
 
#define CIA402_STATUS_INTERNAL_LIMIT_REACHED   0x0800u
 
#define CIA402_CONTROL_BIT_ENABLE_OP   0x08u
 
#define CIA402_CONTROL_BIT_QUICK_STOP   0x04u
 
#define CIA402_CONTROL_BIT_ENABLE_VOLTAGE   0x02u
 
#define CIA402_CONTROL_BIT_SWITCH_ON   0x01u
 
#define CIA402_CONTROL_BIT_FAULT_RESET   0x80u
 
#define FAULT_RESET_TIMEOUT_ATTEMPTS   2000
 

Macro Definition Documentation

◆ CIA402_CONTROL_BIT_ENABLE_OP

#define CIA402_CONTROL_BIT_ENABLE_OP   0x08u

◆ CIA402_CONTROL_BIT_ENABLE_VOLTAGE

#define CIA402_CONTROL_BIT_ENABLE_VOLTAGE   0x02u

◆ CIA402_CONTROL_BIT_FAULT_RESET

#define CIA402_CONTROL_BIT_FAULT_RESET   0x80u

◆ CIA402_CONTROL_BIT_QUICK_STOP

#define CIA402_CONTROL_BIT_QUICK_STOP   0x04u

◆ CIA402_CONTROL_BIT_SWITCH_ON

#define CIA402_CONTROL_BIT_SWITCH_ON   0x01u

◆ CIA402_STATUS_FAULT

#define CIA402_STATUS_FAULT   0x08u /* masq B */

◆ CIA402_STATUS_FAULT_REACTION_ACTIVE

#define CIA402_STATUS_FAULT_REACTION_ACTIVE   0x0fu /* masq B */

◆ CIA402_STATUS_INTERNAL_LIMIT_REACHED

#define CIA402_STATUS_INTERNAL_LIMIT_REACHED   0x0800u

◆ CIA402_STATUS_NOT_READY

#define CIA402_STATUS_NOT_READY   0x00u /* masq B */

◆ CIA402_STATUS_OP_ENABLED

#define CIA402_STATUS_OP_ENABLED   0x27u

◆ CIA402_STATUS_QUICK_STOP_ACTIVE

#define CIA402_STATUS_QUICK_STOP_ACTIVE   0x07u

◆ CIA402_STATUS_READY_SWITCH_ON

#define CIA402_STATUS_READY_SWITCH_ON   0x21u

◆ CIA402_STATUS_SWITCH_ON_DISABLED

#define CIA402_STATUS_SWITCH_ON_DISABLED   0x40u /* masq B */

◆ CIA402_STATUS_SWITCHED_ON

#define CIA402_STATUS_SWITCHED_ON   0x23u

◆ CIA402_STATUS_WORD_MASQ_A

#define CIA402_STATUS_WORD_MASQ_A   0x6fu

◆ CIA402_STATUS_WORD_MASQ_B

#define CIA402_STATUS_WORD_MASQ_B   0x4fu

◆ CIA402_STATUS_WORD_MASQ_WARN

#define CIA402_STATUS_WORD_MASQ_WARN   0x80u

◆ FAULT_RESET_TIMEOUT_ATTEMPTS

#define FAULT_RESET_TIMEOUT_ATTEMPTS   2000