How to Enable or Disable Thresholds by Program
(Original Document)
Introduction
These functions are primarily used to coordinate the output command in relation to the processor-managed mechanism.
Confirm that you have enabled the threshold check option in the configuration screen.
Operating Principle
Action on outputs is performed from the command Enabling of thresholds. Once this command has been executed, the threshold check cycle starts.
A disable command is used to stop the threshold check cycle in progress and authorize a new threshold enabling command.
If need be, this command will also reset outputs S0 and S1 to 0.
Enabling Procedure
The following table describes the procedure for validating thresholds.
Step
Action
Behavior of the Module
1
Make the necessary changes to the threshold values, output logic and mask time.
-
2
Set the threshold enabling order (%MWr.m.0.3.8 = 1).
-
3
Launch enable thresholds using the WRITE_CMD instruction.
The module interprets the request and sets the S0 and S1 outputs so that they update the image bits to reflect current positions of S0 and S1:
  • %IWr.m.0.4.0 current position of S0.
  • %IWr.m.0.4.1 current position of S1.
Disabling Procedure
The following table describes the procedure for disabling thresholds.
Step
Action
Behavior of the module
1
Set the disable thresholds (%MWr.m.0.3.9 = 1).
-
2
Launch threshold disabling using the WRITE_CMD instruction.
The module sets outputs to idle and image bits to 0.
Summary of the Data Used
The following table provides the data used for enabling and disabling thresholds.
Type
Role
Associated Data
Command
Threshold enabling order
%MWr.m.0.3.8
Threshold disabling order
%MWr.m.0.3.9
Display
Current flow
%IDr.m.0.2
High flow threshold
%MDr.m.0.8
Low flow threshold
%MDr.m.0.10
Output logic
%MWr.m.0.12
LF mask time
%MWr.m.0.13
S0 current position
%IWr.m.0.4.0
S1 current position
%IWr.m.0.4.1