PlcServiceChannel (FB) ¶ FUNCTION_BLOCK PlcServiceChannel IMPLEMENTS IPlcServiceChannel Properties: Byteorder CommBufferSize ErrorCode Handle Mode State Methods: BeginOpen Close ErrorCallback GetOpenResult GetReply RegisterCallbackTarget ReleaseReply ReplyCallback Send SendRaw UnregisterCallbackTarget Structure: BeginOpen (Method) Byteorder (Property) Close (Method) CommBufferSize (Property) ErrorCallback (Method) ErrorCode (Property) GetOpenResult (Method) GetReply (Method) Handle (Property) Mode (Property) RegisterCallbackTarget (Method) ReleaseReply (Method) ReplyCallback (Method) Send (Method) SendRaw (Method) State (Property) UnregisterCallbackTarget (Method)
PlcServiceChannel.BeginOpen (METH) ¶ METHOD BeginOpen : UDINT InOut: Scope Name Type Return BeginOpen UDINT Input addrServer CHCPeerAddress dwCommBufSize DWORD
PlcServiceChannel.Byteorder (PROP) ¶ PROPERTY Byteorder : PlcServiceByteOrder
PlcServiceChannel.Close (METH) ¶ METHOD Close : UDINT InOut: Scope Name Type Return Close UDINT
PlcServiceChannel.CommBufferSize (PROP) ¶ PROPERTY CommBufferSize : UDINT
PlcServiceChannel.ErrorCallback (METH) ¶ METHOD ErrorCallback : UDINT InOut: Scope Name Type Return ErrorCallback UDINT Input wChannelHandle WORD udiError UDINT
PlcServiceChannel.State (PROP) ¶ PROPERTY State : PlcServiceChannelState
PlcServiceChannel.UnregisterCallbackTarget (METH) ¶ METHOD UnregisterCallbackTarget : UDINT InOut: Scope Name Type Return UnregisterCallbackTarget UDINT Input target IPlcServiceChannelCallbackTarget
SCM_ChannelInfo (STRUCT) ¶ TYPE SCM_ChannelInfo : STRUCT InOut: Name Type Channel PlcServiceChannel State SCM_ChannelState
SCM_ChannelState (ENUM) ¶ TYPE SCM_ChannelState : InOut: Name Free Creating Created Error