-

Y_MS_WriteDigitalOutputs

Write the specified general purpose output for MotomanSync controller.

Parameters

*ParameterData TypeDescriptionDefault
VAR_IN_OUT
V AxesGroup AXES_GROUP_REF A logical reference to a group of axes, which contains several additional substructures pertaining to the group.
VAR_INPUT
B Execute BOOL Upon the rising edge, all other function block inputs are read and the function is initiated. To modify an input, change the value and re-trigger the execute input. FALSE
V OutputNumber DINT OutputNumber 0 - 61 corresponds to General Purpose Output OUT#0001 - 0062. OutputNumber 32-  47 are reserved and will return error.
DINT#0
V OutputData BOOL Value of the specified digital output. FALSE
VAR_OUTPUT
B Done
BOOL Set high when the commanded action has completed successfully. If another block takes control before the action is completed, the Done output will not be set. This output is reset when Execute goes low.
B Busy BOOL
Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error)
B Error BOOL Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low.
B ErrorID UINT If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.


Example

Writes to the GENERAL PURPOSE OUTPUT of the MotomanSync controller. Value of OutputData will be written to the corresponding general purpose output. OutputNumber = 0 will write to OUT#0001.
See usage in appropriate robot controller
Image

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.