I have a question regarding creating objects in Logic Machine. I'm finishing a BMS project, and this project includes three Logic Machine 5 instances. The IP addresses used for these instances are 192.168.0.12, 192.168.0.13, and 192.168.0.14.
The BMS specifications require the following:
• IP Address: Manually entered local variable.
• Alarm IP Address: Automatically entered BACNET variable. Indicates that an address is not responding to PING.
• Communications Test Frequency: Manually entered local variable. Indicates how often communications monitoring should be triggered. Selectable range: 1-23 hours.
• IP Test Enabled: Enables IP address monitoring.
• Enable KNX Test: Enables monitoring of all KNX buses.
I have no idea how to do this. I don't know if there's a way to create objects that point to IP addresses, or if it requires Lua programming.
I can include an image of what I expect to see on the screen with these variables. Thank you very much.
What task exactly do you have? Do you need IP list to be configurable or do you simply want to display the status for each IP?
If the list is fixed you can make a resident script that pings each address and updates the status. You can add as many IP/group address pairs to the ips table.
I've programmed two logic machines to control a building and its garage, with IP addresses 192.168.0.11 and 192.168.0.12. The building's logic machine also has three gateways to obtain data from residential electricity meters with IP addresses 192.168.0.111, 192.168.0.112, and 192.168.0.113.
What I'm being asked to do is create variables for each IP address. I understand these to be Boolean values indicating whether or not a ping is detected.
A variable that enables or disables pinging to IP addresses (boolean type), the address I use for this is '32/6/118', and another variable that sets how often the monitoring is done in hours '32/6/117', this has values from 1 to 23 hours
This is way too complicated, just create a Scheduler script with fixed frequency and display results on the screen. You can alos use another script to enable/diable this scriopt if you want.
04.03.2026, 10:45 (This post was last modified: 04.03.2026, 10:46 by ALEJANDRO.)
Yes, the counters use Modbus RTU; I imagine you mean using their mapping.
But what I'm monitoring are the gateways I have connected to the logic machine, not the counters connected to them.
So, if I've created a virtual object, called, counter_state 32/2/66, for example, and I associate this with the status object in the Modbus section, if communication with the counter is lost, the value of address 32/2/66 will change state, is that right?
You say that something doesn't work. To claim such state you must have done some test to check if it works or not. What did you do to validate the functionality?