ResourceUnit
Shift & Break System Function
The ResourceUnit function returns the Resource unit number being used.
Syntax
ResourceUNIT()
Example
Var1=ResourceUNIT()
Remarks
ResourceUnit is valid in Pre-Off Shift, Off-shift, Pre-Break, Break, Resource Clock DT, Resource Usage DT, Resource Node, and Subroutine logic.