Forum Replies Created
-
AuthorPosts
-
manjey73ParticipantThe image does not have properties that can be passed a value so that the image can be changed according to the condition. I don’t remember if it’s possible to specify the control channel directly in the Picture.
But you can change the file name property of the image inside the faceplate using the component script or facplate.
I haven’t gotten to the continuation of how to do this yet 🙂
manjey73ParticipantIf I’m not mistaken, but the conditions are not transmitted to the Image installed in faceplate.
manjey73ParticipantAs far as I know, you just need one network, ports are not important. This is how I connected to devices with virtual network addresses, but I had to be a client of this network.
manjey73ParticipantI think @Mikhail will not scold much, but on the contrary, he will correct that he translated the online translator incorrectly. 🙂
manjey73ParticipantThis is the Channel 103 tag code in the Simulator
manjey73ParticipantUnfortunately, it is not a very convenient document, there is no way to copy text from a pdf and send it to an online translator. 🙁
manjey73ParticipantDrop these memories and keep learning Russian 🙂
Moreover, in Russian, something from the documentation appears faster.
manjey73ParticipantYou should translate this document. It is strange that there is no documentation in English in the folder.
An example of one of the communication options for the exported FacePlate property based on Simulator channel 103.
manjey73Participantyes, you need a script, you can even use it in the input formula, something like this
(Cnl == 0x7FFF || Cnl == 0x7FFFFFFF) ? SetData(CnlNum, 0, 0): Cnl
however, I did not try to check for two values at once.
instead of the first 0, you can double.NaN
manjey73ParticipantCmd==0? 0 : Bitconverter.Double({ 00, FF, 00, 00, 00, 00, 00, 00})
this option is also possible. just check the syntax.
manjey73Participantwhen you use the Off-On enumeration and the command window has two corresponding buttons, a 0 or 1 is sent to your command as a double. Based on this, it is required to build a formula.
manjey73Participantpublic double exsamp()
{
if (Cmd==0) return 0;
elseif (Cmd==1) return 65 280;
else return double.NaN;
}there is no On or OFF in Cmd, numeric values are there, even if you use enumerations.
manjey73Participantit may not be possible to embed mim in mim. Try FacePlate
manjey73ParticipantNow it’s clear, is there a problem with transferring channels if one *.mim is embedded in another?
Is it possible to embed mim directly into mim? it seems that FacePlate and their exported properties are used for this.
-
This reply was modified 6 days, 8 hours ago by
manjey73.
manjey73Participantno matter how many times I used the parser, I always focused on the fact that CRC = OK, and I didn’t even pay attention to the value itself. 🙂
-
This reply was modified 6 days, 8 hours ago by
-
AuthorPosts