/** * CmpAtomModbus * * * */ SET_INTERFACE_NAME(`CmpAtomModbus') /** EXTERN LIB SECTION BEGIN **/ /* Comments are ignored for m4 compiler so restructured text can be used. changecom(`/*', `*/') */ #ifdef __cplusplus extern "C" { #endif /** * * Create FUNCTION atMbCall_cext returning UDINT, paste this declaration. * Properties > Build > External implementation must be selected. * Library filename and Project Information title: CmpAtomModbus. * This declaration is the SINGLE external entry point for the C engine. * * * * * * * * * * * * * * * * * * */ typedef struct tagatmbcall_cext_struct { RTS_IEC_UDINT command; RTS_IEC_UDINT handle; RTS_IEC_DWORD ipAddress; RTS_IEC_UINT port; RTS_IEC_BYTE unitId; RTS_IEC_BYTE functionCode; RTS_IEC_UINT startAddress; RTS_IEC_UINT quantity; RTS_IEC_WORD *pData; RTS_IEC_UDINT dataCapacity; RTS_IEC_UDINT *pStatus; RTS_IEC_UDINT statusCapacity; RTS_IEC_ULINT nowMs; RTS_IEC_UDINT connectTimeoutMs; RTS_IEC_UDINT responseTimeoutMs; RTS_IEC_UDINT retryDelayMs; RTS_IEC_UDINT atMbCall_cext; } atmbcall_cext_struct; DEF_API(`void',`CDECL',`atmbcall_cext',`(atmbcall_cext_struct *p)',1,0x709EE65B,0x00020000) #ifdef __cplusplus } #endif /** EXTERN LIB SECTION END **/