Forum Replies Created
-
AuthorPosts
-
ns.farizParticipantns.farizParticipant
Hi Manjey,
I tried like this. create new channel in Input channel machine 1. I put on the last table row no 163, channel type = real, object = Enterprise, Formula used = checked, Formula = Val(131)+Val(231)+Val(331). and I add on my table input channel 163. But when I open rapidscada view. the value just show —-. Is there any step that I missed?
ns.farizParticipantI’m so sorry,
I missed some windows feature. Should check it twice before posting.Thank you.
ns.farizParticipantns.farizParticipantHi,
It’s work perfect. I set modbus command address for the same register. and set it on channel output for each command with different value.
But I have problem for making simple table. No value output even I have set up input channel in table. What’s wrong with my configuration? I can not find any error log which are related with input channel.
ns.farizParticipantHi,
I’m using modbus TCP. how can I set modbus device ID? I just set IP address and used to fine to read modbus register.
ns.farizParticipantHi,
I tried formula above. Please see line log below. `2021-01-16 14:46:09 Command to the Device 1 “Gen 1”, type: KpModbus
Command “Auto”
Send (17): 01 EF 00 00 00 0B 00 10 10 08 00 02 04 01 02 03 04
Receive (7/7): 01 EF 00 00 00 03 00
Receive (2/2): 90 02
Device error: [02] ILLEGAL DATA ADDRESS!
Command “Auto”
Send (17): 01 F0 00 00 00 0B 00 10 10 08 00 02 04 01 02 03 04
Receive (7/7): 01 F0 00 00 00 03 00
Receive (2/2): 90 02
Device error: [02] ILLEGAL DATA ADDRESS!
Command “Auto”
Send (17): 01 F1 00 00 00 0B 00 10 10 08 00 02 04 01 02 03 04
Receive (7/7): 01 F1 00 00 00 03 00
Receive (2/2): 90 02
Device error: [02] ILLEGAL DATA ADDRESS!`
What is that mean?
ns.farizParticipantHi,
Thank you for your reply. But could you explain to me about this syntax? Is it make array? but { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x07 } what is this number? It’s neither 35700 nor 29834 .
ns.farizParticipantHi Mikhail,
User just klik a button, and pre-defined value send to modbus with write to multiple register 4104-4105 like I have explained in the previous post. What formula I can use? And where to put them? Do I need create another output channels?
August 11, 2019 at 9:31 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5831ns.farizParticipantHi Manjey,
Your formula is too complicated to me, for now I stick with Mikhail solution. Thank you for your help everyone.
August 7, 2019 at 2:39 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5809ns.farizParticipantHi Manjey,
That is, in fact, any correct number will be text and not the number itself.
No that I want, can I make it display number? , and if it’s value greater than desired number, it will turn “error” or something else. Because when sensor get faulty, it will show value 65535,
August 6, 2019 at 8:53 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5801ns.farizParticipantHi Mikhail,
What’s your suggestion, I just need it it to pass the value to dynamic text when it read <150.August 5, 2019 at 9:08 pm in reply to: String dynamic text change according input channel value #5791ns.farizParticipantHi Mikhail,
It’s work after change to enum text.Thanks
August 2, 2019 at 9:40 pm in reply to: String dynamic text change according input channel value #5786ns.farizParticipantHi Mikhail,
Now no error again, but its only change the number. So, if the value is 3,it will show 1-;. I made new Unit named Control. With Sign -;Stop Mode;Auto Mode;Manual Mode;Test On Load
Enable formula MyFunc() and choose unit Control. I choose dynamic text with unit.
Am I miss something?August 1, 2019 at 1:39 am in reply to: String dynamic text change according input channel value #5777ns.farizParticipantHi Mikhail,
Here is error log2019-08-01 08:53:56 <LAPTOPKU><SYSTEM><ACT> ScadaServerService 5.1.2.0 is started 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Check the existence of the data directories is completed successfully 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 51 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Ouput channels are read from the configuration database 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Users are read from the configuration database 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ACT> Formulas are read from the configuration database 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ERR> Error compiling the source code of the formulas: Line 514, column 10: error CS1519: Invalid token 'double' in class, struct, or interface member declaration See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code 2019-08-01 08:53:57 <LAPTOPKU><SYSTEM><ERR> Normal program execution is impossible
-
AuthorPosts