User Tools

Site Tools


en-us_commands:counter_buffer

Counters and data buffers

Count input events or store and retrieve 16-bit values in order.

Counters

  • Ictu() — Counts input rising edges and returns true when the preset value is reached.
  • Ictd() — Loads the preset value, then decrements the current value at each input rising edge.
  • Ictud() — Handles increment and decrement inputs in one counter.
  • IgetCount() — Returns the current value of the specified counter.
  • IsetCount() — Changes the current value of the specified counter.
  • IctudDownState() — Returns the lower-limit completion state of the Up/Down counter.

Data Buffers

  • FIFO() — Outputs the first stored 16-bit data first.
  • FILO() — Outputs the last stored 16-bit data first.

← Built-in function list

en-us_commands/counter_buffer.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki