en-us_products:mp_studio:functions
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_products:mp_studio:functions [2026/11/05 10:13] – external edit 127.0.0.1 | en-us_products:mp_studio:functions [2026/11/13 13:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ===== Functions Panel ===== | ===== Functions Panel ===== | ||
| - | Click the **Functions** button on the symbol rail or press '' | + | Press '' |
| {{ : | {{ : | ||
| Line 16: | Line 16: | ||
| * **② Category header:** click to expand or collapse the category. Each category has its own color, and the number on the right is the number of functions in it. | * **② Category header:** click to expand or collapse the category. Each category has its own color, and the number on the right is the number of functions in it. | ||
| * **③ Function row:** double-click to insert the function at the cursor cell. | * **③ Function row:** double-click to insert the function at the cursor cell. | ||
| - | * **④ Mark list:** the bookmarks in the program. | + | * **④ Bookmark List:** the bookmarks in the program. |
| {{ : | {{ : | ||
| Line 25: | Line 25: | ||
| - In **① Instruction**, | - In **① Instruction**, | ||
| - | - As you type the name, **② the argument order and a description** are shown (for example '' | + | - As you type the name, **② the argument order and a description** are shown (for example '' |
| - Click **OK** or press '' | - Click **OK** or press '' | ||
| Line 37: | Line 37: | ||
| {{ : | {{ : | ||
| - | If an address in an argument does not match the data type the function expects (bit, byte, word, double word or real), the cell turns red. Hover over the cell to see the reason. | + | If an address in an argument does not match the data type the function expects (bit, byte, word, double word or real), the cell turns red. Hover over the cell to see the reason. How to use an indexed address such as '' |
| ===== Timers ===== | ===== Timers ===== | ||
| - | The timer set value (SET VALUE) is in units of 10 ms. '' | + | The timer set value (SET VALUE) is in units of 10 ms. '' |
| {{ : | {{ : | ||
| Line 53: | Line 53: | ||
| | TON | On Delay Timer — turns ON when the condition has stayed ON for the set time or longer. When the condition turns OFF, the current value becomes 0. | | | TON | On Delay Timer — turns ON when the condition has stayed ON for the set time or longer. When the condition turns OFF, the current value becomes 0. | | ||
| | TOFF | Off Delay Timer — stays ON for the set time after the condition turns OFF. | | | TOFF | Off Delay Timer — stays ON for the set time after the condition turns OFF. | | ||
| - | | TPL | Pulse Timer — turns ON when the condition turns ON, for up to the set time. If the condition turns OFF first, it turns OFF too. | | + | | TPL | Pulse Timer — turns ON when the condition turns ON and stays ON for up to the set time. If the condition turns OFF first, it turns OFF too. | |
| | TMON | Pulse Extended Timer — turns ON for the set time when the condition turns ON. It stays ON for the full set time even if the condition turns OFF in the meantime. | | | TMON | Pulse Extended Timer — turns ON for the set time when the condition turns ON. It stays ON for the full set time even if the condition turns OFF in the meantime. | | ||
| | TMR | Accumulative Timer — accumulates the time the condition is ON. The current value remains when the condition turns OFF, so clear it from another rung to reset it. | | | TMR | Accumulative Timer — accumulates the time the condition is ON. The current value remains when the condition turns OFF, so clear it from another rung to reset it. | | ||
| + | | TFLK | Flicker Timer (ON/OFF) — while the condition is ON, repeatedly turns on for the ON time and off for the OFF time. When the condition turns OFF, the output turns off and the current value becomes 0 (V1.4.0 and later). | | ||
| ===== Counters ===== | ===== Counters ===== | ||
| Line 62: | Line 63: | ||
| * Each time the condition on the left goes from OFF to ON, the current value of '' | * Each time the condition on the left goes from OFF to ON, the current value of '' | ||
| - | * When the current value reaches | + | * When the current value is equal to or greater than the set value, '' |
| * When the bit given as RESET ('' | * When the bit given as RESET ('' | ||
| Line 77: | Line 78: | ||
| ===== Function List ===== | ===== Function List ===== | ||
| - | The 16 categories of the Functions panel and their functions are listed below. The argument order is shown in parentheses. | + | The 17 categories of the Functions panel and their functions are listed below. The argument order is shown in parentheses. |
| ^ Category ^ Functions ^ | ^ Category ^ Functions ^ | ||
| Line 84: | Line 85: | ||
| | Math | '' | | Math | '' | ||
| | Counter | '' | | Counter | '' | ||
| - | | Timer | '' | + | | Timer | '' |
| | Logic Control | '' | | Logic Control | '' | ||
| - | | Word Logic | '' | + | | Word Logic | '' |
| + | | Bit Logic | '' | ||
| | Analog | '' | | Analog | '' | ||
| | MOVE | '' | | MOVE | '' | ||
| | Data Processing | '' | | Data Processing | '' | ||
| - | | Program Control | '' | + | | Program Control | '' |
| - | | Serialport | + | | Serial Port | '' |
| | I2C | '' | | I2C | '' | ||
| - | | CLCD (Character LCD) | '' | + | | CLCD (Character LCD) | '' |
| - | | 7Segment | + | | 7-Segment |
| | DS3231 (RTC) | '' | | DS3231 (RTC) | '' | ||
| Analog, pulse and temperature functions can be used only on models or expansion modules that have that feature. The range of channel numbers depends on the selected model. | Analog, pulse and temperature functions can be used only on models or expansion modules that have that feature. The range of channel numbers depends on the selected model. | ||
| + | |||
| + | '' | ||
| ===== Related Pages ===== | ===== Related Pages ===== | ||
| Line 103: | Line 107: | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| + | * [[: | ||
| [[: | [[: | ||
en-us_products/mp_studio/functions.1793841188.txt.gz · Last modified: by 127.0.0.1
