EIP_SendClass3ConnectedMessage (STRUCT) ¶ TYPE EIP_SendClass3ConnectedMessage : STRUCT InOut: Name Type Comment xEnable BOOL IN: Enable flag, on a rising edge, execution start, on a falling edge outputs will be reseted. udiConnectionHandle UDINT IN: Handle of the connection byService BYTE IN: CIP service code uiClass UINT IN: CIP class id uiInstance UINT IN: CIP instance uiAttribute UINT IN CIP attribute pData POINTER TO BYTE INOUT: Pointer to the message data udiLength UDINT INOUT: Length of the data udiState UDINT OUT: state of execution udiJobId UDINT internal use xOldEnable BOOL internal use udiSeq UDINT internal use
IIoDrvEIPAcylicServices (ITF) ¶ INTERFACE IIoDrvEIPAcyclicServices An interface for connected and unconnected messages. Methods: IoDrvCloseClass3Connection IoDrvOpenClass3Connection IoDrvSendClass3ConnectedMessage IoDrvSendUnconnectedMessage Structure: ConnectedMessages IoDrvCloseClass3Connection (Method) IoDrvOpenClass3Connection (Method) IoDrvSendClass3ConnectedMessage (Method) UnconnectedMessages IoDrvSendUnconnectedMessage (Method)
ConnectedMessages ¶ IoDrvCloseClass3Connection (Method) IoDrvOpenClass3Connection (Method) IoDrvSendClass3ConnectedMessage (Method)
IIoDrvEIPAcylicServices.IoDrvCloseClass3Connection (METH) ¶ METHOD IoDrvCloseClass3Connection : UDINT This method closes a connection, which was opened with IoDrvOpenClass3Connection. The return value is the error code of the driver. InOut: Scope Name Type Return IoDrvCloseClass3Connection UDINT Inout tCloseC3Connection EIP_CloseClass3Connection
IIoDrvEIPAcylicServices.IoDrvOpenClass3Connection (METH) ¶ METHOD IoDrvOpenClass3Connection : UDINT This message opens a connection. The return value is the error code of the driver. InOut: Scope Name Type Comment Return IoDrvOpenClass3Connection UDINT Inout tOpenC3Connection EIP_OpenClass3Connection Parameters for opening a connection.
IIoDrvEIPAcylicServices.IoDrvSendClass3ConnectedMessage (METH) ¶ METHOD IoDrvSendClass3ConnectedMessage : UDINT This method sends a connected class 3 connection. Before a message could be send, a connection must be established with IoDrvOpenClass3Connection. The return value is the error code of the driver. InOut: Scope Name Type Comment Return IoDrvSendClass3ConnectedMessage UDINT Inout tSendC3ConnectedMessage EIP_SendClass3ConnectedMessage Parameter for sending a message
UnconnectedMessages ¶ IoDrvSendUnconnectedMessage (Method)
IIoDrvEIPAcylicServices.IoDrvSendUnconnectedMessage (METH) ¶ METHOD IoDrvSendUnconnectedMessage : UDINT This methoed send a unconnected message to an adapter. It is not neccessary to establish a connection before. The return value is the error code of the driver InOut: Scope Name Type Comment Return IoDrvSendUnconnectedMessage UDINT Inout tSendUnconnectedMessage EIP_SendUnconnectedMessage Parameters for sending an unconnected message
InterfacesIDs (GVL) ¶ InOut: Scope Name Type Initial Constant ITFID_ICmpIoDrvEIPAcyclicServices DWORD 16#5E
OperationStates (GVL) ¶ InOut: Scope Name Type Initial Constant EIP_NOT_ENABLED WORD 0 EIP_INVALID_PARAMETER WORD 1 EIP_PENDING WORD 2 EP_RETRY WORD 3 EIP_DONE WORD 4 EIP_ERROR WORD 5