omron — Input Parameters

V+ Remote Library Documentation Output Parameters Parameter Description status Status of the operation: 0 = success, Example .PROGRAM ex1.rm.vars.s() AUTO $object, $variable, $value AUTO REAL status ; Write a value of "Text" to the string variable in the workspace $object = "/String Variable" $variable = "CurrentValue" $value = "Text" CALL rm.write.str($object, $variable, 1, $value, status) IF (status TYPE "Unable To Write Value: ", status PAUSE END ; Read the variable and ensure it is the same value CALL rm.read.str($object, $variable, 1, $value, status) IF (status TYPE "Unable To Read the Value:

", status PAUSE END IF $value "Text" THEN TYPE "The update did not succeed" PAUSE END .END rm.write.strs($object, $variables[], wait.time, $values[], status) Abstract Set the values of an array of string properties associated with an object on the PC. The property variables referenced must all 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" $variables[] The names of the variables to access wait.time The amount of time to wait for the execution to complete $values[] The values of the variables ACE Reference Guide, 18317-000 Rev A Page 837