Difference between revisions of "MC-Basic:axis.DRIVECONTROL"
(Reworked for CAN and EtherCAT, added write option, explained return value, removed SERCOS legacy) |
|||
Line 1: | Line 1: | ||
+ | {{Languages|MC-Basic:axis.DRIVECONTROL}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= |
Latest revision as of 01:37, 19 April 2017
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