Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHello,
If channel 101 has length = 3, there are shadow channels 102 and 103 are created by Server.
You should not use channel numbers 102 and 103 explicitly in the Channels table.
MikhailModeratorHello,
Your description is correct.
I suggest to compare Modbus packets sent by Rapid SCADA and the other software.December 16, 2024 at 2:41 pm in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15797
MikhailModerator
MikhailModeratorHello,
Please provide screenshots the explain the issue.
MikhailModeratorHello,
Password should be changed by the Set Password button. Then upload the project for execution.
MikhailModeratorHi,
Try setting channel’s Data Length to 3, for example. Note that next 2 channels may not sequential channel numbers.
Each 1 of data length may contain up to 4 Unicode characters.
MikhailModeratorHi,
Please provide screenshots of the settings and error.
December 13, 2024 at 11:06 am in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15768
MikhailModeratorDid you install OPC Core Components?
December 12, 2024 at 2:06 pm in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15759
MikhailModeratorThe 1st link does not work.
MikhailModeratorData type = Unicode string
Format = String
Output formula =SetUnicode()
MikhailModeratorHello,
You should add the SetUnicode function into the Scripts table. Then use it in the channel’s formula field.
If you provide screenshots of your settings, I can check.
MikhailModeratorPlease use this subforum to write in Chinese.
December 11, 2024 at 11:13 am in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15738
MikhailModeratorUpload images to any free hosting (Google Drive, for example) and post a link here.
MikhailModeratorChannel should be of the Calculated/output type
MikhailModeratorHello,
Try
public byte[] SetUnicode() { if (ArrIdx == 0) { string s = CmdData == null ? "null" : Encoding.UTF8.GetString(CmdData); int dataSize = Channel.DataLen ?? 1; for (int i = 0; i < dataSize; i++) { string part = Substring(s, i * 4, 4); SetData(CnlNum + i, EncodeUnicode(part), 1); } } return CmdData; } -
AuthorPosts