====== Edge detection, state toggle, and range conversion ====== Detect input transitions, toggle a state, or convert a value to another range. ===== Edge Detection ===== * [[:en-us_commands:reference:iup|Iup()]] — Returns ''true'' only at the instant the input changes from OFF to ON. * [[:en-us_commands:reference:idown|Idown()]] — Returns ''true'' only at the instant the input changes from ON to OFF. ===== State Toggle ===== * [[:en-us_commands:reference:ialt|Ialt()]] — Toggles the specified state ON/OFF at each input rising edge. ===== Range Conversion ===== * [[:en-us_commands:reference:iscale|Iscale()]] — Converts an integer input value to the specified integer range. * [[:en-us_commands:reference:iscalef|Iscalef()]] — Converts a floating-point input value to the specified floating-point range. [[:en-us_commands:builtin|← Built-in function list]]