omron — Example

V+ Process Manager Documentation Example This program is always used in the context of a belt monitoring program. Create a custom belt program to see this in use or refer to the Process Manager documentation under the Belt Monitoring section. Note that if the user passes in a $tag, all instances created relative to that spacing event will be assigned the specified tag. pm.ace.pkstate($manager, state, time.out, sts) Abstract Change the run state of a process manager. This program is called by the startup program to start/stop a process manager application.

Input Parameters Parameter Description $manager Process manager name state The desired state where True = Start False = Stop time.out Time (in s) which rm.execute is allowed to run Output Parameters Parameter Description sts Status of the operation. pm.ace.ref(tsk.idx, $ref.name, sts) Abstract Sends a refinement request to the PC. Input Parameters Parameter Description tsk.idx Index of the task requiring refinement $ref.name Name of the refinement operation Output Parameters Parameter Description sts Status of the operation. Example This program is always used in the context of a refinement program. Create a custom refinement program to see an example.

ACE Reference Guide, 18317-000 Rev A Page 764