PlcServiceChannel.Send (METH) ¶ METHOD Send : UDINT InOut: Scope Name Type Return Send UDINT Inout service PlcService
PlcServiceChannel.SendRaw (METH) ¶ METHOD SendRaw : UDINT This method sends the given data without any checks! The User must assure that the data is a valid packet of Codesys protocol. InOut: Scope Name Type Return SendRaw UDINT Input pData POINTER TO BYTE udiSize UDINT
PlcAppConnection.CreateResponse (METH) ¶ METHOD CreateResponse : UDINT InOut: Scope Name Type Return CreateResponse UDINT Input pdu CHCProtocolDataUnit targetByteOrder PlcServiceByteOrder Inout response PlcServiceResponse
PlcAppConnection.CreateService (METH) ¶ METHOD CreateService : UDINT InOut: Scope Name Type Return CreateService UDINT Input uiServiceGroup UINT uiService UINT bo PlcServiceByteOrder Inout service PlcService
PlcAppConnection.SavepointMemory (PROP) ¶ PROPERTY SavepointMemory : DataBuffer
PlcAppConnection.Initialize (METH) ¶ METHOD Initialize : UDINT InOut: Scope Name Type Comment Return Initialize UDINT Input stPlcAddr STRING The address of the plc we shall connect to, in the form <123.123.123> where all components are hex numbers in the range of a UINT udiCommBufferSize UDINT The requested size of the communication buffer initFlags PlcAppConnectionInitFlags These flags give some parameters on how the connection has to be made credentials PlcCredentials These credentials provide access to a password protected plc. application PlcAppIdentification The application where the connection should go to udiServiceBufferSize UDINT The size of the buffer used for sending services. pServiceBuffer POINTER TO BYTE The buffer that will be used to write into the services that shall be sent to the connected node.
PlcAppConnection.SendDataServerRequest (METH) ¶ METHOD SendDataServerRequest : UDINT InOut: Scope Name Type Comment Return SendDataServerRequest UDINT Input itfRequestParameter IRequestParameter The parameters for executing the request
PlcAppConnection.SendMonitoringRequest (METH) ¶ METHOD SendMonitoringRequest : UDINT In case of success, ERR_OK will be returned and the state will go to PlcConnectionState.MonitoringRequestSent If nothing is to do then ERR_PLCC_NOTHING_TODO will be returned. InOut: Scope Name Type Return SendMonitoringRequest UDINT
PlcAppConnection.SendSymbolicMonitoringRequest (METH) ¶ METHOD SendSymbolicMonitoringRequest : UDINT In case of success, ERR_OK will be returned and the state will go to PlcConnectionState.MonitoringRequestSent If nothing is to do then ERR_PLCC_NOTHING_TODO will be returned. InOut: Scope Name Type Return SendSymbolicMonitoringRequest UDINT Input monitoringType PlcSymbolicMonitoringType
PlcAppConnection.SendSymbolicWriteVariablesRequest (METH) ¶ METHOD SendSymbolicWriteVariablesRequest : UDINT In case of success, ERR_OK will be returned and the state will go to PlcConnectionState.MonitoringRequestSent If nothing is to do then ERR_PLCC_NOTHING_TODO will be returned. InOut: Scope Name Type Return SendSymbolicWriteVariablesRequest UDINT