Classes | Defines
Ronex_Protocol_0x02000009_DC_Motor_Small_00.h File Reference
#include "typedefs_shadow.h"
Include dependency graph for Ronex_Protocol_0x02000009_DC_Motor_Small_00.h:

Go to the source code of this file.

Classes

struct  __attribute__
struct  __attribute__
struct  __attribute__
struct  __attribute__

Defines

#define __attribute__(x)
 EtherCAT protocol for RoNeX SPI stacker, 02.
#define ANALOGUE_INPUT_JUSTIFICATION_02000009   RIGHT
#define ANALOGUE_INPUT_RESOLUTION_02000009   12
#define ANALOGUE_OUTPUT_JUSTIFICATION_02000009   RIGHT
#define ANALOGUE_OUTPUT_RESOLUTION_02000009   0
#define COMMAND_ADDRESS_02000009   0x1000
 ET1200 address containing the Command Structure.
#define COMMAND_ARRAY_EXPECTED_SIZE_BYTES_02000009   16
#define COMMAND_ARRAY_SIZE_BYTES_02000009   (sizeof(RONEX_COMMAND_02000009))
#define COMMAND_ARRAY_SIZE_WORDS_02000009   (sizeof(RONEX_COMMAND_02000009)/2)
#define MAXIMUM_NUM_STACKERS_02000009   2
#define NUM_ANALOGUE_INPUTS_02000009   6
#define NUM_ANALOGUE_OUTPUTS_02000009   0
#define NUM_DIGITAL_IO_02000009   6
#define PRODUCT_ID_02000009   0x02000009
#define PRODUCT_NAME_02000009   "dc_motor_small"
#define PROTOCOL_TYPE   EC_QUEUED
#define RONEX_02000009_FLAGS_OVER_TEMPERATURE_ERROR   0x0002
#define RONEX_02000009_FLAGS_RESERVED_ERRORS   0x00FC
#define RONEX_02000009_FLAGS_STACKER_0_ERROR   0x0100
#define RONEX_02000009_FLAGS_STACKER_0_PRESENT   0x1000
#define RONEX_02000009_FLAGS_STACKER_1_ERROR   0x0200
#define RONEX_02000009_FLAGS_STACKER_1_PRESENT   0x2000
#define RONEX_02000009_FLAGS_STACKER_2_ERROR   0x0400
#define RONEX_02000009_FLAGS_STACKER_2_PRESENT   0x4000
#define RONEX_02000009_FLAGS_STACKER_3_ERROR   0x0800
#define RONEX_02000009_FLAGS_STACKER_3_PRESENT   0x8000
#define RONEX_02000009_FLAGS_UNKNOWN_ERROR   0x0001
#define RONEX_02000009_MOTOR_COMMAND_FLAG_DIRECTION_BACK   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_DIRECTION_FORE   0x0001
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_DISABLE   0x0010
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_ENABLE   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_SIGN_NEG   0x0008
#define RONEX_02000009_MOTOR_COMMAND_FLAG_INDEX_SIGN_POS   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MODE_BRAKE   0x0004
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MODE_NO_BRAKE   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MOTOR_KILL_DISABLE   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_MOTOR_KILL_ENABLE   0x0020
#define RONEX_02000009_MOTOR_COMMAND_FLAG_SLEEP   0x0000
#define RONEX_02000009_MOTOR_COMMAND_FLAG_WAKE   0x0002
#define RONEX_02000009_MOTOR_STATUS_FLAG_I_DOWN   0x0008
#define RONEX_02000009_MOTOR_STATUS_FLAG_I_UP   0x0004
#define RONEX_02000009_MOTOR_STATUS_FLAG_R_DOWN   0x0002
#define RONEX_02000009_MOTOR_STATUS_FLAG_R_UP   0x0001
#define RONEX_COMMAND_02000009_ADC_SAMPLE_RATE_HZ   1000
 Maximum possible ADC sample rate. Don't send EtherCAT packets faster than this.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_ERROR   0x0002
 This is for normal operation.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_INVALID   0x0000
 Zeros imply a failed EtherCAT packet, so this it taken to be invalid.
#define RONEX_COMMAND_02000009_COMMAND_TYPE_NORMAL   0x0001
 This is for normal operation.
#define RONEX_COMMAND_02000009_MASTER_CLOCK_SPEED_HZ   64000000
 Master clock. This is divided down to create the SPI clock.
#define RONEX_COMMAND_STRUCT_02000009   RONEX_COMMAND_02000009
 Required for et1200_interface.h to be generic.
#define RONEX_STATUS_STRUCT_02000009   RONEX_STATUS_02000009
 Required for et1200_interface.h to be generic.
#define STACKER_TYPE_02000009   4
 range [1..13]
#define STATUS_ADDRESS_02000009   (COMMAND_ADDRESS_02000009+sizeof(RONEX_COMMAND_02000009) *4)
 ET1200 address containing the Status Structure.
#define STATUS_ARRAY_EXPECTED_SIZE_BYTES_02000009   24
#define STATUS_ARRAY_SIZE_BYTES_02000009   (sizeof(RONEX_STATUS_02000009))
#define STATUS_ARRAY_SIZE_WORDS_02000009   (sizeof(RONEX_STATUS_02000009)/2)

Define Documentation

#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 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_SIZE_BYTES_02000009   (sizeof(RONEX_COMMAND_02000009))
#define COMMAND_ARRAY_SIZE_WORDS_02000009   (sizeof(RONEX_COMMAND_02000009)/2)
#define NUM_DIGITAL_IO_02000009   6
#define PRODUCT_ID_02000009   0x02000009
#define PRODUCT_NAME_02000009   "dc_motor_small"
#define PROTOCOL_TYPE   EC_QUEUED

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.

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.

This is for normal operation.

Definition at line 56 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.

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.

This is for normal operation.

Definition at line 55 of file Ronex_Protocol_0x02000009_DC_Motor_Small_00.h.

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_SIZE_BYTES_02000009   (sizeof(RONEX_STATUS_02000009))
#define STATUS_ARRAY_SIZE_WORDS_02000009   (sizeof(RONEX_STATUS_02000009)/2)


sr_ronex_external_protocol
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless
autogenerated on Thu Jun 6 2019 21:21:43