#include "typedefs_shadow.h"
Go to the source code of this file.
#define __attribute__ | ( | x | ) |
EtherCAT protocol for RoNeX General I/O stacker, 01. Works on Node revision 01
Definition at line 29 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define ANALOGUE_INPUT_JUSTIFICATION RIGHT |
Definition at line 39 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define ANALOGUE_INPUT_RESOLUTION 12 |
Definition at line 38 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define ANALOGUE_OUTPUT_JUSTIFICATION RIGHT |
Definition at line 42 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define ANALOGUE_OUTPUT_RESOLUTION 0 |
Definition at line 41 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define COMMAND_ADDRESS 0x1000 |
ET1200 address containing the Command Structure.
Definition at line 72 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define COMMAND_ARRAY_SIZE_BYTES (sizeof(RONEX_COMMAND_02000001)) |
Definition at line 75 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define COMMAND_ARRAY_SIZE_WORDS (sizeof(RONEX_COMMAND_02000001)/2) |
Definition at line 76 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define MAXIMUM_NUM_STACKERS 1 |
Definition at line 47 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define NUM_ANALOGUE_INPUTS 12 |
Definition at line 37 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define NUM_ANALOGUE_OUTPUTS 0 |
Definition at line 40 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define NUM_DIGITAL_IO 12 |
Definition at line 43 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define NUM_PWM_MODULES (NUM_DIGITAL_IO/2) |
Definition at line 44 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define PRODUCT_ID 0x02000001 |
Definition at line 46 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define PRODUCT_NAME "general_IO" |
Definition at line 45 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define PROTOCOL_TYPE EC_QUEUED |
Definition at line 71 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_OVER_TEMPERATURE_ERROR 0x0002 |
Definition at line 64 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_RESERVED_ERRORS 0x00FC |
Definition at line 63 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_0_ERROR 0x0100 |
Definition at line 59 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_0_PRESENT 0x1000 |
are considered errors.
Definition at line 55 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_1_ERROR 0x0200 |
Definition at line 60 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_1_PRESENT 0x2000 |
Definition at line 56 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_2_ERROR 0x0400 |
Definition at line 61 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_2_PRESENT 0x4000 |
Definition at line 57 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_3_ERROR 0x0800 |
Definition at line 62 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_STACKER_3_PRESENT 0x8000 |
Definition at line 58 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_02000001_FLAGS_UNKNOWN_ERROR 0x0001 |
Definition at line 65 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_COMMAND_02000001_ADC_SAMPLE_RATE_HZ 1000 |
Maximum possible ADC sample rate. Don't send EtherCAT packets faster than this.
Definition at line 36 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_COMMAND_02000001_COMMAND_TYPE_ERROR 0x00FF |
Definition at line 52 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_COMMAND_02000001_COMMAND_TYPE_INVALID 0x0000 |
COMMAND_TYPE values are sent by the host to tell the node.
Definition at line 50 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_COMMAND_02000001_COMMAND_TYPE_NORMAL 0x0001 |
Definition at line 51 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define RONEX_COMMAND_02000001_MASTER_CLOCK_SPEED_HZ 64000000 |
Master clock. This is divided down to create the PWM clock.
Definition at line 35 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define STACKER_TYPE 1 |
range [1..13]
Definition at line 48 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define STATUS_ADDRESS (COMMAND_ADDRESS+sizeof(RONEX_COMMAND_02000001) *4) |
ET1200 address containing the Status Structure.
Definition at line 73 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define STATUS_ARRAY_SIZE_BYTES (sizeof(RONEX_STATUS_02000001 )) |
Definition at line 77 of file Ronex_Protocol_0x02000001_GIO_00.h.
#define STATUS_ARRAY_SIZE_WORDS (sizeof(RONEX_STATUS_02000001 )/2) |
Definition at line 78 of file Ronex_Protocol_0x02000001_GIO_00.h.