Forum Home › Forums › Understanding the Software › How to use Automatic Control Module
- This topic has 12 replies, 2 voices, and was last updated 6 years, 4 months ago by Mikhail.
-
AuthorPosts
-
November 21, 2017 at 11:40 pm #2826manrajParticipant
Hi there!
I have sucessfully installed Automatic Control Module.However I am not familarize with its function.What I am trying to do is to send command from the the input table in the localhost server to the Automatic Control Module stating that a new value is added in the input channel when its current value is < 10.The trigger i set in the Automatic Control Module is add channel data trigger and a command trigger under it
The link below shows the screenshot of the settings
https://drive.google.com/drive/folders/0ByrSCDsFCOLYMGlnSW5jV0VGb2shttps://drive.google.com/drive/folders/0ByrSCDsFCOLYMGlnSW5jV0VGb2s
What I intend to do is to insert 100 values based on a time schedule trigger for one input channel.How do I do that?
November 22, 2017 at 5:25 pm #2832MikhailModeratorHi,
Please provide a screenshot with the settings of the module. I can’t find it in your files.What I intend to do is to insert 100 values based on a time schedule trigger for one input channel.How do I do that?
Could you clarify the task?
November 22, 2017 at 10:28 pm #2833manrajParticipantThe setting of the module https://drive.google.com/drive/folders/0ByrSCDsFCOLYMGlnSW5jV0VGb2s
Basically I would want to insert a value in each input channel through the Automatic Control module every 5 second and I have about 100 differnt values.How do i do it?
November 23, 2017 at 11:21 am #2836MikhailModeratorAutomatic Control Module sends commands via output channels or directly to a device.
Do you really need to change input channels by commands?November 23, 2017 at 11:23 am #2837MikhailModeratorTo send commands every 5 seconds by Automatic Control Module, you need to create a trigger fires on data change, and create an input channel that changes every 5 seconds.
November 25, 2017 at 5:59 pm #2846manrajParticipantYup
November 26, 2017 at 9:28 am #2853MikhailModeratorI can help you to create a formula for such channel if you need.
November 26, 2017 at 9:30 am #2854manrajParticipantIf you mean to create a formula that changes the input channel every 5 second then yes.I would need some help in it. Thank you
November 27, 2017 at 4:13 pm #2863MikhailModeratorAdd to the Formulas table:
double Beat() { return (DateTime.Now.Seconds % 10) < 5 ? 0 : 1; }
Then use in the channel: Beat()
- This reply was modified 6 years, 4 months ago by Mikhail.
November 29, 2017 at 6:03 am #2881manrajParticipantSo if I would the first input channel is 1000 And the next would be 2000.Will this algorithm work? And how will the next value be inserted because in the formula it does not take the second input value.
November 29, 2017 at 2:04 pm #2893MikhailModeratorThe Beat() function just changes a channel value every 5 seconds to be a trigger for sending commands. What value you need to insert?
November 29, 2017 at 2:45 pm #2895manrajParticipantFirst value 1000 and the second value is 2000 and third value is 3000
November 30, 2017 at 6:27 pm #2900MikhailModeratorYou should send the commands and apply formulas for output channels that insert necessary values.
-
AuthorPosts
- You must be logged in to reply to this topic.