HA_CONSTANTS
(GVL)
List of all the Error numbers generated by HA Modbus TCP Library and specific constants declared in the library
- InOut:
Scope
Name
Type
Initial
Comment
Constant
wHA_ER_NO_SYNC_LINK
WORD
16#7487
No Sync Link
HA_MOD_ERNO_TBL_OVERFLOW
WORD
16#2022
HA data reference table is full. Check number of sync instances in HaModDiag FB
HA_MOD_INVALID_LENGTH
WORD
16#2017
Invalid length at the input of data sync block
HA_MOD_FRAME_TYPE_STATUS
BYTE
16#42
Type of the HA status frame
HA_MOD_FRAME_TYPE_STATUS_DATA
BYTE
16#42
HA status and data frame
HA_MOD_MAX_BUFFER_SIZE_UDP
UINT
1464
Max Frame size available for UDP HA data sync in bytes
HA_MOD_MAX_BUFFER_SIZE_TCP
UINT
16#FFFF
AK Max Frame size available for TCP HA data sync in bytes
HA_MOD_DELAY_CI52x_ERR
UINT
0
Number of cycle delay before declaring the CI52x Failure error
HA_MOD_FILTER_TIME_HA_SYNC_ARRAY_INIT
UINT
200
Number of cycles to wait before calculating HaModSyncArray ptrData Checksum
HA_MOD_MAX_SYNC_ENTRIES
UINT
3000
Total size of the sync entry array NoSyncFBPins* MaxSyncFBs in bytes
HA_MOD_MAX_DATA_IN_ETH_FRAME_UDP
UINT
1416
Ethernet Frame Length - Size of Header (167 CAN / 1416 UDP) in bytes
HA_MOD_MAX_DATA_IN_ETH_FRAME_TCP
UINT
16#F000
AK maxLEN to test TCP