Api.RegisterMailboxCallback method
Registers a function that the KINGSTAR Subsystem will call when a mailbox message comes in.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsError RegisterMailboxCallback(
MailboxCallback callback
)
Public Function RegisterMailboxCallback(
callback As MailboxCallback
) As KsError
Parameters
callback
Type: MailboxCallback
Pointer to the function that will be called when a mailbox message arrives.
Return value
Type: KsError
A return code of a method.
Usable EtherCAT states
ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP
Examples
N/A
See also