Forum Replies Created
-
AuthorPosts
-
kcks66
ParticipantHi Mikhail,
Noted. Thanks for the suggestion.
kcks66
ParticipantHi manjey73,
That’s great. Thank you.
kcks66
ParticipantHi Mikhail,
Noted. Will give it a try.
kcks66
ParticipantHi manjey73,
Currently I am waiting for an publish of instruction steps on how to migrate from V5 to V6. I will definitely want to use V6.
kcks66
ParticipantHi manjey73,
Yes. I managed to copy the input channel to the output channel by using data change trigger.
Now can I store a hexadecimal number in an input channel? I want to copy the hexadecimal number in an input channel to an output channel?
Thank you.
kcks66
ParticipantHi manjey73,
Ah, I think I didn’t ask the question properly. I wish the output channel send out value always follow input channel as the input channel value is always changed from 1 to 100.
kcks66
ParticipantHi manjey73,
Meantime, I tried to use automatic control module to perform quite similar task. My task is straight forward this round.
I want an output channel send out value follow an input channel value; as example input channel 1001 has 15, I want the output channel 2001 to send out 15 also.
I configured automatic control module as below but failed to get the result as I expected.
Pls advice and thank you.
kcks66
ParticipantHi manjey73,
Yes, me too. Always get 0.
By the way, thanks for your effort.
kcks66
ParticipantHi Mikhail,
It is multiple holding register. Example taken from the manual:
The register address to use is 0002 reference frequency:
kcks66
ParticipantHi Mikhail,
Pls advice for the decimal to hexadecimal conversion issues.
By the way, I have automatic control module installed, could it be used to do the job?
Thank you.
kcks66
ParticipantHi manjey73,
I am using V5.8.4. Look’s like the result is not the same in both V5 and V6.
Hi Mikhail,
I changed my output channel command type to Binary. That’s great there is no more error message.
However I entered 30 in web browser but the communicator device page show data is unable to be converted (0001 0000)
Pls advice and thank you.
-
This reply was modified 1 year, 6 months ago by
kcks66.
kcks66
ParticipantHi manjey73,
I entered 30 in web browser:
But error message occur:
What have I missed out?
kcks66
ParticipantHi manjey73,
Next is my device template:
Follow by my output channel:
kcks66
ParticipantHi manjey73,
| 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.YES, this is what I need.
I need to start from beginning step by step follow your instructions.
The formula below is correct?
public byte[] NewFreq()
{
byte[] freq = BitConverter.GetBytes((uint)Cmd*100);
return new byte[] {0x00, 0x01, freq[1], freq[0]};
}kcks66
ParticipantHi manjey73,
I got error message from SCADA Server:
Error calculating standard command value for the output channel 20032: Unable to cast object of type ‘System.Byte[]’ to type ‘System.IConvertible’.
Command is canceledMy output channel formula:
public byte[] NewFreq()
{
byte[] freq = BitConverter.GetBytes((uint)Cmd*100);
return new byte[] { 0x00, 0x01, freq[1], freq[0]};
}Pls advice and thank you.
-
This reply was modified 1 year, 6 months ago by
-
AuthorPosts