Differences

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

Link to this comparison view

Both sides previous revision Previous revision
documents:de4000:de4000script [2022/01/25 16:12]
twebster [5.2 Master Control Script]
documents:de4000:de4000script [2022/01/25 16:22] (current)
twebster
Line 59: Line 59:
  
 **Example:** **Example:**
-<code>+<code lua>
 local suction = get_channel_val(1,1) local suction = get_channel_val(1,1)
 local discharge1 = get_channel_val(1,3) local discharge1 = get_channel_val(1,3)
Line 94: Line 94:
 {{:documents:de4000:scripting_dashboard_modbus_script_2.jpg?400|}} {{:documents:de4000:scripting_dashboard_modbus_script_2.jpg?400|}}
  
-<code>+<code lua>
 defaultModbus() defaultModbus()
 set_modbus(300,diff) set_modbus(300,diff)