PlcServiceChannelMgr.BeginCreateChannel (METH) ¶ METHOD BeginCreateChannel : UDINT Will begin creating a new channel. A handle to this channel will be returned in hChannel. The state of this channel can be polled using this handle in GetCreateChannelResult. InOut: Scope Name Type Initial Comment Return BeginCreateChannel UDINT Input stAddr STRING the address of the peer where the connection should be created to. it must be in the form <123.123.123.123> where each component is in the range of a UINT, but not zero, any component will be treated as a hex number! dwCommBufferSize DWORD The size of the communication buffer that shall be used for this channel. Output hChannel UINT 16#FFFF A handle that can be used to get access to this channel callnig GetCreateChannelResult
PlcServiceChannelMgr.ChannelErrorCallback (METH) ¶ METHOD ChannelErrorCallback : UDINT InOut: Scope Name Type Return ChannelErrorCallback UDINT Input wChannelHandle WORD udiError UDINT
PlcServiceChannelMgr.prvFindChannelByHandle (METH) ¶ METHOD prvFindChannelByHandle : POINTER TO SCM_ChannelInfo InOut: Scope Name Type Return prvFindChannelByHandle POINTER TO SCM_ChannelInfo Input wChannelHandle WORD
PlcServiceChannelMgr.prvFindChannelByInterface (METH) ¶ METHOD prvFindChannelByInterface : POINTER TO SCM_ChannelInfo InOut: Scope Name Type Return prvFindChannelByInterface POINTER TO SCM_ChannelInfo Input channel IPlcServiceChannel
PlcServiceResponse (FB) ¶ FUNCTION_BLOCK PlcServiceResponse Properties: Header Reader Methods: Create Destroy FB_Exit prvAnalyzeHeaderObsolete Structure: Create (Method) Destroy (Method) FB_Exit (Method) Header (Property) Reader (Property) private prvAnalyzeHeaderObsolete (Method)
PlcServiceResponse.Create (METH) ¶ METHOD Create : UDINT InOut: Scope Name Type Comment Return Create UDINT Input pduData CHCProtocolDataUnit pReaderBuffer POINTER TO BYTE the buffer where the servicereader will be located, may be null. In case of null, dynamic memory will be allocated to create the servicereader! udiReaderBufferSize UDINT the size of the buffer pointed to by pReaderBuffer targetByteOrder PlcServiceByteOrder The byteorder of the data that shall be read uiHeaderTag UINT the header tag used in the communication
Building Services ¶ prvBuildMonitorCurrentVarList (Method) prvBuildRegisterVarList (Method) prvBuildUnregisterVarList (Method)
PlcVarListMonitoring.prvBuildMonitorCurrentVarList (METH) ¶ METHOD prvBuildMonitorCurrentVarList : UDINT InOut: Scope Name Type Return prvBuildMonitorCurrentVarList UDINT Inout service PlcService
PlcVarListMonitoring.prvBuildRegisterVarList (METH) ¶ METHOD prvBuildRegisterVarList : UDINT InOut: Scope Name Type Return prvBuildRegisterVarList UDINT Input pItems POINTER TO ARRAY [0..10] OF IDataItem2 iItemCount DINT Inout service PlcService
PlcVarListMonitoring.prvBuildUnregisterVarList (METH) ¶ METHOD prvBuildUnregisterVarList : UDINT InOut: Scope Name Type Return prvBuildUnregisterVarList UDINT Inout service PlcService