ns.fariz

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • in reply to: Calc value from multiple device #8686
    ns.fariz
    Participant

    Hi,

    Please see below screenshot

    img1
    img2
    img3

    • This reply was modified 3 years ago by ns.fariz.
    in reply to: Calc value from multiple device #8668
    ns.fariz
    Participant

    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?

    in reply to: Error updating data webstation #8139
    ns.fariz
    Participant

    I’m so sorry,
    I missed some windows feature. Should check it twice before posting.

    Thank you.

    in reply to: Error updating data webstation #8134
    ns.fariz
    Participant

    Hi,

    Here is the console log.

    console log

    Thank you,

    in reply to: Write multiple modbus register FC=16 #8081
    ns.fariz
    Participant

    Hi,

    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.

    Channel input 1
    channel input 2

    gen 1 read

    tableview

    in reply to: Write multiple modbus register FC=16 #8049
    ns.fariz
    Participant

    Hi,

    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.

    in reply to: Write multiple modbus register FC=16 #8039
    ns.fariz
    Participant

    Hi,

    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?

    in reply to: Write multiple modbus register FC=16 #8001
    ns.fariz
    Participant

    Hi,

    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 .

    in reply to: Write multiple modbus register FC=16 #7970
    ns.fariz
    Participant

    Hi 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?

    ns.fariz
    Participant

    Hi Manjey,

    Your formula is too complicated to me, for now I stick with Mikhail solution. Thank you for your help everyone.

    ns.fariz
    Participant

    Hi 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,

    ns.fariz
    Participant

    Hi Mikhail,
    What’s your suggestion, I just need it it to pass the value to dynamic text when it read <150.

    in reply to: String dynamic text change according input channel value #5791
    ns.fariz
    Participant

    Hi Mikhail,
    It’s work after change to enum text.

    Thanks

    in reply to: String dynamic text change according input channel value #5786
    ns.fariz
    Participant

    Hi 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?

    in reply to: String dynamic text change according input channel value #5777
    ns.fariz
    Participant

    Hi Mikhail,
    Here is error log

    2019-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
Viewing 15 posts - 1 through 15 (of 18 total)