11.01.2014 Views

CANopen Slave

CANopen Slave

CANopen Slave

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Dual-Port-Memory 36/112<br />

Communication State (All Implementations)<br />

The communication state field contains information regarding the current network status of the<br />

communication channel. Depending on the implementation, all or a subset of the definitions below is<br />

supported.<br />

• UNKNOWN #define RCX_COMM_STATE_UNKNOWN 0x00000000<br />

• NOT_CONFIGURED #define RCX_COMM_STATE_NOT_CONFIGURED 0x00000001<br />

• STOP #define RCX_COMM_STATE_STOP 0x00000002<br />

• IDLE #define RCX_COMM_STATE_IDLE 0x00000003<br />

• OPERATE #define RCX_COMM_STATE_OPERATE 0x00000004<br />

Communication Channel Error (All Implementations)<br />

This field holds the current error code of the communication channel. If the cause of error is resolved,<br />

the communication error field is set to zero (= RCX_SYS_SUCCESS) again. Not all of the error codes<br />

are supported in every implementation. Protocol stacks may use a subset of the error codes below.<br />

• SUCCESS #define RCX_SYS_SUCCESS 0x00000000<br />

Runtime Failures<br />

• WATCHDOG TIMEOUT #define RCX_E_WATCHDOG_TIMEOUT 0xC000000C<br />

Initialization Failures<br />

• (General) INITIALIZATION FAULT<br />

#define RCX_E_INIT_FAULT<br />

• DATABASE ACCESS FAILED #define RCX_E_DATABASE_ACCESS_FAILED<br />

0xC0000100<br />

0xC0000101<br />

Configuration Failures<br />

• NOT CONFIGURED #define RCX_E_NOT_CONFIGURED 0xC0000119<br />

• (General) CONFIGURATION FAULT<br />

#define RCX_E_CONFIGURATION_FAULT<br />

• INCONSISTENT DATA SET #define RCX_E_INCONSISTENT_DATA_SET<br />

0xC0000120<br />

0xC0000121<br />

• DATA SET MISMATCH #define RCX_E_DATA_SET_MISMATCH 0xC0000122<br />

• INSUFFICIENT LICENSE #define RCX_E_INSUFFICIENT_LICENSE<br />

0xC0000123<br />

• PARAMETER ERROR #define RCX_E_PARAMETER_ERROR 0xC0000124<br />

• INVALID NETWORK ADDRESS #define RCX_E_INVALID_NETWORK_ADDRESS<br />

0xC0000125<br />

• NO SECURITY MEMORY #define RCX_E_NO_SECURITY_MEMORY 0xC0000126<br />

<strong>CANopen</strong> <strong>Slave</strong> |<br />

DOC070901API06EN | Revision 6 | English | 2010-06 | Released | Public © Hilscher, 2006-2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!