Technological Choices Used
Original instructions
At a Glance
There are several ways of writing a counter application using Control Expert. The one proposed, uses the Modulo Loop Counter Mode available in the BMX EHC 0200 counting input module.
Technological Choices
The following table shows the technological choices used for the application.
Objects
Choices used
Counter mode
Use of the Modulo Loop Counter Mode. This mode counts the encoder input pulses. The modulo value is the defined counting limit. When the counting reaches the modulo value, the counter restarts from 0.
A positive transition of the capture signal triggers the count value capture in the capture register and the counter restarts from 0.
In this application, the modulo value is the constant interval between boxes and the capture signal is sent by the sensor.
The module reflex outputs are triggered when the counting exceeds defined thresholds.
Supervision screen
Use of elements from the library and new objects.
Main supervision program
This program contains two sections.
  • The first one, which initiates and uses the Modulo Loop Counter Mode functions, is developed using a Structured Text language (ST).
  • The Application section, which allows operators screen animation, is created in Ladder Diagram (LD) language.