User Tools

Site Tools


en-us_commands:builtin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en-us_commands:builtin [2026/09/07 21:52] – 만듦 - 바깥 편집 127.0.0.1en-us_commands:builtin [2026/09/15 11:47] (current) – external edit 127.0.0.1
Line 10: Line 10:
  
 ===== Built-in Command List ===== ===== Built-in Command List =====
 +
 +I/O addresses in the examples depend on the product. Select the ILOGICS board definition for your product and check its pin map before using an address.
 +
 +**Browse by category**
 +
 +  * [[:en-us_commands:digital_filter|Digital input filters]] · [[:en-us_commands:edge_scale|Edge detection and range conversion]] · [[:en-us_commands:plc_timer|PLC timers]] · [[:en-us_commands:callback_timer|Callback timers]]
 +  * [[:en-us_commands:counter_buffer|Counters and data buffers]] · [[:en-us_commands:high_speed_counter|High-speed counter]] · [[:en-us_commands:analog_input|Analog input]] · [[:en-us_commands:temperature|Temperature input]]
 +  * [[:en-us_commands:analog_output_pwm|Analog output and PWM]] · [[:en-us_commands:pid|PID control]] · [[:en-us_commands:display_rtc|Displays and RTC]]
 +  * [[:en-us_commands:debug_watchdog|Debug and Watchdog]] · [[:en-us_commands:communication|Communication]]
  
 ^ Category ^ Commands ^ Description ^ ^ Category ^ Commands ^ Description ^
Line 163: Line 172:
 ^ Command Syntax ^ Return Value ^ Description ^ ^ Command Syntax ^ Return Value ^ Description ^
 | [[:en-us_commands:reference:ialt|Ialt(input, state)]] | None | Toggle ''state'' ON/OFF at each input rising edge | | [[:en-us_commands:reference:ialt|Ialt(input, state)]] | None | Toggle ''state'' ON/OFF at each input rising edge |
 +
 +This example uses the first MPAINO-8A8R(T) input ''0'' and first output ''64''.
  
 <code cpp> <code cpp>
 bool lampState = false; bool lampState = false;
 +
 +void setup() {}
  
 void loop() { void loop() {
Line 190: Line 203:
  
 PLC-style timers do not pause the program like ''delay()''. Instead, call them on every iteration of ''loop()''. Do not reuse the same ''id'' for different timers. PLC-style timers do not pause the program like ''delay()''. Instead, call them on every iteration of ''loop()''. Do not reuse the same ''id'' for different timers.
 +
 +This example uses the first MPAINO-8A8R(T) input ''0'' and first output ''64''.
  
 <code cpp> <code cpp>
 +void setup() {}
 +
 void loop() { void loop() {
   bool run = Ibounce(0, 30);   bool run = Ibounce(0, 30);
Line 440: Line 457:
 const uint8_t outputChannel = 64; const uint8_t outputChannel = 64;
  
-void setup() { +void setup() {}
-  pinMode(inputChannel, INPUT); +
-  pinMode(outputChannel, OUTPUT); +
-}+
  
 void loop() { void loop() {
Line 476: Line 490:
   * [[:en-us_products:mpaino|MPAINO Module Configuration and Logical Channels]]   * [[:en-us_products:mpaino|MPAINO Module Configuration and Logical Channels]]
   * [[:en-us_guide:getting_started|Getting Started with Arduino IDE]]   * [[:en-us_guide:getting_started|Getting Started with Arduino IDE]]
-  * [[:en-us_guide:wiring|I/Wiring Principles]]+  * [[:en-us_guide:wiring|First wiring and I/O check]]
   * [[:en-us_safety|Safety and Installation Precautions]]   * [[:en-us_safety|Safety and Installation Precautions]]
  
en-us_commands/builtin.1788785564.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki