Forum Replies Created
-
AuthorPosts
-
詹森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詹森ParticipantNow 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
詹森ParticipantWhat 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.pngSetData(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
詹森ParticipantMaybe 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
詹森ParticipantNow the device only supports CAN 2.0A/B protocol, I would like to ask how to implement it? The device does not support OPC
詹森ParticipantCmdData 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
詹森Participanthttps://github.com/njzsky/Public/blob/main/Command.png?raw=true
In the figure, how do I implement the send command function in the script
詹森ParticipantSendCommand(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詹森Participant我没有理解你的问题 不过我建议你去官网多看看自动控制如何使用
詹森Participanthttps://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
詹森ParticipantThe way I use it is not quite correct, now I know how to use it, thank you
詹森Participanthttps://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
January 7, 2025 at 2:10 am in reply to: How to know the network connection status of a device #15925詹森ParticipantI 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
詹森ParticipantThank You
詹森ParticipantOkay, thank you. I thought this method would call itself, so I think I got it. Thank you
-
AuthorPosts