MC-Basic:axis.DRIVECONTROL

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property allows the user to read the control word being sent to the drive.
From version 0.4.17.2 property is read-write for EtherCAT and CAN systems.
EtherCAT and CANOpen systems:
Value written to DriveControl is transferred "as is" to drive via drive control (CANOpen object 0x6040/0) in case this object is mapped to PDO.
Query of DriveControl returns its shadow value in 16 upper bits.

The control word is transmitted in each motion bus cycle cycle, and is composed of 16 bits.

Short form

<axis>.DCon

Syntax

?<axis>.DriveControl

Availability

All versions

Type

Long

Range

Bit 15-0
Undefined

Bit 31-16
Return value that is written to DriveControl

Scope

Configuration, Task or Terminal

Limitations

Effect only in Operational Mode

Examples

?a1.dcon
a1.dcon=6
a1.dcon=7
a1.dcon=15
a1.dcon=31

See Also