Skip to main content

Example - Ladder Diagram

DUTY


The DUTY instruction sets the user clock from the assigned BOOL data register, D. The duration of the user clock is ON for n1 number of scans and OFF for n2 number of scans.

Ladder Diagram Example


When the contact, M0.4, is powered ON (1), the DUTY instruction energizes the user clock, F10.5.
As a result, the user clock, F10.5, is ON (1) for 292 scans and OFF (0) for 484 scans.