Function Blocks ¶ CIP Objects MessageRouter (FunctionBlock) Public Register (Method) Unregister (Method)
CIP Objects ¶ MessageRouter (FunctionBlock) Public Register (Method) Unregister (Method)
MessageRouter (FB) ¶ FUNCTION_BLOCK MessageRouter EXTENDS LAT.Element IMPLEMENTS ICIP , ICIPCallback2 InOut: Scope Name Type Comment Input hTransportOutputQueue CAA.HANDLE output queue for send unit data (i.e. class 3 messages) pEncSessions POINTER TO ARRAY [0..(constants.gc_usiMaxEncapsulationSessions - 1)] OF CIP_ENC.IEncapsulationSession p_cipUCMM POINTER TO UCMM p_cipIdentity POINTER TO Identity p_cipConnectionManager POINTER TO ConnectionManager Output uiRegisteredCIPObjects UINT eLogCode ERROR Methods: Register Unregister Structure: Public Register (Method) Unregister (Method)
Functions ¶ Network INADDR_TO_IPARRAY (Function)
Network ¶ INADDR_TO_IPARRAY (Function)
INADDR_TO_IPARRAY (FUN) ¶ FUNCTION INADDR_TO_IPARRAY : ARRAY [0..3] OF BYTE InOut: Scope Name Type Return INADDR_TO_IPARRAY ARRAY [0..3] OF BYTE Input addr INADDR
GlobalVariables ¶ Parameters (ParamList) RetainData (GVL)
Parameters (PARAMS) ¶ InOut: Scope Name Type Initial Comment Constant INITIAL_NUMBER_OF_CLASS3_CONNECTIONS UINT 8 Initial number of class 3 connections. INITIAL_NUMBER_OF_CLASS1_CONNECTIONS UINT 8 Initial number of class 1 connections. INIT_SIZE_CIPDATA_MEM_MAN UINT 2 Number of cip data messages the cip data manager allocates. RETAIN_INSTANCES UDINT 10
UtilGetLocalByteorderAtRuntime (FUN) ¶ FUNCTION UtilGetLocalByteorderAtRuntime : IDatasources.ByteOrder InOut: Scope Name Type Return UtilGetLocalByteorderAtRuntime IDatasources.ByteOrder
UtilIsGeneralErrorReply (FUN) ¶ FUNCTION UtilIsGeneralErrorReply : BOOL we expect the automatic call of FB_Exit at return InOut: Scope Name Type Return UtilIsGeneralErrorReply BOOL Input pdu ProtocolDataUnit targetByteOrder IDatasources.ByteOrder Output errorCode UDINT retryTime UDINT