omron — Input Parameters

V+ Remote Library Documentation wait.time The amount of time to wait for the execution to complete values[] The values of the variables Output Parameters Parameter Description status Status of the operation: 0 = success, Example .PROGRAM ex1.rm.vars.nws() AUTO $objects[0], $variables[0] AUTO REAL values[0], status ; Write multiple values from multiple properties of the same object $objects[0] = "/Numeric Variable" $variables[0] = "CurrentValue" values[0] = 110 CALL rm.write.nums($objects[0], $variables[], 1, values[], status) IF (status TYPE "Unable To Write Values:

", status PAUSE END ; Perform a multiple object write CALL rm.write.anums($objects[], $variables[], 1, values[], status) IF (status TYPE "Unable To Write Values: ", status PAUSE END .END rm.write.str($object, $variable, wait.time, $value, status) Abstract Set the value of a string property associated with an object on the PC. The property variable referenced must be of a string type. Input Parameters Parameter Description $object The name of the remote object to access. This must include the full path name of the object to access. e.g.

"/directory/Robot 1" $variable The name of the variable to access wait.time The amount of time to wait for the execution to complete $value The value of the variable ACE Reference Guide, 18317-000 Rev A Page 836