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

Go to the source code of this file.

Classes

struct  __attribute__
struct  __attribute__
struct  __attribute__
struct  IMPULSE_SAMPLE

Defines

#define __attribute__(x)
 EtherCAT protocol for RoNeX TCAT stacker, 02.
#define ANALOGUE_INPUT_JUSTIFICATION   RIGHT
#define ANALOGUE_INPUT_RESOLUTION   0
#define ANALOGUE_OUTPUT_JUSTIFICATION   RIGHT
#define ANALOGUE_OUTPUT_RESOLUTION   0
#define COMMAND_ADDRESS   0x1000
 ET1200 address containing the Command Structure.
#define COMMAND_ARRAY_SIZE_BYTES   (sizeof(RONEX_COMMAND_02000003))
#define COMMAND_ARRAY_SIZE_WORDS   (sizeof(RONEX_COMMAND_02000003)/2)
#define COMMAND_DATA_MAX_SIZE   32
#define FPI_FIXED_POINT_TO_FLOAT(fpi)   ((float)fpi * (1.0f/64.0f))
#define IMPLEMENTED_FEATURE_CHANNEL_SETUP   0x0001
#define IMPULSE_RESPONSE_SIZE   64
#define MAXIMUM_NUM_STACKERS   2
#define NUM_ANALOGUE_INPUTS   0
#define NUM_ANALOGUE_OUTPUTS   0
#define NUM_DIGITAL_IO   0
#define NUM_RECEIVERS   4
#define NUM_RESERVED_WORDS   8
#define PAYLOAD_MAX_SIZE   32
#define PRODUCT_ID   0x02000003
#define PRODUCT_NAME   "tcat"
#define PROTOCOL_TYPE   EC_QUEUED
#define RONEX_02000003_FLAGS_OVER_TEMPERATURE_ERROR   0x0002
#define RONEX_02000003_FLAGS_RESERVED_ERRORS   0x00FC
#define RONEX_02000003_FLAGS_STACKER_0_ERROR   0x0100
#define RONEX_02000003_FLAGS_STACKER_0_PRESENT   0x1000
#define RONEX_02000003_FLAGS_STACKER_1_ERROR   0x0200
#define RONEX_02000003_FLAGS_STACKER_1_PRESENT   0x2000
#define RONEX_02000003_FLAGS_STACKER_2_ERROR   0x0400
#define RONEX_02000003_FLAGS_STACKER_2_PRESENT   0x4000
#define RONEX_02000003_FLAGS_STACKER_3_ERROR   0x0800
#define RONEX_02000003_FLAGS_STACKER_3_PRESENT   0x8000
#define RONEX_02000003_FLAGS_UNKNOWN_ERROR   0x0001
#define RONEX_COMMAND_02000003_COMMAND_TYPE_CONFIG_INFO   0x0002
 This requests a CONFIG_INFO_02000002 block from the node.
#define RONEX_COMMAND_02000003_COMMAND_TYPE_ERROR   0x00FF
 If this is returned from the node, then some kind of error has happened.
#define RONEX_COMMAND_02000003_COMMAND_TYPE_INVALID   0x0000
 Zeros imply a failed EtherCAT packet, so this it taken to be invalid.
#define RONEX_COMMAND_02000003_COMMAND_TYPE_NORMAL   0x0001
 This is for normal operation.
#define RONEX_COMMAND_02000003_MASTER_CLOCK_SPEED_HZ   64000000
 Master clock. This is divided down to create the SPI clock.
#define RONEX_COMMAND_STRUCT   RONEX_COMMAND_02000003
 Required for et1200_interface.h to be generic.
#define RONEX_STATUS_STRUCT   RONEX_STATUS_02000003
 Required for et1200_interface.h to be generic.
#define STACKER_TYPE   2
 range [1..13]
#define STATUS_ADDRESS   (COMMAND_ADDRESS+sizeof(RONEX_COMMAND_02000003) *4)
 ET1200 address containing the Status Structure.
#define STATUS_ARRAY_SIZE_BYTES   (sizeof(RONEX_STATUS_02000003))
#define STATUS_ARRAY_SIZE_WORDS   (sizeof(RONEX_STATUS_02000003)/2)
#define TCAT_CHANNEL_1   0x0001
#define TCAT_CHANNEL_2   0x0002
#define TCAT_CHANNEL_3   0x0003
#define TCAT_CHANNEL_4   0x0004
#define TCAT_CHANNEL_5   0x0005
#define TCAT_CHANNEL_7   0x0006
#define TCAT_DATA_RATE_110KBPS   0x1000
#define TCAT_DATA_RATE_6810KBPS   0x3000
#define TCAT_DATA_RATE_850KBPS   0x2000
#define TCAT_NON_STD_FRAME   0x2000
#define TCAT_PREAMBLE_1   0x0010
#define TCAT_PREAMBLE_2   0x0020
#define TCAT_PREAMBLE_3   0x0030
#define TCAT_PREAMBLE_4   0x0040
#define TCAT_PREAMBLE_5   0x0050
#define TCAT_PREAMBLE_6   0x0060
#define TCAT_PREAMBLE_7   0x0070
#define TCAT_PREAMBLE_8   0x0080
#define TCAT_PREAMBLE_LEN_1024   0x0400
#define TCAT_PREAMBLE_LEN_128   0x0100
#define TCAT_PREAMBLE_LEN_1536   0x0500
#define TCAT_PREAMBLE_LEN_2048   0x0600
#define TCAT_PREAMBLE_LEN_256   0x0200
#define TCAT_PREAMBLE_LEN_4096   0x0700
#define TCAT_PREAMBLE_LEN_512   0x0300
#define TCAT_PREAMBLE_LEN_64   0x0000
#define TCAT_PRF_16MHZ   0x0000
#define TCAT_PRF_64MHZ   0x0800
#define TCAT_STD_FRAME   0x1000

Define Documentation

#define __attribute__ (   x)

EtherCAT protocol for RoNeX TCAT stacker, 02.

Definition at line 28 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define ANALOGUE_INPUT_JUSTIFICATION   RIGHT

Definition at line 35 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define ANALOGUE_INPUT_RESOLUTION   0

Definition at line 34 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define ANALOGUE_OUTPUT_JUSTIFICATION   RIGHT

Definition at line 38 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 37 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define COMMAND_ADDRESS   0x1000

ET1200 address containing the Command Structure.

Definition at line 217 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define COMMAND_ARRAY_SIZE_BYTES   (sizeof(RONEX_COMMAND_02000003))

Definition at line 207 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define COMMAND_ARRAY_SIZE_WORDS   (sizeof(RONEX_COMMAND_02000003)/2)

Definition at line 208 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define COMMAND_DATA_MAX_SIZE   32

Definition at line 48 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define FPI_FIXED_POINT_TO_FLOAT (   fpi)    ((float)fpi * (1.0f/64.0f))

Use this to convert the integer FPI value from the Status struct into a floating point value.

Definition at line 139 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define IMPLEMENTED_FEATURE_CHANNEL_SETUP   0x0001

Implemented features -------------------- Due to the complexity of the requirements for this module, and the need to have something working very quickly, not all of the features will be implemented immediately. Essential features will be implemented first, with less important ones coming later.

You can ask the node which features are implemented using the RONEX_COMMAND_02000003_COMMAND_TYPE_CONFIG_INFO. The returned CONFIG_INFO_02000003 contains the implemented_features word.

Definition at line 131 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define IMPULSE_RESPONSE_SIZE   64

Definition at line 44 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define MAXIMUM_NUM_STACKERS   2

Definition at line 42 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define NUM_ANALOGUE_INPUTS   0

Definition at line 33 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define NUM_ANALOGUE_OUTPUTS   0

Definition at line 36 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define NUM_DIGITAL_IO   0

Definition at line 39 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define NUM_RECEIVERS   4

Definition at line 45 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define NUM_RESERVED_WORDS   8

Definition at line 46 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define PAYLOAD_MAX_SIZE   32

Definition at line 47 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define PRODUCT_ID   0x02000003

Definition at line 41 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define PRODUCT_NAME   "tcat"

Definition at line 40 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define PROTOCOL_TYPE   EC_QUEUED

Definition at line 216 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 77 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 76 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 72 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Flags -----

Definition at line 68 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 73 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 69 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 74 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 70 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 75 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 71 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 78 of file Ronex_Protocol_0x02000003_TCAT_00.h.

This requests a CONFIG_INFO_02000002 block from the node.

Definition at line 60 of file Ronex_Protocol_0x02000003_TCAT_00.h.

If this is returned from the node, then some kind of error has happened.

Definition at line 61 of file Ronex_Protocol_0x02000003_TCAT_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 58 of file Ronex_Protocol_0x02000003_TCAT_00.h.

This is for normal operation.

Definition at line 59 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Master clock. This is divided down to create the SPI clock.

Definition at line 32 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define RONEX_COMMAND_STRUCT   RONEX_COMMAND_02000003

Required for et1200_interface.h to be generic.

Definition at line 220 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define RONEX_STATUS_STRUCT   RONEX_STATUS_02000003

Required for et1200_interface.h to be generic.

Definition at line 221 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define STACKER_TYPE   2

range [1..13]

Definition at line 43 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define STATUS_ADDRESS   (COMMAND_ADDRESS+sizeof(RONEX_COMMAND_02000003) *4)

ET1200 address containing the Status Structure.

Definition at line 218 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define STATUS_ARRAY_SIZE_BYTES   (sizeof(RONEX_STATUS_02000003))

Definition at line 209 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define STATUS_ARRAY_SIZE_WORDS   (sizeof(RONEX_STATUS_02000003)/2)

Definition at line 210 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_1   0x0001

TCAT Channel Configuration --------------------------

Definition at line 85 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_2   0x0002

Definition at line 86 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_3   0x0003

Definition at line 87 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_4   0x0004

Definition at line 88 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_5   0x0005

Definition at line 89 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_CHANNEL_7   0x0006

Definition at line 90 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_DATA_RATE_110KBPS   0x1000

Definition at line 111 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_DATA_RATE_6810KBPS   0x3000

Definition at line 113 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_DATA_RATE_850KBPS   0x2000

Definition at line 112 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_NON_STD_FRAME   0x2000

Definition at line 116 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_1   0x0010

Definition at line 92 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_2   0x0020

Definition at line 93 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_3   0x0030

Definition at line 94 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_4   0x0040

Definition at line 95 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_5   0x0050

Definition at line 96 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_6   0x0060

Definition at line 97 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_7   0x0070

Definition at line 98 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_8   0x0080

Definition at line 99 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_1024   0x0400

Definition at line 104 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_128   0x0100

Definition at line 101 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_1536   0x0500

Definition at line 105 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_2048   0x0600

Definition at line 106 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_256   0x0200

Definition at line 102 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_4096   0x0700

Definition at line 107 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_512   0x0300

Definition at line 103 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PREAMBLE_LEN_64   0x0000

Definition at line 100 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PRF_16MHZ   0x0000

Definition at line 108 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_PRF_64MHZ   0x0800

Definition at line 109 of file Ronex_Protocol_0x02000003_TCAT_00.h.

#define TCAT_STD_FRAME   0x1000

Definition at line 115 of file Ronex_Protocol_0x02000003_TCAT_00.h.



sr_ronex_external_protocol
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless
autogenerated on Fri Aug 28 2015 13:12:14