GSE 60 SERIES Technical Reference Manual page 335

Programmable process controllers
Table of Contents

Advertisement

Example:
Checking for Sample Accuracy
tag #1
1%T
perform sample
%b
if accuracy achieved
%a
10%^
go to macro 10
else
%N
Re-Sampl%S%P
error prompt
jump to tag #1
1%J
end if
%E
Set Target Accuracy
< %accuracy > %a
Get Target Accuracy
?%a
Restore Default Accuracy
*%a
Arguments
Target accuracy percentage (90 à 99.96; 0
%accuracy
= Not Enforced).
Notes
The %accuracy argument does not change the setup
mode selection at P183, rather it temporarily changes the
accuracy requirement until power is interrupted or upon
saving changes when exiting the setup mode.
A %accuracy less than 90 eliminates the accuracy
requirement.
See Also
%b
Perform Sample
%g
Sample / Macro Error
If Target Accuracy Achieved
%a
Determines if the last sample was large enough to meet the accuracy
requirement set at P183. This command can be used to ensure an
accurate sample before proceeding with other macro routines (see
example – Checking for Sample Accuracy).
Set Target Accuracy
< %accuracy > %a
Override the power-up accuracy selection at P183.
99.48%a
Sets the target accuracy requirement to 99.48%.
99.92%a
Sets the target accuracy requirement to 99.92%.
0%a
Eliminates the accuracy requirement.
Get Target Accuracy
?%a
Copies the current accuracy requirement to the entry buffer where it can
be saved to a parameter and/or used in math commands.
60 Series Technical Reference Manual
Macros 9-87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents