Forum Replies Created
-
AuthorPosts
-
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; }
MikhailModerator🙂
December 10, 2024 at 10:32 am in reply to: Add OPC DA error:’OpcRcw.Comn.IOPCServerList2′ No such interface supported #15727
MikhailModeratorHave you already tried the recommendations from this topic?
MikhailModeratorHello,
A license is applied to a server. If you have 1 server machine and 5 client PCs, you need 1 license. I suggest installing the plugin with trial keys to check it.
MikhailModeratorHello,
That’s possible. You should use scripts for that purpose. Read more info about scripts.December 6, 2024 at 10:32 am in reply to: Automatic Control Module does not appear in the list of unused plugins #15717 -
AuthorPosts