====== Counters and data buffers ====== Count input events or store and retrieve 16-bit values in order. ===== Counters ===== * [[:en-us_commands:reference:ictu|Ictu()]] — Counts input rising edges and returns ''true'' when the preset value is reached. * [[:en-us_commands:reference:ictd|Ictd()]] — Loads the preset value, then decrements the current value at each input rising edge. * [[:en-us_commands:reference:ictud|Ictud()]] — Handles increment and decrement inputs in one counter. * [[:en-us_commands:reference:igetcount|IgetCount()]] — Returns the current value of the specified counter. * [[:en-us_commands:reference:isetcount|IsetCount()]] — Changes the current value of the specified counter. * [[:en-us_commands:reference:ictuddownstate|IctudDownState()]] — Returns the lower-limit completion state of the Up/Down counter. ===== Data Buffers ===== * [[:en-us_commands:reference:fifo|FIFO()]] — Outputs the first stored 16-bit data first. * [[:en-us_commands:reference:filo|FILO()]] — Outputs the last stored 16-bit data first. [[:en-us_commands:builtin|← Built-in function list]]