Activation of an automatic operation by bit evaluation

Question:
Can an automatic operation be activated without PLC, but by the status of a bit within a code, e. g. by page change?

Answer:
Yes, by using automatic operations and internal registers of the operating unit.
Automatic operations are activated by an event, which is defined in the register Event of the automatic operations. Unfortunately, it is not possible to enter a bit of a code as an event. In order to activate an automatic operation nevertheless dependent on the state of a bit, we recommend the following procedure:

1. In the component Variables create an internal register with the size of the code.
2. Create an equation, to which you assign the value of the code of the new variable, the internal register. This means, please copy the value from the code in the internal register.
3. Create an automatic operation, in which this equation is defined as an action and a timer is set as an event. The timer activates the internal register. Generally, an actualisation time of 500 ms is sufficient.
4. In the component Variables create an internal register of type Bit. Overlap the two internal registers. Select the bit address in a way that the bit is at the place of the above-defined internal register, where the bit of the code is copied to due to the equation.
5. Now create a second automatic operation and enter the internal register of type Bit as event for activating this operation.
Example:
When the drive sets a trip (code C0150 Bit 11), the operating unit is supposed to execute a page change.

Variable 1: Internal Register with the address IR 0.
Equation: intRegister=C0150
Variable 2: Internal Register (bit) with the address Bit 11

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200400944/1/
Contact form