![]() ![]() So in most cases, you can leave this setting alone. Typically, this is the default port for Modbus TCP over IP. However, I do want to talk about a couple different properties. And that's actually all we have to do here. Now I have that saved on my clipboard already, so I'm just going to paste that in. And I'm going to scroll down a little bit more, and under Connectivity, we need to specify a Hostname here. Here we need to give the device connection a name, so I'm just going to call this Modbus. Now let's scroll on down to the bottom of this list and click the Next button. I know I'm not working with an RTU, so I'll select the Modbus TCP driver. The RTU driver will only connect with RTU configurations. However, if you know you're working with an RTU, the Modbus RTU over TCP driver is what you should select. In most scenarios, you'll probably be using the Modbus TCP driver here. And you see that there are two options I have available. I'm just going to scroll on down here to the Modbus section. The next page will contain a list of all of your installed drivers. Let's begin by clicking the Create new Device link. Now if we head back up to the top, you can see I currently do not have any devices configured at all. If I scroll on down, you can see you at, the page we're on, is under the OPC-UA Server section and Devices. We're looking at the Configure section over my gateway here. If you cannot see the ProgramData folder you need to enable hidden folders/files in Windows explorer.Īlways make sure the file name begins with MB_ and then when your file is named click Save. You will need to then restart Loxone Config and you will see the device listed as one of the pre-defined devices.Let's connect to a device with one of Ignition's Modbus drivers. The file path you need to save this file in is:Ĭ:\ProgramData\Loxone\LoxoneConfig version number\ENG\Comm Choose the option ‘Save as template’.Ī Save As window will pop up and you can then replace the xxx in the file name with a name for the Modbus device. Here you need to enter the IO address, choose the command type and the data type (analogue actuators only).Īgain the information relating to the IO address and the type of command and data will be provided by the manufacturer as it is product specific.Īfter adding all the required sensors and actuators to your Modbus device you can save it is a template so you can use it again.Ĭlick on the Modbus Extension in the periphery tree window to highlight it, and then right click to bring up a little menu box. Not every change for a temperature sensor). Please note therefore that too frequent polling cycles may tax the bus, so it is advisable to set sensible intervals (i.e. The data the Modbus Extension receives is forwarded via the Loxone Link to the Miniserver. The information relating to the IO address and the type of command and data will be provided by the manufacturer as it is product specific. In the Properties window of the sensor, you need to enter the IO address (register address), select the type of command, choose the data type (for analogue sensors only) and finally enter the a polling cycle (time interval in which the sensor value is updated). Select the desired type and it is added in underneath the selected Modbus device. In the top ribbon the button called ‘Sensors and Actuators’ will now show both analogue and digital sensors and actuators. To create a sensor or actuator, select the Modbus device in the peripheral tree. In this menu select ‘Modbus device’, or you can choose from a list of pre-defined devices. You can control up to 32 Modbus devices off one Modbus extension but all devices must have the same baud rate, stop bits, and parity settings.Ĭlick again on the Modbus Extension in the periphery tree window and you will see in the top ribbon a button called ‘Sensors and Actuators’. These settings are product specific so please find the details from the manufacturer’s data sheet for the Modbus device you are using. Here you must set the baud rate, stop bits and parity. If you click on the Modbus Extension in the periphery tree window you will see the Properties of the extension displayed in the properties window to the far left of the screen. A wide variety of transmitters, frequency converters, actuators, room controllers etc are already equipped with a Modbus interface. Modbus is chiefly used in industrial control applications. In a Loxone system the Modbus Extension is the master device and it can be connected with up to 32 slave devices on a 2-wire bus (exactly how RS-485 is wired with a twisted pair connecting A and B on each device). Modbus uses the master-slave arrangement where one device initiates all the communication activity. Modbus is a serial communications protocol that is based on the RS-485 standard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |