Difference between revisions of "EtherCAT:Drive Control Bits"

From SoftMC-Wiki
Jump to: navigation, search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Category
+
{{Languages|EtherCAT:Drive_Control_Bits}}
|description=Drive Control Bits.
+
Behavior of '''Axis.DriveOn, Axis.DriveEnable''' '''and Axis.HaltRestart''' is not defined for EtherCAT and CANopen.
|frontpage=[[Axystems:EtherCAT]]
 
  
This section explains of DS402 implementation of '''Axis.DriveOn''', '''Axis.DriveEnable''' and '''Axis.HaltRestart''' with EtherCAT and CANOpen
+
These properties remain for backward compatibility with SERCOS versions.
  
== Write to DriveOn ==
+
Setting of DriveOn, DriveEnable and HaltRestart to "0" will disable drive.
Writing to DriveOn affects bits 0,1,2 and 3 of Control Word - object 0x6040 mapped to TX_PDO <n/>
 
  
{| class="wikitable" border="1"
+
Setting of DriveOn, DriveEnable and HaltRestart to "1" is not defined and not recommended.<br/>
|-
 
! Value
 
! DS402 state number
 
! DS402 state
 
|-
 
| 1
 
| 3
 
| Switched On
 
|-
 
| 0
 
| 6
 
| Ready to Switch On
 
|}
 
== Query of DriveOn ==
 
Reflects state of bits 0,1,2,3,5 and 6 of Status Word - object 0x6041 mapped to RX_PDO <n/>
 
  
{| class="wikitable" border="1"
+
DS402 Drive Control Object (0x6040.0) can be accessed directly with EC_PDO_WRITE command.<br/>
|-
+
'''Axis.Enable''' property implicitly accesses bit in DS402 Drive Control Object over PDO (object 0x6040.0).<br/>
! Value
+
'''SEE ALSO'''<br/>
! DS402 state number
+
* [[EtherCAT:EC PDO READ|EC_PDO_READ]]
! DS402 state
+
* [[EtherCAT:EC SDO READ|EC_SDO_READ]]
! Bit combination
+
* [[EtherCAT:EC SDO WRITE|EC_SDO_WRITE]]
|-
 
| 1
 
| 3
 
| Switched On
 
| xxxx xxxx x01x 0011b
 
|-
 
| 0
 
| 6
 
| Ready to switchOn
 
| xxxx xxxx x01x 0001b
 
|}
 
 
 
 
 
== Write to DriveEnable ==
 
Writing to DriveEnable affects bits 0,1,2 and 3 of Control Word - object 0x6040 mapped to TX_PDO <n/>
 
 
 
{| class="wikitable" border="1"
 
|-
 
! Value
 
! DS402 state number
 
! DS402 state
 
|-
 
| 1
 
| 4
 
| Operation Enabled
 
|-
 
| 0
 
| 5
 
| Switched On
 
|}
 
== Query of DriveEnable  ==
 
Reflects state of bits 0,1,2,3,5 and 6 of Status Word - object 0x6041 mapped to RX_PDO <n/>
 
 
 
{| class="wikitable" border="1"
 
|-
 
! Value
 
! DS402 state number
 
! DS402 state
 
! Bit combination
 
|-
 
| 1
 
| 3
 
| Operation Enabled
 
| xxxx xxxx x01x 0111b
 
|-
 
| 0
 
| 6
 
| Switched On
 
| xxxx xxxx x01x 0011b
 
|}
 
 
 
== Write to HaltRestart ==
 
Writing to HaltRestartaffects bits 0,1,2 and 3 of Control Word - object 0x6040 mapped to TX_PDO <n/>
 
 
 
{| class="wikitable" border="1"
 
|-
 
! Value
 
! DS402 state number
 
! DS402 state
 
|-
 
| 1
 
| 16
 
| Operation Enabled
 
|-
 
| 0
 
| 11
 
| Quick Stop
 
|}
 
== Query of HaltRestart==
 
Reflects state of bits 0,1,2,3,5 and 6 of Status Word - object 0x6041 mapped to RX_PDO <n/>
 
 
 
{| class="wikitable" border="1"
 
|-
 
! Value
 
! DS402 state number
 
! DS402 state
 
! Bit combination
 
|-
 
| 1
 
| 3
 
| Operation Enabled
 
| xxxx xxxx x01x 0111b
 
|-
 
| 0
 
| 6
 
| Quick Stop Active
 
| xxxx xxxx x00x 0111b
 
|}
 
 
 
[[Category:Axystems:EtherCAT]]
 
[[Category:Control:Online]]
 

Latest revision as of 07:39, 5 May 2017

Language: English  • 中文(简体)‎

Behavior of Axis.DriveOn, Axis.DriveEnable and Axis.HaltRestart is not defined for EtherCAT and CANopen.

These properties remain for backward compatibility with SERCOS versions.

Setting of DriveOn, DriveEnable and HaltRestart to "0" will disable drive.

Setting of DriveOn, DriveEnable and HaltRestart to "1" is not defined and not recommended.

DS402 Drive Control Object (0x6040.0) can be accessed directly with EC_PDO_WRITE command.
Axis.Enable property implicitly accesses bit in DS402 Drive Control Object over PDO (object 0x6040.0).
SEE ALSO