Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
What Rapid SCADA version do you use?
In most cases SCADA-Server starts automatically and you don’t need to start it manually. Please watch our videos and do the same.
How to translate this error?
MikhailModeratorIf you send Standard command you can play with a formula of input channel:
BitConverter.ToDouble(new byte[] { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00})
In the formula set the required byte to 1.
MikhailModeratorHello,
To assign multiple coils, you should send a command of binary type and specify a byte array as a command data.
The command data array contains 00 and 01 as I remember.
MikhailModeratorHello,
If a device provide flags as uint, likely you need to set them as holding register by a function 06. Isn’t it?In case you need to mix functions 05 and 06 that is out of Modbus standard, you should modify the driver source code.
MikhailModeratorit takes me to device “x” stats for example Email, OPC instead of for the actual device.
Likely log files was not updated. After you upload configuration, check status of the Server and Communicator applications.
is float32 available as config for communicator decode of data?
If you ask about Modbus, yes.
MikhailModeratorHello,
I would like to send the command with function code – 05 and want to declare the register as 02 bytes uint.
According to the Modbus specification, function 05 is used to set a coil. Coil is a one bit, so you can’t set uint by function 05.
To set holding registers, function 06 is used.
MikhailModeratorOption 1. Via external database as manjey73 said. See this link.
Option 2. We can develop OPC UA server or Modbus Slave driver for Rapid SCADA by a custom contract.
MikhailModeratorHello,
It’s a good idea to create a one command while testing.
To set 2 bytes register, choose Holding Registers in command properties.
Watch the new video about it.
MikhailModeratorTo do this, you need to create a formula in the Formulas table and use this formula for the output channel. The text would be build using the formula.
Set the output channel number to the command settings in the Auto Control Module.Formula example (not tested):
byte[] MyText() { return System.Text.Encoding.GetBytes("Addr;Subj;Text"); }When you make this formula working, I can explain how to insert channel values.
MikhailModeratorHello,
You should specify a command in your Modbus template. If you share a screenshot of your template after you do this, I can validate it.
August 7, 2019 at 2:42 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5810
MikhailModeratorIf sensor returns 65535, set channel data to undefined. Try the formula:
Cnl; Cnl >= 65535 ? 0 : CnlStat
The right part of the formula defines channel status.-
This reply was modified 6 years, 5 months ago by
Mikhail.
August 6, 2019 at 12:05 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5796
MikhailModeratorHi,
If channels is displayed as number, you can’t display “Error”. You can display error on a separate text component.August 6, 2019 at 12:05 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5797
MikhailModeratorHi,
If channels is displayed as number, you can’t display “Error”. You can display error on a separate text component. -
This reply was modified 6 years, 5 months ago by
-
AuthorPosts