-

Y_MS_ReadPvarExpMsg

Image


Y_MS_ReadPvarExpMsg uses explicit messaging to read a position variable from a YRC1000 or YRC1000 micro controller

Parameters

* Parameter Data Type Description Default
VAR_IN_OUT
V Data Yt_MS_PVar PVar Structure
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 AdapterIPAddress
STRING IP address of the robot controller
''
V VariableOffset BYTE Offset of the address to which to write BYTE#0
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.
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 f Error is true, this output provides the Error ID.  This output is reset when 'Execute' or 'Enable' goes low. Please refer to the Error codes/Status codes of TLS_* function blocks inTLS/UDP Error / Status Codes for Ethernet FBs .
V
Status DWORD Indicates if the Target was able to execute the requested command.  A value of zero indicates successful execution of the command by the remote device.
V Response WORD Response from the Target.
V ResponseStatus WORD Status of the response from the Target.



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.