Posts: 55
Threads: 18
Joined: Jun 2017
Reputation:
1
Hello,
I have one school already running, but now I have to add more 300 variables.
Is there any way to create those vars in the office and then go to to the plant to deploy them instead of doing one by one in the plant ?
Thank you
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
HI
Can you explain your question bit better please?
BR
------------------------------
Ctrl+F5
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
In case your "variables"are group addresses then I prepared it in Excel, imported to ETS, exported as ESF and imported into LM.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 55
Threads: 18
Joined: Jun 2017
Reputation:
1
08.04.2019, 11:23
(This post was last modified: 08.04.2019, 11:25 by iJAF.)
Those are not ETS variables.
Those 300 variables I want to add are virtual address variables that I have to map to modbus profiles that I have already created via json profile.
My problem is that I have to create them one by one at the plant... and I will spent a lot of time there.
My idea is to make that work at the office then go to the plant and deploy those new variables!
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
------------------------------
Ctrl+F5
Posts: 55
Threads: 18
Joined: Jun 2017
Reputation:
1
I have read that and I have to make a script to do that, but there are other virtual vars I want to create in a specific order.
So probably I could do that with a simple script like this:
db:update( 'objects', 'name_var_1' , '33/1/1' )
db:update( 'objects', 'name_var_2' , '33/1/2' )
db:update( 'objects', 'name_var_Xx' , '33/1/Xx' )
...
Which is the right syntax to do this for the db:update() call ?
Thank you
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
------------------------------
Ctrl+F5
Posts: 55
Threads: 18
Joined: Jun 2017
Reputation:
1
Yes, thank you.
I will do that way, it's much more simple !