ConOpSys V2970  P004.07
ANVILEX control operating system
Macros
System_Resource_Defines.h File Reference

System resource definition header file. More...

Go to the source code of this file.

Macros

#define OPERATING_SYSTEM_NAME   ( (C8*)"ANVILEX ConOpSys" )
 
#define COPYRIGHT_COMPANY   ( (C8*)"ANVILEX LLC" )
 
#define COPYRIGHT_YEAR   ( (C8*)"2020" )
 
#define CONTACT_COMPANY_NAME   ( (C8*)"ANVILEX LLC" )
 
#define CONTACT_COMPANY_ADDRESS   ( (C8*)"Soni Krivoj 83" )
 
#define CONTACT_COMPANY_AREA_CODE   ( (C8*)"454080" )
 
#define CONTACT_COMPANY_CITY   ( (C8*)"Cheljabinsk" )
 
#define CONTACT_COMPANY_COUNTRY   ( (C8*)"Russia" )
 
#define CONTACT_COMPANY_INTERNET   ( (C8*)"http://www.anvilex.com" )
 
#define CONTACT_COMPANY_EMAIL   ( (C8*)"information@anvilex.com" )
 
#define RUNTIME_ENGINE_VDC   0
 VDC platform. More...
 
#define RUNTIME_ENGINE_P014_49   1
 KG2 platform. More...
 
#define RUNTIME_ENGINE_P014_51   2
 CCS platform. More...
 
#define RUNTIME_ENGINE_P015_27   2
 P015.27 platform same as CCS / P014.51 platform. More...
 
#define RUNTIME_ENGINE_P015_09   3
 KG3 MECO platform. More...
 
#define RUNTIME_ENGINE_P017_39   4
 KG3 platform. More...
 
#define RUNTIME_ENGINE_P016_05   5
 PUC2 platform. More...
 
#define USART_COMMUNICATION_MODE_NONE   0
 No communication protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_ANVILEX   1
 ANVILEX slave protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_ANVILEX_V2   6
 ANVILEX slave protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_ANVILEX_MASTER   5
 ANVILEX master protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_MODBUS_RTU   2
 MODBUS RTU slave protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_MODBUS_ASCII   3
 MODBUS ASCII slave protocol mounted on communication link. More...
 
#define USART_COMMUNICATION_MODE_SIMCOM   4
 SIMCOM slave protocol mounted on communication link. More...
 
#define SYSTEM_TERMINAL_NONE   0
 System terminal unused in system. More...
 
#define SYSTEM_TERMINAL_COM1   1
 Communication link COM1 used as system terminal. More...
 
#define SYSTEM_TERMINAL_COM2   2
 Communication link COM2 used as system terminal. More...
 
#define ETH_COMMUNICATION_MODE_NONE   0
 
#define ETH_COMMUNICATION_MODE_ANVILEX   1
 
#define ETH_COMMUNICATION_MODE_LWIP   2
 
#define NONE   0
 
#define PB_DPV_1   1
 
#define SIMCOM800   2
 
#define HSI   0
 
#define HSE   1
 
#define APPLICATION_CONTROL_TASK_SOURCE_FPGA   1
 Spplication trigger source FPGA interrupt. More...
 
#define APPLICATION_CONTROL_TASK_SOURCE_TIMER3   2
 Spplication trigger source TIMER3. More...
 
#define APPLICATION_CONTROL_TASK_SOURCE_SYSTEM_TIMER   3
 Spplication trigger source system timer. More...
 
#define KG3_DUMMY_T1   0x0000
 
#define KG3_AI_T1   0x0001
 
#define KG3_AI_T2   0x000C
 
#define KG3_GIO_T1   0x0002
 
#define KG3_FAN_T1   0x0003
 
#define KG3_RTD_T1   0x0004
 
#define KG3_RTD2_T1   0x000F
 
#define KG3_FOTR_T1   0x0005
 
#define KG3_FOTR_T2   0x0017
 
#define KG3_CI_T1   0x0006
 
#define KG3_DIO_T1   0x0007
 
#define KG3_DIO_T2   0x0016
 
#define KG3_DIO_T2E   0x001F
 
#define KG3_BLCP_T1   0x0008
 
#define KG3_DCBIO_T1   0x0009
 
#define KG3_DCBIO_T2   0x000A
 
#define KG3_DCBIO2_T1   0x0021
 
#define KG3_DCBIO2_T2   0x0022
 
#define KG3_AO_T1   0x000B
 
#define KG3_AO_T2   0x0018
 
#define KG3_AO_T3   0x0019
 
#define KG3_AO_T4   0x001A
 
#define KG3_PLC_T0   0x001B
 
#define KG3_PLC_T1   0x001C
 
#define KG3_BLA_T1   0x000D
 
#define KG3_TSA_T1   0x000E
 
#define KG3_FC_T1   0x0010
 
#define KG3_MOD_T1   0x0011
 
#define KG3_GRTD_T1   0x0012
 
#define KG3_DIO2_T1   0x0013
 
#define KG3_PTE_T1   0x0014
 
#define KG3_ENC_T1   0x0015
 
#define KG3_LCSI_T1   0x001D
 
#define KG3_LCSI_T1E   0x0020
 
#define KG3_CAB_T1   0x001E
 
#define KG3_DFGI_T1E   0x0023
 
#define KG3_EXT_VI_T1   0x8001
 
#define P015_09_AI_T2   0x7FFF
 
#define P015_09_FOTR_T2   0x7FFF
 
#define P015_09_DCBIO_T2   0x7FFF
 
#define P015_09_RTD_T1   0x7FFF
 
#define P015_09_CRIO_T1   0x7FFF
 
#define P015_09_CRIO_T2   0x7FFF
 
#define P015_09_DIO_T1   0x7FFF
 
#define P015_09_DIO_T2   0x7FFF
 
#define P015_09_ENC_T1   0x7FFF
 
#define P015_09_ENC_T2   0x7FFF
 
#define KG3_UNDEFINE   0xFFFF
 

Detailed Description

System resource definition header file.

Attention
No special attention requered.
Revision
2952
Date
2022-02-27 19:31:14 +0500 (So, 27 Feb 2022)
Author
minch

Macro Definition Documentation

◆ APPLICATION_CONTROL_TASK_SOURCE_FPGA

#define APPLICATION_CONTROL_TASK_SOURCE_FPGA   1

Spplication trigger source FPGA interrupt.

Note
Control task triggered by FPGA inperrupt

◆ APPLICATION_CONTROL_TASK_SOURCE_SYSTEM_TIMER

#define APPLICATION_CONTROL_TASK_SOURCE_SYSTEM_TIMER   3

Spplication trigger source system timer.

Note
Control task triggered by SYSTEM TIMER

◆ APPLICATION_CONTROL_TASK_SOURCE_TIMER3

#define APPLICATION_CONTROL_TASK_SOURCE_TIMER3   2

Spplication trigger source TIMER3.

Note
Control task triggered by TIMER3

◆ CONTACT_COMPANY_ADDRESS

#define CONTACT_COMPANY_ADDRESS   ( (C8*)"Soni Krivoj 83" )

◆ CONTACT_COMPANY_AREA_CODE

#define CONTACT_COMPANY_AREA_CODE   ( (C8*)"454080" )

◆ CONTACT_COMPANY_CITY

#define CONTACT_COMPANY_CITY   ( (C8*)"Cheljabinsk" )

◆ CONTACT_COMPANY_COUNTRY

#define CONTACT_COMPANY_COUNTRY   ( (C8*)"Russia" )

◆ CONTACT_COMPANY_EMAIL

#define CONTACT_COMPANY_EMAIL   ( (C8*)"information@anvilex.com" )

◆ CONTACT_COMPANY_INTERNET

#define CONTACT_COMPANY_INTERNET   ( (C8*)"http://www.anvilex.com" )

◆ CONTACT_COMPANY_NAME

#define CONTACT_COMPANY_NAME   ( (C8*)"ANVILEX LLC" )

◆ COPYRIGHT_COMPANY

#define COPYRIGHT_COMPANY   ( (C8*)"ANVILEX LLC" )

◆ COPYRIGHT_YEAR

#define COPYRIGHT_YEAR   ( (C8*)"2020" )

◆ ETH_COMMUNICATION_MODE_ANVILEX

#define ETH_COMMUNICATION_MODE_ANVILEX   1

◆ ETH_COMMUNICATION_MODE_LWIP

#define ETH_COMMUNICATION_MODE_LWIP   2

◆ ETH_COMMUNICATION_MODE_NONE

#define ETH_COMMUNICATION_MODE_NONE   0

◆ HSE

#define HSE   1

◆ HSI

#define HSI   0

◆ KG3_AI_T1

#define KG3_AI_T1   0x0001

◆ KG3_AI_T2

#define KG3_AI_T2   0x000C

◆ KG3_AO_T1

#define KG3_AO_T1   0x000B

◆ KG3_AO_T2

#define KG3_AO_T2   0x0018

◆ KG3_AO_T3

#define KG3_AO_T3   0x0019

◆ KG3_AO_T4

#define KG3_AO_T4   0x001A

◆ KG3_BLA_T1

#define KG3_BLA_T1   0x000D

◆ KG3_BLCP_T1

#define KG3_BLCP_T1   0x0008

◆ KG3_CAB_T1

#define KG3_CAB_T1   0x001E

◆ KG3_CI_T1

#define KG3_CI_T1   0x0006

◆ KG3_DCBIO2_T1

#define KG3_DCBIO2_T1   0x0021

◆ KG3_DCBIO2_T2

#define KG3_DCBIO2_T2   0x0022

◆ KG3_DCBIO_T1

#define KG3_DCBIO_T1   0x0009

◆ KG3_DCBIO_T2

#define KG3_DCBIO_T2   0x000A

◆ KG3_DFGI_T1E

#define KG3_DFGI_T1E   0x0023

◆ KG3_DIO2_T1

#define KG3_DIO2_T1   0x0013

◆ KG3_DIO_T1

#define KG3_DIO_T1   0x0007

◆ KG3_DIO_T2

#define KG3_DIO_T2   0x0016

◆ KG3_DIO_T2E

#define KG3_DIO_T2E   0x001F

◆ KG3_DUMMY_T1

#define KG3_DUMMY_T1   0x0000

◆ KG3_ENC_T1

#define KG3_ENC_T1   0x0015

◆ KG3_EXT_VI_T1

#define KG3_EXT_VI_T1   0x8001

◆ KG3_FAN_T1

#define KG3_FAN_T1   0x0003

◆ KG3_FC_T1

#define KG3_FC_T1   0x0010

◆ KG3_FOTR_T1

#define KG3_FOTR_T1   0x0005

◆ KG3_FOTR_T2

#define KG3_FOTR_T2   0x0017

◆ KG3_GIO_T1

#define KG3_GIO_T1   0x0002

◆ KG3_GRTD_T1

#define KG3_GRTD_T1   0x0012

◆ KG3_LCSI_T1

#define KG3_LCSI_T1   0x001D

◆ KG3_LCSI_T1E

#define KG3_LCSI_T1E   0x0020

◆ KG3_MOD_T1

#define KG3_MOD_T1   0x0011

◆ KG3_PLC_T0

#define KG3_PLC_T0   0x001B

◆ KG3_PLC_T1

#define KG3_PLC_T1   0x001C

◆ KG3_PTE_T1

#define KG3_PTE_T1   0x0014

◆ KG3_RTD2_T1

#define KG3_RTD2_T1   0x000F

◆ KG3_RTD_T1

#define KG3_RTD_T1   0x0004

◆ KG3_TSA_T1

#define KG3_TSA_T1   0x000E

◆ KG3_UNDEFINE

#define KG3_UNDEFINE   0xFFFF

◆ NONE

#define NONE   0

◆ OPERATING_SYSTEM_NAME

#define OPERATING_SYSTEM_NAME   ( (C8*)"ANVILEX ConOpSys" )

◆ P015_09_AI_T2

#define P015_09_AI_T2   0x7FFF

◆ P015_09_CRIO_T1

#define P015_09_CRIO_T1   0x7FFF

◆ P015_09_CRIO_T2

#define P015_09_CRIO_T2   0x7FFF

◆ P015_09_DCBIO_T2

#define P015_09_DCBIO_T2   0x7FFF

◆ P015_09_DIO_T1

#define P015_09_DIO_T1   0x7FFF

◆ P015_09_DIO_T2

#define P015_09_DIO_T2   0x7FFF

◆ P015_09_ENC_T1

#define P015_09_ENC_T1   0x7FFF

◆ P015_09_ENC_T2

#define P015_09_ENC_T2   0x7FFF

◆ P015_09_FOTR_T2

#define P015_09_FOTR_T2   0x7FFF

◆ P015_09_RTD_T1

#define P015_09_RTD_T1   0x7FFF

◆ PB_DPV_1

#define PB_DPV_1   1

◆ RUNTIME_ENGINE_P014_49

#define RUNTIME_ENGINE_P014_49   1

KG2 platform.

◆ RUNTIME_ENGINE_P014_51

#define RUNTIME_ENGINE_P014_51   2

CCS platform.

◆ RUNTIME_ENGINE_P015_09

#define RUNTIME_ENGINE_P015_09   3

KG3 MECO platform.

◆ RUNTIME_ENGINE_P015_27

#define RUNTIME_ENGINE_P015_27   2

P015.27 platform same as CCS / P014.51 platform.

Todo:
ANVILEX KM: Deprecated ==> To remove

◆ RUNTIME_ENGINE_P016_05

#define RUNTIME_ENGINE_P016_05   5

PUC2 platform.

◆ RUNTIME_ENGINE_P017_39

#define RUNTIME_ENGINE_P017_39   4

KG3 platform.

◆ RUNTIME_ENGINE_VDC

#define RUNTIME_ENGINE_VDC   0

VDC platform.

◆ SIMCOM800

#define SIMCOM800   2

◆ SYSTEM_TERMINAL_COM1

#define SYSTEM_TERMINAL_COM1   1

Communication link COM1 used as system terminal.

◆ SYSTEM_TERMINAL_COM2

#define SYSTEM_TERMINAL_COM2   2

Communication link COM2 used as system terminal.

◆ SYSTEM_TERMINAL_NONE

#define SYSTEM_TERMINAL_NONE   0

System terminal unused in system.

◆ USART_COMMUNICATION_MODE_ANVILEX

#define USART_COMMUNICATION_MODE_ANVILEX   1

ANVILEX slave protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_ANVILEX_MASTER

#define USART_COMMUNICATION_MODE_ANVILEX_MASTER   5

ANVILEX master protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_ANVILEX_V2

#define USART_COMMUNICATION_MODE_ANVILEX_V2   6

ANVILEX slave protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_MODBUS_ASCII

#define USART_COMMUNICATION_MODE_MODBUS_ASCII   3

MODBUS ASCII slave protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_MODBUS_RTU

#define USART_COMMUNICATION_MODE_MODBUS_RTU   2

MODBUS RTU slave protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_NONE

#define USART_COMMUNICATION_MODE_NONE   0

No communication protocol mounted on communication link.

◆ USART_COMMUNICATION_MODE_SIMCOM

#define USART_COMMUNICATION_MODE_SIMCOM   4

SIMCOM slave protocol mounted on communication link.