INOS
|
Fieldbus module definitions. More...
Go to the source code of this file.
Macros | |
#define | DF_INOS_BUS_MOD_DBT "INOS-BUS-MOD" |
#define | DF_INOS_BUS_MOD_ADDR_DEFAULT 0xFFFF |
default address | |
#define | DF_INOS_BUS_MOD_VADDR_DEFAULT 0xFF |
default virtual address | |
#define | DF_INOS_BUS_MOD_VADDR_MIN 0x01 |
min. allowed virtual address | |
#define | DF_INOS_BUS_MOD_VADDR_MAX 0xFE |
inos bus module states | |
#define | DF_INOS_BUS_MOD_STAT_DISABLED 0 |
state DISABLED | |
#define | DF_INOS_BUS_MOD_STAT_OFFLINE 1 |
state OFFLINE | |
#define | DF_INOS_BUS_MOD_STAT_ONLINE 2 |
state ONLINE | |
#define | DF_INOS_BUS_MOD_STAT_READING_EEPROM 3 |
state READING_EEPROM | |
#define | DF_INOS_BUS_MOD_STAT_WRITING_EEPROM 4 |
state WRITING_EEPROM | |
#define | DF_INOS_BUS_MOD_STAT_READING_CONFIG 5 |
state READING_CONFIG | |
#define | DF_INOS_BUS_MOD_STAT_ISP 6 |
state ISP | |
#define | DF_INOS_BUS_MOD_STAT_GAL_REV 7 |
inos bus module options | |
#define | DF_INOS_BUS_MOD_OPTION_AUTO_GEN_IND 0x00000001 |
auto generate channel index | |
#define | DF_INOS_BUS_MOD_OPTION_DO_NOT_CREATE 0x00000002 |
do not create bus module at startup | |
#define | DF_INOS_BUS_MOD_OPTION_NO_WATCHDOG 0x00000004 |
do not create watchdog jobs | |
#define | DF_INOS_BUS_MOD_OPTION_DO_NOT_SCAN_PORTS 0x00000008 |
do not scan ports (use dt2 instead) | |
#define | DF_INOS_BUS_MOD_OPTION_DO_NOT_CREATE_PORTS 0x00000010 |
do not create ports | |
#define | DF_INOS_BUS_MOD_OPTION_DOWNSAMPLE_3PORT_CHANNELS 0x08000000 |
down sample 3port ram channels to 1ms | |
#define | DF_INOS_BUS_MOD_OPTION_CHANNEL_NAMES_UNIQUE 0x10000000 |
all channel names are unique | |
#define | DF_INOS_BUS_MOD_OPTION_APPEND_ADDR 0x20000000 |
append address to module name | |
#define | DF_INOS_BUS_MOD_OPTION_NO_MOD_NAME_IN_CHANNELS 0x40000000 |
do not prepend channels with module name | |
#define | DF_INOS_BUS_MOD_OPTION_ISPLOAD_AVAILABLE 0x80000000 |
inos bus module errors | |
#define | DF_INOS_BUS_MOD_ERR_DIAGNOSTIC 0x00000001 |
diagnosis error | |
#define | DF_INOS_BUS_MOD_ERR_READING_EEPROM 0x00000002 |
reading eeprom error | |
#define | DF_INOS_BUS_MOD_ERR_WRITING_EEPROM 0x00000004 |
writing eeprom error | |
#define | DF_INOS_BUS_MOD_ERR_WRONG_TYPE 0x00000008 |
wrong module type | |
#define | DF_INOS_BUS_MOD_ERR_WRONG_VERSION 0x00000010 |
wrong module version | |
#define | DF_INOS_BUS_MOD_ERR_WRONG_VENDORID 0x00000020 |
wrong vendor id | |
#define | DF_INOS_BUS_MOD_ERR_WRONG_GALREV 0x00000040 |
wrong gal revision | |
#define | DF_INOS_BUS_MOD_ERR_READING_CONFIG 0x00000080 |
reading config error | |
#define | DF_INOS_BUS_MOD_ERR_WRITING_CONFIG 0x00000100 |
writing config error | |
#define | DF_INOS_BUS_MOD_ERR_NOT_READY 0x00000200 |
not ready | |
#define | DF_INOS_BUS_MOD_ERR_STATE_CHANGE 0x00000400 |
inos bus module warnings | |
#define | DF_INOS_BUS_MOD_WARN_DIAGNOSTIC 0x00000001 |
inos bus module flags (resetting) | |
flags till 0x0000 ffff will be reset upon a fresh slave scan (e.g. whenever the link goes down and up again) | |
#define | DF_INOS_BUS_MOD_FLG_INCO 0x00000001 |
module supports inco communication | |
#define | DF_INOS_BUS_MOD_FLG_FLOAT 0x00000002 |
module supports floating point | |
#define | DF_INOS_BUS_MOD_FLG_LITTLE 0x00000004 |
module bases on little endian cpu | |
#define | DF_INOS_BUS_MOD_FLG_THREEPORT 0x00000008 |
module has three port ram | |
#define | DF_INOS_BUS_MOD_FLG_INCO_512 0x00000010 |
module has 512 bytes inco buffer | |
#define | DF_INOS_BUS_MOD_FLG_SAFETY 0x00000020 |
module has safety sub targets | |
#define | DF_INOS_BUS_MOD_FLG_INOSV 0x00000040 |
module is INOSV based | |
#define | DF_INOS_BUS_MOD_FLG_INCOV 0x00000080 |
module is INCOV based | |
#define | DF_INOS_BUS_MOD_FLG_EMERGENCY 0x00000100 |
module is running an emergency system | |
#define | DF_INOS_BUS_MOD_FLG_EOG_DEPRECATED 0x00000200 |
reserved do NOT use | |
#define | DF_INOS_BUS_MOD_FLG_64BIT 0x00000400 |
module runs a 64 bit system | |
#define | DF_INOS_BUS_MOD_FLG_EOG 0x00000800 |
module supports ethernet over ginlink | |
#define | DF_INOS_BUS_MOD_FLG_CONFIGCRC 0x00001000 |
module supports config CRC | |
#define | DF_INOS_BUS_MOD_FLG_DIAG 0x00004000 |
module supports diagnostics | |
#define | DF_INOS_BUS_MOD_FLG_EXPANDER 0x00008000 |
inos bus module flags (non-resetting) | |
flags above 0x0000 ffff will not be reset due to a slave scan. | |
#define | DF_INOS_BUS_MOD_FLG_OVERWRITE_REC 0x02000000 |
module is in receive overwrite mode | |
#define | DF_INOS_BUS_MOD_FLG_OVERWRITE_TRA 0x04000000 |
module is in transmit overwrite mode | |
#define | DF_INOS_BUS_MOD_FLG_INCO_DONE 0x08000000 |
inco setup done | |
#define | DF_INOS_BUS_MOD_FLG_SCAN_VALID 0x10000000 |
module successfully scanned | |
#define | DF_INOS_BUS_MOD_FLG_DYNAMIC 0x20000000 |
dynamic created module | |
#define | DF_INOS_BUS_MOD_FLG_OUT_AVAILABLE 0x40000000 |
output handler available | |
#define | DF_INOS_BUS_MOD_FLG_INP_AVAILABLE 0x80000000 |
inos bus module flag combinations | |
#define | DF_INOS_BUS_MOD_FLG_OVERWRITE (DF_INOS_BUS_MOD_FLG_OVERWRITE_REC | DF_INOS_BUS_MOD_FLG_OVERWRITE_TRA) |
Fieldbus module definitions.
project : INOS language : GNU C++ system : Indel Targets
Fieldbus module definitions.
#define DF_INOS_BUS_MOD_ERR_STATE_CHANGE 0x00000400 |
state change failed
#define DF_INOS_BUS_MOD_FLG_EXPANDER 0x00008000 |
module is virtual (link expander)
#define DF_INOS_BUS_MOD_FLG_INP_AVAILABLE 0x80000000 |
input handler available
#define DF_INOS_BUS_MOD_OPTION_ISPLOAD_AVAILABLE 0x80000000 |
isp-update over inos bus
#define DF_INOS_BUS_MOD_STAT_GAL_REV 7 |
read gal revision
#define DF_INOS_BUS_MOD_VADDR_MAX 0xFE |
max. allowed virtual address
#define DF_INOS_BUS_MOD_WARN_DIAGNOSTIC 0x00000001 |
no diagnosis support