Difference between revisions of "EtherCAT:EC SLAVE GET STATE"
m (Text replace - "Axystems:" to "") |
m |
||
Line 2: | Line 2: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
− | This function returns the slave's operational state | + | This function returns the slave's operational state. |
|INPUT= | |INPUT= | ||
− | Axis | + | Axis address (example: Ax.dAdd) |
|OUTPUT= | |OUTPUT= |
Revision as of 13:32, 13 January 2015
This function returns the slave's operational state.
Input
Axis address (example: Ax.dAdd)
Output
None
Return Value
EC_STATE_INIT - 0x01
EC_STATE_PREOP - 0x02
EC_STATE_SAFEOP - 0x04
EC_STATE_OP - 0x08
EC_STATE_INVALID- 0x00
Declaration
public function EC_SLAVE_GET_STATE(byval addr as long) as long
Examples
retVal = EC_SLAVE_GET_STATE(slave_addr[i])