CHCPeerAddress (STRUCT) ¶ TYPE CHCPeerAddress : STRUCT InOut: Name Type Initial Comment dwStructSize DWORD SIZEOF(THIS^) addrType CHCAddressType / Determines whether the specified address is a relative OR an absolute address. nAddrOffset DINT Only valid, if type==AT_RELATIVE. Contains the negative number of address components to move up in the node tree, before going down the path specified in pAddress. (e.g. “-1” to move up one level). This field specifies the initial value of AdrIndex in router package header. nAddrLength UDINT Number of valid elements in array pointed to by pAddress nAddrComponentCount UDINT (SIZEOF(addrComponents) / SIZEOF(addrComponents[0])) For possible extensibility of further address components addrComponents ARRAY [0..(MAX_NODE_ADDR_LEN - 1)] OF CHCAddressComponent
CHCProtocolDataUnit (STRUCT) ¶ TYPE CHCProtocolDataUnit : STRUCT InOut: Name Type dwSize DWORD pData POINTER TO BYTE
Test ¶ HandleChannelError (Function) HandleReply (Function) SetError (Function) Test_PRG (Program) SetupAddress (Action) Test_State (Enum)
HandleChannelError (FUN) ¶ FUNCTION HandleChannelError : UDINT InOut: Scope Name Type Return HandleChannelError UDINT Input wChannelHandle WORD diError UDINT
HandleReply (FUN) ¶ FUNCTION HandleReply : UDINT InOut: Scope Name Type Return HandleReply UDINT Input wChannelHandle WORD data CHCProtocolDataUnit
SetError (FUN) ¶ FUNCTION SetError : BOOL InOut: Scope Name Type Return SetError BOOL Input stError STRING
Test_PRG (PRG) ¶ PROGRAM Test_PRG InOut: Scope Name Type Input bRestart BOOL state Test_State stError STRING iReplyCount INT Structure: SetupAddress (Action)
Test_PRG.SetupAddress (ACT) ¶
Test_State (ENUM) ¶ TYPE Test_State : InOut: Name Start CreatingChannel ChannelCreated Sending Received Closing Closed Error
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:36:44 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpChannelClientIec.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpChannelClientIec.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 15:36:44 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder CmpChannelClientIec Project CmpChannelClientIec Title CmpChannelClientIec Version version 3.5.17.0