EasyManua.ls Logo

GSE 574 - Page 173

Default Icon
339 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model 574 Programmable Counting System (PCS)
154 - GSE Scale Systems
%a IF accuracy achieved
Acc’y OK!%P Prompt operator
%N ELSE
Acc’y BAD! Prompt operator
%E END IF
n%A Activate setpoint n
This command can be used to cause any setpoint to
become activated, regardless of the conditions which
have been setup to cause it to activate. The 'n' must be a
number between 1 and 32 which specifies the exact
setpoint number to activate.
One common use for this would be to provide an
operator with a prompt and then after the response is
given by the operator the setpoint would become
activated.
Example: (M574 has no hardware outputs,
contact GSE for external setpoint
information.)
STARTFILL?%W Prompt operator and wait for
any key.
1%A Activate setpoint #1.
For this example the setpoint could be set for 'activate
never' which would prevent the setpoint from being
activated except by this command.
Note that if the conditions for the setpoint to become
de-active were present when the "1%A" command was
executed then the setpoint output signal would remain
active only until the next weight conversion process was
completed.
An interesting and sometimes useful feature of this
command is that setpoints which are not enabled may
also be activated and de-activated. Thus if a setpoint is
only to change state based on events that occur during a
macro, the setpoint would not require any setup and
could be setup as 'disabled'.
%b Suspend macros and perform Sample
Routine
The %b command performs the sample operation similar
to the %p command except that macros are suspended
until either the sample is completed (accuracy achieved)
or the sample is aborted.
The prompt “Accy < Req’d” is shown until the accuracy
is achieved. This prompt or a related prompt may be
shown. The <SAMPLE> and <ENTER> keys are
suspended. The <CLR> key will abort the operation
while the appropriate prompt is being displayed.
%b sample
Add Smple%G get operator entry
%p sample (enter)
%B Break (abort macro)
This command will cause the macro that it occurs in and
any macro that called this macro to be aborted. A
possible use would be to allow the operator an 'out' from
an otherwise continuous loop.
Example:
Done?%Y Prompt operator and wait for response.
%B If operator response is YES (ie
<ENTER>) then stop macro
execution.
%E End of IF statement.
The capabilities of the %B command have been
extended. Previously the %B command would simply
abort the currently running macro and any macro that
called the current macro. However any macro that was
invoked by an event (such as a setpoint output or input or
input interpreter match - setpoint inputs/outputs are not
valid on the M574) would still be on the stack and would
begin executing after the current macro was aborted.
n%B Remove specific macro from the macro stack
Any any specific macro may be removed from the macro
stack with "x%B" command, where x is a macro number
from 0 to 9, :, ;, >, =, <, and ?. This may be useful in
applications where a currently running macro is in a loop
and is checking for the condition which would invoke the
macro. The looping macro then calls the necessary
macro directly and then needs to delete the no longer
needed macro from the macro stack.
*%B Remove all macros from the macro stack
The command "*%B" may be used to abort all macros,
the currently running chain of macros and any macros
that were pushed during the current chain of macros.

Table of Contents