Differences

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

Link to this comparison view

Next revision
Previous revision
en:sw:01-mervis:m-bus-hidden [2019/03/12 15:24]
mkudlacek created
en:sw:01-mervis:m-bus-hidden [2020/06/15 14:09] (current)
avsetula
Line 1: Line 1:
 +/* FIXME - nikde nepoužito, nutno přepsat */
 ====== Connecting to M-Bus devices ====== ====== Connecting to M-Bus devices ======
  
Line 5: Line 6:
 For this tutorial we will use: For this tutorial we will use:
   * [[https://​www.unipi.technology/​unipi-axon-m505-p181?​categoryId=27|Axon M505]] ​   * [[https://​www.unipi.technology/​unipi-axon-m505-p181?​categoryId=27|Axon M505]] ​
-  * M-Bus RS485 converter FIXME link na eshop+  * [[https://​www.unipi.technology/​rs485tombus-4m-gateway-p284?​categoryId=35|M-bus gateway]]
   * Clip-on M-Bus device for analog flow meters   * Clip-on M-Bus device for analog flow meters
  
 The devices are connected together like this: The devices are connected together like this:
  
-FIXME zapojeni 
  
 We will start with a blank solution with attached Axon M505. The first thing is to create a new channel. Right click on the PLC in the Left panel and in the context menu click on the "Add Channel":​ We will start with a blank solution with attached Axon M505. The first thing is to create a new channel. Right click on the PLC in the Left panel and in the context menu click on the "Add Channel":​
Line 26: Line 26:
 The searching can happen only when the PLC is in Commissioning mode. You will be warned that the switch to the mode is neccessary. Confirm by clicking on Next. The searching can happen only when the PLC is in Commissioning mode. You will be warned that the switch to the mode is neccessary. Confirm by clicking on Next.
  
-{{ :​en:​sw:​m-bus-04-switch-to-commissioning.png?​direct |}}+{{ :en:sw:01-mervis:​m-bus-04-switch-to-commissioning.png?​direct |}}
  
 <WRAP center round important 60%> <WRAP center round important 60%>
Line 34: Line 34:
 In the next dialog, you can select in which address range the search will happen. Change the range if needed and confirm by clicking on Next. In the next dialog, you can select in which address range the search will happen. Change the range if needed and confirm by clicking on Next.
  
-{{ :​en:​sw:​m-bus-06-range?​direct |}}+{{ :en:sw:01-mervis:​m-bus-06-range.png?direct |}}
  
 The detection is running. The detection is running.
  
-{{ :​en:​sw:​m-bus-07-searching?​direct |}}+{{ :en:sw:01-mervis:​m-bus-07-searching.png?direct |}}
  
 After the detecion finishes, you will be presented with the list of found devices. From this dialog, you can change address of one device. Click on the device, change the Primary address and confirm by clicking on Set. After the detecion finishes, you will be presented with the list of found devices. From this dialog, you can change address of one device. Click on the device, change the Primary address and confirm by clicking on Set.
  
-{{ :​en:​sw:​m-bus-08-changing-address?​direct |}}+{{ :en:sw:01-mervis:​m-bus-08-changing-address.png?direct |}}
  
 You will be notified about the correct changing of the address. You will be notified about the correct changing of the address.
  
-{{ :​en:​sw:​m-bus-09-change-successful?​direct |}}+{{ :en:sw:01-mervis:​m-bus-09-change-successful.png?direct |}}
  
 If you changed address of some device, perform the searching again. In our case we changed device on address 3 to 5. The next search reflects that. To import the devices into the solution, tick the Import checkboxes and then click on OK. If you changed address of some device, perform the searching again. In our case we changed device on address 3 to 5. The next search reflects that. To import the devices into the solution, tick the Import checkboxes and then click on OK.
  
-{{ :​en:​sw:​m-bus-10-add-devices?​direct |}}+{{ :en:sw:01-mervis:​m-bus-10-add-devices.png?direct |}}
  
 In most cases, the import will fail with the message "​Device prototype not found" In most cases, the import will fail with the message "​Device prototype not found"
  
-{{ :​en:​sw:​m-bus-11-prototype-not-found?​direct |}}+{{ :en:sw:01-mervis:​m-bus-11-prototype-not-found.png?direct |}}
  
 This error means, that the Mervis was unable to pair the device with existing definition. But it doesn'​t mean that the Mervis cannot work with the device. Right click on the channel in the Left panel and in the context menu click on the "​Create M-Bus Meter From Real Device"​. This error means, that the Mervis was unable to pair the device with existing definition. But it doesn'​t mean that the Mervis cannot work with the device. Right click on the channel in the Left panel and in the context menu click on the "​Create M-Bus Meter From Real Device"​.
  
-{{ :​en:​sw:​m-bus-12-create-device?​direct |}}+{{ :en:sw:01-mervis:​m-bus-12-create-device.png?direct |}}
  
 A dialog will appear, where you can import device with given address. Use the address the Mervis detected previously and confirm by clicking on OK. A dialog will appear, where you can import device with given address. Use the address the Mervis detected previously and confirm by clicking on OK.
  
-{{ :​en:​sw:​m-bus-13-create-meter?​direct |}}+{{ :en:sw:01-mervis:​m-bus-13-create-meter.png?direct |}}
  
 The Mervis will download a list of datapoints which the device shares. Select the ones you need, but for debugging purposes we will select all of them and confirm by clicking on OK. The Mervis will download a list of datapoints which the device shares. Select the ones you need, but for debugging purposes we will select all of them and confirm by clicking on OK.
  
-{{ :​en:​sw:​m-bus-14-select-variables?​direct |}}+{{ :en:sw:01-mervis:​m-bus-14-select-variables.png?direct |}}
  
 <WRAP center round info 60%> <WRAP center round info 60%>
Line 74: Line 74:
 The new device will appear under the channel in Left panel. Deploy the changed solution, turn on the Debugging and switch to the Variable Browser tab. You will be presented with up-to-date information from the device. The new device will appear under the channel in Left panel. Deploy the changed solution, turn on the Debugging and switch to the Variable Browser tab. You will be presented with up-to-date information from the device.
  
-{{ :​en:​sw:​m-bus-15-variable-browser?​direct |}} +{{ :en:sw:01-mervis:​m-bus-15-variable-browser.png?direct |}}
- +
- +
- +
- +
- +