07.04.2017, 11:30
Code:
-- from 3/0/1 to 3/0/50
addrstart = 1
addrend = 50
for addr = addrstart, addrend do
obj = grp.find('3/0/' .. addr)
if obj then
grp.create({
datatype = obj.datatype,
address = '3/1/' .. addr,
name = obj.name .. ' status',
})
end
end