#include "typedefs_shadow.h"
Go to the source code of this file.
#define __attribute__ | ( | x | ) |
EtherCAT protocol for RoNeX SPI stacker, 02.
Definition at line 28 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define ANALOGUE_INPUT_JUSTIFICATION_02000009 RIGHT |
Definition at line 35 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define ANALOGUE_INPUT_RESOLUTION_02000009 12 |
Definition at line 34 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define ANALOGUE_OUTPUT_JUSTIFICATION_02000009 RIGHT |
Definition at line 38 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define ANALOGUE_OUTPUT_RESOLUTION_02000009 0 |
Definition at line 37 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define COMMAND_ADDRESS_02000009 0x1000 |
ET1200 address containing the Command Structure.
Definition at line 147 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define COMMAND_ARRAY_EXPECTED_SIZE_BYTES_02000009 16 |
Definition at line 141 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define COMMAND_ARRAY_SIZE_BYTES_02000009 (sizeof(RONEX_COMMAND_02000009)) |
Definition at line 136 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define COMMAND_ARRAY_SIZE_WORDS_02000009 (sizeof(RONEX_COMMAND_02000009)/2) |
Definition at line 137 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define MAXIMUM_NUM_STACKERS_02000009 2 |
Definition at line 42 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define NUM_ANALOGUE_INPUTS_02000009 6 |
Definition at line 33 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define NUM_ANALOGUE_OUTPUTS_02000009 0 |
Definition at line 36 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define NUM_DIGITAL_IO_02000009 6 |
Definition at line 39 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define PRODUCT_ID_02000009 0x02000009 |
Definition at line 41 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define PRODUCT_NAME_02000009 "dc_motor_small" |
Definition at line 40 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define PROTOCOL_TYPE EC_QUEUED |
Definition at line 146 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_OVER_TEMPERATURE_ERROR 0x0002 |
Definition at line 75 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_RESERVED_ERRORS 0x00FC |
Definition at line 74 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_0_ERROR 0x0100 |
Definition at line 70 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_0_PRESENT 0x1000 |
Flags ----- Available in RONEX_STATUS_02000009.config_info.flags To receive this information, use RONEX_COMMAND_02000009_COMMAND_TYPE_CONFIG_INFO in the RONEX_COMMAND_02000009 struct
Definition at line 66 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_1_ERROR 0x0200 |
Definition at line 71 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_1_PRESENT 0x2000 |
Definition at line 67 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_2_ERROR 0x0400 |
Definition at line 72 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_2_PRESENT 0x4000 |
Definition at line 68 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_3_ERROR 0x0800 |
Definition at line 73 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_STACKER_3_PRESENT 0x8000 |
Definition at line 69 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_FLAGS_UNKNOWN_ERROR 0x0001 |
Definition at line 76 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_DIRECTION_BACK 0x0000 |
Definition at line 84 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_DIRECTION_FORE 0x0001 |
Definition at line 83 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_DISABLE 0x0010 |
Definition at line 92 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_ENABLE 0x0000 |
Definition at line 91 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_SIGN_NEG 0x0008 |
Definition at line 90 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_SIGN_POS 0x0000 |
Definition at line 89 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MODE_BRAKE 0x0004 |
Definition at line 87 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MODE_NO_BRAKE 0x0000 |
Definition at line 88 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MOTOR_KILL_DISABLE 0x0000 |
Definition at line 94 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MOTOR_KILL_ENABLE 0x0020 |
Definition at line 93 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_SLEEP 0x0000 |
Definition at line 86 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_COMMAND_FLAG_WAKE 0x0002 |
Definition at line 85 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_STATUS_FLAG_I_DOWN 0x0008 |
Definition at line 81 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_STATUS_FLAG_I_UP 0x0004 |
Definition at line 80 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_STATUS_FLAG_R_DOWN 0x0002 |
Definition at line 79 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_02000009_MOTOR_STATUS_FLAG_R_UP 0x0001 |
Definition at line 78 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_02000009_ADC_SAMPLE_RATE_HZ 1000 |
Maximum possible ADC sample rate. Don't send EtherCAT packets faster than this.
Definition at line 32 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_ERROR 0x0002 |
This is for normal operation.
Definition at line 56 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_INVALID 0x0000 |
Zeros imply a failed EtherCAT packet, so this it taken to be invalid.
Command Types ------------- COMMAND_TYPE values are sent by the host to tell the node the type of data contained in the COMMAND struct, or to request specific info from the node. The node will always return the same command_type in its status packet.
Definition at line 54 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_NORMAL 0x0001 |
This is for normal operation.
Definition at line 55 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_02000009_MASTER_CLOCK_SPEED_HZ 64000000 |
Master clock. This is divided down to create the SPI clock.
Definition at line 31 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_COMMAND_STRUCT_02000009 RONEX_COMMAND_02000009 |
Required for et1200_interface.h to be generic.
Definition at line 150 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define RONEX_STATUS_STRUCT_02000009 RONEX_STATUS_02000009 |
Required for et1200_interface.h to be generic.
Definition at line 151 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define STACKER_TYPE_02000009 4 |
range [1..13]
Definition at line 43 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define STATUS_ADDRESS_02000009 (COMMAND_ADDRESS_02000009+sizeof(RONEX_COMMAND_02000009) *4) |
ET1200 address containing the Status Structure.
Definition at line 148 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define STATUS_ARRAY_EXPECTED_SIZE_BYTES_02000009 24 |
Definition at line 142 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define STATUS_ARRAY_SIZE_BYTES_02000009 (sizeof(RONEX_STATUS_02000009)) |
Definition at line 138 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.
#define STATUS_ARRAY_SIZE_WORDS_02000009 (sizeof(RONEX_STATUS_02000009)/2) |
Definition at line 139 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.