ConnectedMessages ¶ EIP_CloseClass3Connection (Struct) EIP_OpenClass3Connection (Struct) EIP_SendClass3ConnectedMessage (Struct)
EIP_CloseClass3Connection (STRUCT) ¶ TYPE EIP_CloseClass3Connection : 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 to close udiState UDINT OUT: state of execution udiGenericError UDINT OUT: generic error code udiExtendedError UDINT OUT: extended error code udiJobId UDINT internal use xOldEnable BOOL internal use udiSeq UDINT internal use
EIP_OpenClass3Connection (STRUCT) ¶ TYPE EIP_OpenClass3Connection : STRUCT InOut: Name Type Comment xEnable BOOL IN: Enable flag, on a rising edge, execution start, on a falling edge outputs will be reseted. abyIpAddress ARRAY [0..3] OF BYTE IN: Ip Address of the slave to connect udiMessageTime UDINT IN: Expected message time udiTimeoutMultiplier UDINT IN: Timeout multiplier udiState UDINT OUT: state of execution udiConnectionHandle UDINT OUT: Handle of the established connection udiGenericError UDINT OUT: generic error code udiExtendedError UDINT OUT: extended error code udiJobId UDINT internal use xOldEnable BOOL internal use udiSeq UDINT internal use
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)