Item - Math Toggle
Please refer to Adding a New Item for specific information on how to add an ITEM and how to change its properties.
Description
The Math Toggle ITEM used to signal a change of value from an analogue input.
When this ITEM senses a change then it will Signal by changing its value from 0 to 1 or from 1 to 0.
This ITEM is ideally suited to convert a Pulse Count input into an ON/OFF switch.
The Math Toggle can be set up in the following ways:
Properties
Class Name | A unique name for this item. The class name is display only and cannot be changed. |
Name | Enter a meaningful name for this Item so that you, and other people, will easily recognize what it is for. |
Enabled | No - The ITEM is not enabled and will not update
when its TASK updates Yes - The ITEM is enabled and will update when its TASK updates. |
Input Counter | Select an ITEM that is getting its value from an Input Tag that represents a change of state every time it changes. Note if a digital input then the Math Toggle value will not necessarily be synchronized with value of the digital input. |
OFF if change to zero. | This is used to automatically set this ITEM value to 0. Select another ITEM that changes to 0 when the TASK or process is completed. This in turn will set this ITEM to 0 even it the value from the "ON/OFF on Change" input has not changed. If not required then leave this option blank. |
On PC Restart | Toggle OFF - Sets the value of this ITEM to 0
when the PC Restarts. Toggle Resume - Sets the value of this ITEM to what it was the last time the TASK was updated. |
Input Change Bit | Select the digital Input Tag of the Mimic Run signal. This option is only used if the Math Toggle is working in conjunction with a Run status via the Mimic. If this is the case then the digital setup for the Mimic Run button is the master and the Math Toggle simply toggles the state of the master. |
Output Change Bit | Select the digital Output Tag of the Mimic Run signal. This option is only used if the Math Toggle is working in conjunction with a Run status via the Mimic. If this is the case then the digital setup for the Mimic Run button is the master and the Math Toggle simply toggles the state of the master. |