William Kane / Generic

Dependents:   LaserioLib

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers abp_asm.h Source File

abp_asm.h

00001 /*******************************************************************************
00002 ********************************************************************************
00003 **                                                                            **
00004 ** ABP version 7.16.01 (2015-10-14)                                           **
00005 **                                                                            */
00006 /*******************************************************************************
00007 ********************************************************************************
00008 ** COPYRIGHT NOTIFICATION (c) 2013 HMS Industrial Networks AB                 **
00009 **                                                                            **
00010 ** This program is the property of HMS Industrial Networks AB.                **
00011 ** It may not be reproduced, distributed, or used without permission          **
00012 ** of an authorized company official.                                         **
00013 ********************************************************************************
00014 ********************************************************************************
00015 ** This file contains Assembly Mapping Object specific definitions used by
00016 ** ABCC modules as well as applications designed to use such modules.
00017 ********************************************************************************
00018 ********************************************************************************
00019 ** Services:
00020 ********************************************************************************
00021 ********************************************************************************
00022 */
00023 
00024 #ifndef ABP_ASM_H_
00025 #define ABP_ASM_H_
00026 
00027 /*******************************************************************************
00028 ** Constants
00029 ********************************************************************************
00030 */
00031 
00032 /*------------------------------------------------------------------------------
00033 ** The Assembly Mapping object specific object attributes.
00034 **
00035 ** ABP_ASM_OA_WRITE_PD_INST_LIST - Array of Assembly instances that can be
00036 **                                 mapped to write process data.
00037 ** ABP_ASM_OA_READ_PD_INST_LIST  - Array of Assembly instances that can be
00038 **                                 mapped to read process data
00039 **------------------------------------------------------------------------------
00040 */
00041 #define ABP_ASM_OA_WRITE_PD_INST_LIST    11
00042 #define ABP_ASM_OA_READ_PD_INST_LIST     12
00043 
00044 /*------------------------------------------------------------------------------
00045 ** The data size of the Assembly Mapping object specific attributes
00046 ** (in bytes).
00047 **------------------------------------------------------------------------------
00048 */
00049 #define ABP_ASM_OA_WRITE_PD_INST_LIST_DS             ( 127 * ABP_UINT16_SIZEOF )
00050 #define ABP_ASM_OA_READ_PD_INST_LIST_DS              ( 127 * ABP_UINT16_SIZEOF )
00051 
00052 
00053 /*------------------------------------------------------------------------------
00054 ** The Assembly Mapping Object specific instance attributes.
00055 **------------------------------------------------------------------------------
00056 */
00057 #define ABP_ASM_IA_DESCRIPTOR               1    /* Descriptor                */
00058 #define ABP_ASM_IA_ADI_MAP_XX               2    /* Attributes 2-12 are valid */
00059 
00060 /*------------------------------------------------------------------------------
00061 ** The data size of the Assembly Mapping object specific instance attributes
00062 ** (in bytes).
00063 **------------------------------------------------------------------------------
00064 */
00065 #define ABP_ASM_IA_DESCRIPTOR_DS                   ABP_UINT32_SIZEOF
00066 
00067 /*------------------------------------------------------------------------------
00068 ** The Assembly Mapping object specific message commands.
00069 **------------------------------------------------------------------------------
00070 */
00071 #define ABP_ASM_CMD_WRITE_ASSEMBLY_DATA            0x10
00072 #define ABP_ASM_CMD_READ_ASSEMBLY_DATA             0x11
00073 
00074 /*******************************************************************************
00075 ** Typedefs
00076 ********************************************************************************
00077 */
00078 
00079 /*******************************************************************************
00080 ** Public Globals
00081 ********************************************************************************
00082 */
00083 
00084 /*******************************************************************************
00085 ** Public Services
00086 ********************************************************************************
00087 */
00088 
00089 #endif  /* inclusion lock */