Y_MS_WriteStringExpMsg
Y_MS_WriteStringExpMsg
uses explicit messaging
to write a string variable to a
YRC1000 or YRC1000 micro controller
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| 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 | Data | STRING | String to be written | '' |
| 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 in TLS/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.