-

Y_IM_SerialSend

Image

Parameters

* Parameter Data Type Description Default
VAR_IN_OUT
V InputData Yt_ByteArray60 Array of 60 bytes with actual values of the CP040 module. To have a consistent data access, please define the type of the connected variable as "IN Port".
V OutputData Yt_ByteArray60 Array of 60 bytes with set values for the CP040 module. To have a consistent data access, please define the type of the connected variable as "OUT Port".
V SendData Yt_ByteArray1024 Array of 1024 bytes for data to send.
VAR_INPUT
B Execute BOOL Upon the rising edge of the Execute input, all other inputs are read and the function block becomes operational. If an input needs to be modified, the value will have to be changed and the Execute input will have to be re-triggered. FALSE
E Reset BOOL With Reset = TRUE the communication to the CP040 is reset and an active send command is aborted. FALSE
E Length UINT Length in bytes to send. UINT#0
E Offset UINT Offset in bytes for sending data. UINT#0
VAR_OUTPUT
B Done BOOL The Done output is set to TRUE when the commanded action has completed successfully. If another function block takes control before the action is completed, the Done output will never become TRUE. This output is reset when Execute becomes FALSE.
E Busy BOOL For function blocks with Execute input, the Busy output is set to TRUE upon the rising edge of the Execute, and set to FALSE when Done, CommandAborted or Error outputs becomes TRUE. In the case of a function block with an Enable input, Busy indicates that the function block is operating, but may not be ready to provide valid outputs.
E Error BOOL The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE.
E ErrorID UINT The ErrorID output provides the identifier of the error when there is an active error in the function block execution. The output is cleared when the Execute or Enable input becomes FALSE.

Notes

Error Description

See the Function Block ErrorID List

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.