Structures ¶ CHCAddressComponent (Struct) CHCAddressType (Enum) CHCPeerAddress (Struct) CHCProtocolDataUnit (Struct)
CHCAddressComponent (STRUCT) ¶ TYPE CHCAddressComponent : STRUCT InOut: Name Type Components ARRAY [0..1] OF BYTE
CHCAddressType (ENUM) ¶ TYPE CHCAddressType : InOut: Name Initial Absolute 0 Relative 1
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)