Beiträge anzeigen

Diese Sektion erlaubt es ihnen alle Beiträge dieses Mitglieds zu sehen. Beachten sie, dass sie nur solche Beiträge sehen können, zu denen sie auch Zugriffsrechte haben.


Themen - tomnord

Seiten: [1]
1
Modulentwicklung / Module Development / Maximum Demand Controller
« am: 29. September 2017, 09:39:44 »
Hello.
Has anyone considered making a Maximum Demand Controller, switch on/Off loads to minimize peak load of electricity?
Beckhoff has one in their building basic library, but that one needs a pulse counter. I was hoping to make one that used measurment data from a meter over mBus or modbus.
Any pointers in the right direction would surely help me alot.


-Tom

2
BECKHOFF / DLOG_STORE_FILE_CSV
« am: 27. September 2017, 13:19:16 »
Hello. I'm trying to set up a datalog with dlog_store_file_csv. I'm sort of getting it to work, but I am a bit unsure as what is triggering the write to file.
Will the FB store data in buffer untill buffer is full, and then generate the file?
I'm looking to log a value once every 24h, and a new file every month.
The file renaming bit I have covered, and set up Trig_T to 86400(24h).
When Trig_M is set to high, does the FB empty buffer to file? what then happens when Trig_T does the same at timeout? Will the file be overwritten?
Does the Enable input need to be set high in order for the FB to do anything?
Is there a sample project that I could check out?


Regards
Tom

Seiten: [1]