How to setup a momentary numeric value

How to setup a momentary numeric value
none 0.0 0
  • HMI Model: MT8072iP

  • EasyBuilder Pro Version: V6.10.01.465

  • We are using the ODVA General Ethernet/IP (Implicit Messaging) driver to communicate with a scanner. The scanner requires a trigger signal: write a 1 to its trigger word, then reset it back to 0 after a short time (a few hundred milliseconds).

    In EasyBuilder Pro, we created a Word Object to write a constant value. This works to set the trigger to 1, but there is no built-in option for a momentary pulse (automatically reset to 0). The word value stays latched at 1 until manually written back to 0.

    To solve this, we attempted to use a Macro to write 1 to the scanner trigger, delay, then write 0 again. However, when compiling, the macro produces syntax errors when using SetData() with the ODVA Ethernet/IP device name and Output_Byte address. We also tried variations (using the device name from System Parameters, device number, and IP address), but none compile successfully.

    What we need:

    • A supported method to generate a momentary pulse (set word = 1, delay, then reset = 0) to the scanner trigger word using the ODVA Ethernet/IP driver.

    • Clarification whether this is supported via Word Objects, Multi-State Switches, or Macro commands, and if so, what syntax or configuration should be used.

    • If this is not supported in the current version, please advise if there is a workaround or whether a newer version of EasyBuilder Pro / firmware adds this capability.

1 Like

Hi @meyer ,

Thank you for contributing to our forum and for the detailed post.

I recommend trying a Toggle Switch with the switch style set to momentary. You can also try a Combo Button paired with a Set Word that writes a constant value of 1, then add a delay, followed by writing a constant value of 0.

Please let me know if you have any questions!

Thank you!

Toggle Switch


Combo Button