RegisterEventHandler (FUN) ¶ FUNCTION RegisterEventHandler : DINT Actually not implemented InOut: Scope Name Type Return RegisterEventHandler DINT Input deviceId DINT handler tEventHandler userData POINTER TO BYTE
UnregisterEventHandler (FUN) ¶ FUNCTION UnregisterEventHandler : DINT Actually not implemented InOut: Scope Name Type Return UnregisterEventHandler DINT Input deviceId DINT handler tEventHandler
WatchdogSetTime (FUN) ¶ FUNCTION WatchdogSetTime : DINT Sets the watchdog time. The time until the watchdog triggers is the multiplication of factor and timeout_us. @param factor The factor specifies how often the timeout_us has to elapse until the watchdog triggers. @param timeout_us The timeout of the watchdog in microseconds. @return Return DAL_SUCCESS on success, DAL_FAILURE otherwise. InOut: Scope Name Type Return WatchdogSetTime DINT Input factor UDINT timeout_us UDINT
WatchdogStart (FUN) ¶ FUNCTION WatchdogStart : DINT Starts the watchdog. @return DAL_SUCCESS on InOut: Scope Name Type Return WatchdogStart DINT
WatchdogStop (FUN) ¶ FUNCTION WatchdogStop : DINT Stops the watchdog. @return Return DAL_SUCCESS on success, DAL_FAILURE otherwise. InOut: Scope Name Type Return WatchdogStop DINT
WatchdogTrigger (FUN) ¶ FUNCTION WatchdogTrigger : DINT Triggers the watchdog. @return Return DAL_SUCCESS on success, DAL_FAILURE otherwise. InOut: Scope Name Type Return WatchdogTrigger DINT
WriteBit (FUN) ¶ FUNCTION WriteBit : DINT The WiteBit method writes one bit from data to the given offset. @param deviceId The device to write the bit to. @param bitOffset The bit offset to write the bit at. @param data Pointer from where the bit will be written from. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return WriteBit DINT Input deviceId DINT taskId UDINT bitOffset UDINT data POINTER TO BYTE
WriteBool (FUN) ¶ FUNCTION WriteBool : DINT The WiteBool method writes one bit from data to the given offset. @param deviceId The device to write the bit to. @param bitOffset The bit offset to write the bit at. @param value Pointer from where the bit will be written from. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return WriteBool DINT Input deviceId DINT taskId UDINT bitOffset UDINT value BOOL
WriteBytes (FUN) ¶ FUNCTION WriteBytes : DINT Writes size bytes from at the supplied offset to the process images of the device. @param deviceId Id of the device @param offset Offset where the data will be written at. @param size Size of the data to write. @param data The data to write. @return Returns 0 on success, -1 otherwise InOut: Scope Name Type Return WriteBytes DINT Input deviceId DINT taskId UDINT offset UDINT size UDINT data POINTER TO BYTE
WriteEnd (FUN) ¶ FUNCTION WriteEnd : DINT Finishes the writing of process data. Usually this is the point when the pi is committed to the device. @param deviceId The id of the device. @param taskId The id of the task. @return Returns 0 on success, -1 otherwise InOut: Scope Name Type Return WriteEnd DINT Input deviceId DINT taskId UDINT