詹森

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • in reply to: IP address And System Time #16081
    詹森
    Participant

    Enter “ip addr show” on the Linux command line to display all ip addresses
    So how do I write all the ipV4 addresses into the channel, and how do I configure Linux to be static ip addresses? Thank you

    in reply to: CAN Driver #16080
    詹森
    Participant

    Now in the use of CAN 2.0A/B protocol photovoltaic related equipment, do not know much about the writing of drivers, please do not have more detailed information? Thank you

    in reply to: How do I send setup data to Modbus device #16079
    詹森
    Participant

    What I’m trying to do now is
    For example, channel1 is the channel ID of the real device. I can directly set the command in the View on the Web, and the command value is automatically written to the service
    The operation is shown as follows (after clicking On/Off, the value can be written to the service) :https://raw.githubusercontent.com/njzsky/Public/refs/heads/main/Command2.png

    SetData(channel1, 1, 1); // If I write this in the script, I just write 1 in channel1, not in the service

    Now I need to use the script code in Configuration Darabase — Secondary Table –Scripts to implement that the data written to channel1 can be written to the service

    Thanks & Regards

    in reply to: How do I send setup data to Modbus device #16074
    詹森
    Participant

    Maybe I wasn’t clear, so let me redescribe it

    I now need to set the data to the service. I assigned a value to CmdData in the script code, but I got an error

    Now I can’t find a way to write data to the service in the script (to send the data to the communication bus)

    You are talking about the code of the package, what I need is how to write the data of the script to the service

    in reply to: CAN Driver #16073
    詹森
    Participant

    Now the device only supports CAN 2.0A/B protocol, I would like to ask how to implement it? The device does not support OPC

    in reply to: How do I send setup data to Modbus device #16064
    詹森
    Participant

    CmdData byte[] Command data transmitted to Server

    I tried to use this variable, I assigned it a value, and the result indicated that it is read-only, this I can’t find how to implement sending values directly from the script to the Modubs device, what to do? I need help. Thank you!

    error CS0200: Property or indexer ‘CalcEngine. CmdData’ cannot be assigned to — it is read only

    in reply to: How do I send setup data to Modbus device #16063
    詹森
    Participant

    https://github.com/njzsky/Public/blob/main/Command.png?raw=true

    In the figure, how do I implement the send command function in the script

    in reply to: How do I send setup data to Modbus device #16062
    詹森
    Participant

    SendCommand(cmd, EnableAll);
    I tried to use this method, but it can’t be used directly in the script. Is there any way to call it directly, send the data to the Server, and the Server sends the data to the Modbus device? Thank you very much

    in reply to: Script use #16048
    詹森
    Participant

    我没有理解你的问题 不过我建议你去官网多看看自动控制如何使用

    in reply to: No sign-in #15964
    詹森
    Participant

    https://github.com/njzsky/Public/blob/main/autoLogin.png?raw=true

    I’m very sorry, there is something wrong with the link, I just uploaded it again. Again help me to see that I have carried out such a configuration (as shown), why is it still not possible to log in without it, thank you for your answer

    in reply to: There is a problem with Import Table #15948
    詹森
    Participant

    The way I use it is not quite correct, now I know how to use it, thank you

    in reply to: No sign-in #15947
    詹森
    Participant

    https://img1.lookpic.cn/2025/01/08/autoLogin.png

    I have configured the user name and password for automatic login, but I still need to log in. Is the reason for the administrator account? And how to configure a log-in free account

    in reply to: How to know the network connection status of a device #15925
    詹森
    Participant

    I also want to know how to get the Communication Lines State? I want to be in a state as to whether the device has failed to communicate

    https://img1.lookpic.cn/2025/01/07/GetDevStateeddad1e4b5c090cf.png

    How do I get the state in the picture and write it to the channel

    in reply to: use PrevTime() #15924
    詹森
    Participant

    Thank You

    in reply to: InitScripts() use #15922
    詹森
    Participant

    Okay, thank you. I thought this method would call itself, so I think I got it. Thank you

Viewing 15 posts - 1 through 15 (of 25 total)