-
set the channel 0 ALLOW_ENABLE bit (%Qr.m.c.0.26) to 1 at the start of the program,
-
use the CONTROL / ALLOW bits to activate / deactivate a function:
-
a CONTROL bit rising edge with the ALLOW bit at 1 activates the function,
-
the ALLOW bit at 0 deactivates the function.
ALLOW bits activate a command on the falling edge of the bit (changing from state 1 to state 0). It has a disallowing action while the bit is at state 0. When the ALLOW bit changes from state 0 to state 1, this removes the inhibiting action and allows the associated commands.
NOTE: ALLOW bits are initialized at state 1.
CONTROL bits activate a command on the rising edge of the bit. The command is issued; it will have effect if the MovementSet is in a state, which allows the command to be carried out. You must therefore check the MovementStatus of the MovementSet before activating a command. CONTROL bits have a corresponding ALLOW bit. One common reasons for the inability of a CONTROL to activate a command stems from the fact that the ALLOW bit associated to this command or the SERCOS® channel has the value 0.
The pulse period must be greater than the module cycle time (default Cycle_time = 4 ms), so that the command is "seen" by the module.
ENABLE function