User Tools

Site Tools


uphp:functions:mb_delete_device

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
uphp:functions:mb_delete_device [2017/05/04 16:27]
jeff
uphp:functions:mb_delete_device [2017/05/11 23:15]
jeff
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">mb_delete_device (
-</html> +
-[[mb_delete_device]] ( +
-<html>+
 <span style="color:green">int <span style="color:green">int
 <span style="color:blue">$id <span style="color:blue">$id
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 ====Parameter==== ====Parameter====
Line 24: Line 19:
 <html><b><span style="color:blue">$id<span style="color:black"></b></html>:  Device identification number (slave ID) <html><b><span style="color:blue">$id<span style="color:black"></b></html>:  Device identification number (slave ID)
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1=success, otherwise there was an error deleting the device <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  1=success, otherwise there was an error deleting the device
Line 40: Line 35:
 [[mb_get_dev_info()]] - Return modbus device details by type [[mb_get_dev_info()]] - Return modbus device details by type
  
-[[mb_get_role_array()]] - Return an array of all roles and their values+[[mb_get_role_array()]] - Return an <html><b><span style="color:green">array<span style="color:black"></b></html> of all roles and their values
  
 [[mb_get_status_by_role()]] - Return status of the device attached to the role [[mb_get_status_by_role()]] - Return status of the device attached to the role
Line 47: Line 42:
  
 [[mb_num_devices()]] - Return number of devices on the modbus [[mb_num_devices()]] - Return number of devices on the modbus
 +
 +[[mb_queue_command()]] - Queue a sequence of characters to the rs485 bus and get but ignore the reply
  
 [[mb_scan_complete()]] - Check to see if a modbus scan has completed [[mb_scan_complete()]] - Check to see if a modbus scan has completed
Line 53: Line 50:
  
 [[mb_send_command()]] - Send a sequence of characters to the rs485 bus and get a reply [[mb_send_command()]] - Send a sequence of characters to the rs485 bus and get a reply
- 
-[[mb_queue_command()]] - Queue a sequence of characters to the rs485 bus and get but ignore the reply 
  
 [[mb_set_dev_var()]] - Set a variable on a modbus device [[mb_set_dev_var()]] - Set a variable on a modbus device
uphp/functions/mb_delete_device.txt · Last modified: 2021/09/13 05:57 (external edit)