manjey73

Forum Replies Created

Viewing 15 posts - 136 through 150 (of 856 total)
  • Author
    Posts
  • in reply to: How do I send setup data to Modbus device #16084
    manjey73
    Participant

    Show the Modbus settings for this command, an example of which you showed in the screenshot.

    in reply to: How do I send setup data to Modbus device #16083
    manjey73
    Participant

    For a channel to be written to the device, it must be Input/Output or Output

    And yet, scripts cannot access writing to the device without your participation or without the participation of the auto-control Module.

    in reply to: CAN Driver #16082
    manjey73
    Participant

    https://rapidscada.net/docs/en/latest/developers/driver-development

    Unfortunately, I don’t have any devices with the CAN 2.0 protocol, and I can’t even start writing a driver.

    in reply to: How do I send setup data to Modbus device #16076
    manjey73
    Participant

    It’s not entirely clear what you want. Describe what kind of Modbus device and what exactly needs to be sent to it? Take screenshots for understanding.

    By returning byte[] from the output formula, you are sending CmdData to the device, that is, replacing it with the one you need.

    • This reply was modified 8 months, 2 weeks ago by manjey73.
    • This reply was modified 8 months, 2 weeks ago by manjey73.
    in reply to: CAN Driver #16075
    manjey73
    Participant

    How to implement it? – – – – Write a driver for this protocol. There is a lot of time to study and experiment if the device is available, and preferably the ability to use native programs to remove read and write logs.
    What kind of device do you have? is there documentation for it?

    in reply to: How do I send setup data to Modbus device #16072
    manjey73
    Participant
    // Recording the date in the EKF PLC (Haiwell) is an example
    public byte[] WriteDt()
    {
    DateTime dt = DateTime.Now;
    var year = BitConverter.GetBytes((ushort)dt.Year);
    byte[] cmdData = new byte[14] {0, 0, // Регистр года
    0, (byte)dt.Month, 
    0, (byte)dt.Day,
    0, (byte)dt.Hour,
    0, (byte)dt.Minute,
    0, (byte)dt.Second, 
    0, 1}; // команда на запись в PLC
    cmdData[0] = year[1];
    cmdData[1] = year[0];
    return cmdData;
    }

    If you need to return bytes, you can look at this example. A multiple command is created in the Modbus Device (entry code 16 – 0x10)

    in reply to: How do I send setup data to Modbus device #16069
    manjey73
    Participant

    Perhaps you need to use something like new CmdData(ххх ххх ххх) so that the Script compiler executes it correctly.

    Or use SetData or NewData

    • This reply was modified 8 months, 2 weeks ago by manjey73.
    • This reply was modified 8 months, 2 weeks ago by manjey73.
    in reply to: CAN Driver #16068
    manjey73
    Participant

    At the moment, via OPC.
    If we are talking about CANopen, then if there are devices, it could be implemented as a driver. Can you provide such devices with remote access?

    in reply to: OPCUA DA Gateway #16049
    manjey73
    Participant

    on Img1, you can see that Val = 0.000 but Data is 363030

    And this is the number 600 in the ascii code.

    in reply to: OPCUA DA Gateway #16046
    manjey73
    Participant

    Have you tried using input and output formulas?

    For example, process your string value using CnlData in the input formula
    Also, when writing, you can send CmdData instead of Cmd.

    in reply to: Daily Archive #16038
    manjey73
    Participant

    Well, you need to install ElasticReport first.

    And following his example, the xml in the sent ones should be replaced with the channel numbers that you have in the project. See how it will all be displayed in html.
    I didn’t understand much, to be honest. There you can change the names of channels, what exactly to output, and so on.

    in reply to: Daily Archive #16035
    manjey73
    Participant

    Elastic_Report_Test

    Change my Elastic Report test configs there chlNum to your own and try it.

    in reply to: runtime8.0.相容問題 #16030
    manjey73
    Participant

    1

    您必须安装两个dotnet组件。

    You must have two dotnet components installed.

    in reply to: Daily Archive #16017
    manjey73
    Participant

    unfortunately, I didn’t really figure it out myself 🙂 All the time, when I try to deal with him, I don’t have enough patience. And the primitive that I wanted to make didn’t suit me, because it doesn’t support it.

    in reply to: Daily Archive #16014
    manjey73
    Participant

    Last Day report
    1

    Try to figure out the ElasticReport settings. I didn’t get what I expected from him, but in your case it might be different.

    • This reply was modified 8 months, 3 weeks ago by manjey73.
Viewing 15 posts - 136 through 150 (of 856 total)