Forum Replies Created
-
AuthorPosts
-
manjey73Participant| 31.07.2023 08:59:05 | Code=freq, Data=00010BB8 |
Enter 30 in Web.
Although no, it seems to be enough, I entered 30 into the Web and received the following data in the sent command.
manjey73ParticipantYes, there is another nuance, in the formula it is necessary to additionally convert the number to HEX. We need to think about how to do this… Just using BitConverter is not enough for this
manjey73ParticipantFor me, the formula does not cause errors during compilation. And the result of sending from the Web is shown below. It may be necessary to rearrange the bytes in the formula. Well, configure the command in the Modbus template as multiple for several registers in addition to the other channels.
manjey73Participantpublic byte[] NewFreq()
{
byte[] freq = BitConverter.GetBytes)(uint)Cmd*100);
return new byte[] { 0x00, 0x01, freq[1], freq[0])
}I haven’t checked, but something like this
manjey73ParticipantYou need to use the formula in the control channel that will send the generated CmdData
manjey73ParticipantI strongly doubt that there will be DCOM support in the Windows 10 version for ARM
manjey73ParticipantFor commands, Cmd (command value) must be used, and Cnl (channel value) is used for input channels
manjey73ParticipantOutput Formula is not a channel number, but a formula.
Command Code = tag 4 and not just 4
manjey73ParticipantScada Admin works under Windows and all settings are made from there with subsequent transfer to the server.
Or the option to run Scada Admin under Wine.
manjey73ParticipantWORD = 16
DWORD = 32July 3, 2023 at 7:18 am in reply to: Cannot skip to the next one when the 1st element of Modbus RTU encounters error #12926
manjey73ParticipantI don’t know how it was done in the 6th version, but in the 5th it is, after unsuccessful attempts, all other groups were not requested. This is the default action.
manjey73ParticipantSwitch the operating mode in Read Input Registers
manjey73ParticipantYou yourself wrote the formula how it is possible. If you need to send commands directly to the devices, then you need an automatic control module.
manjey73ParticipantTransfer this file to your project folder
manjey73ParticipantAnd in order to convert DateTime to the channel value, you need to add DateTime.ToOADate()
-
AuthorPosts