versadac  1
versadac - Scalable Recorder Firmware
mb_conn_define.h
1 /*****************************************************************************
2 FILE : MB_Conn_Define.h
3 AUTHOR : Jovanni Lavadia
4 SYSTEM : GNU C++ for ARM
5 DESCRIPTION : Connection class definitions
6 *****************************************************************************/
7 
8 enum
9 {
10  LOCAL_CONNECTION_0,
11  LOCAL_CONNECTION_1,
12  LOCAL_CONNECTION_2,
13  LOCAL_CONNECTION_3,
14  LOCAL_CONNECTION_4,
15  MAX_LOCAL_CONNECTIONS /* one for serial, four for web */
16 };
17 
18 enum
19 {
20  PREFM_CONNECTION_1 = MAX_LOCAL_CONNECTIONS,
21  ETHERNETIP_CONNECTION, /* connection for Ethernet/IP */
22  MAX_RESERVED_CONNECTIONS
23 };
24 
25 #define EUROTHERM_RESERVED_ADDRESS 255
26 #define SECONDS_TILL_SHUTDOWN 350 // changed for test ing only 60 // doubled in phase 2