Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MANAGE HEX STRING COLB
#1
Hello
I have also some problem to receive complete string (I'm ususing ararat synapse library in lazarus)
In your debug software works all ok and I check also with other program and all works correctly, I would know if the received string could contain some special Char because if I send this string   "5E0123C001000000000000000000000000000000000000000000000000000000000000000000000000000000FF" (to read digital input for example) I receiv only this
string   "5E0123C011000000000000000000000000000000000000000000000000000000000000000000000000000000FF"
while the correct (and complete) string should be this "5E0123C011000000000000000000000000000000000000000000000000000000000000000000000000000000FF00000000000000000101010001010101
I don't understand why I don't receive the last part of string (00000000000000000101010001010101)

thank you in advance
Reply
#2
Protocol string length exceeded
Reply
#3
(06-04-2022, 01:58 PM)admin Wrote: Protocol string length exceeded

ok thank you
Reply
#4
(06-04-2022, 07:07 PM)Dm81 Wrote:
(06-04-2022, 01:58 PM)admin Wrote: Protocol string length exceeded

ok thank you

Hello
I would ask you a thing about HEX string sending precess to COLB
At start of my program (only one time at start to get digital and analog input status) first I send
"5E0123C001000000000000000000000000000000000000000000000000000000000000000000000000000000FF" for digital input and after I send
"5E0124C001000000000000000000000000000000000000000000000000000000000000000000000000000000FF" for analog input
question is:
why I receive only one answer from board like this in wich I have the status of both input ?
5E0123C011000000000000000000000000000000000000000000000000000000000000000000000000000000FF000100000000000000000000000000005E0124C021000000000000000000000000000000000000000000000000000000000000000000000000000000FFBC011C00D0010200D101C801C901C00101000000000000000000000000000000
I try also to wait some millisecond before send second string but answer is the same
thank you
Reply
#5
can you open the COLB's the newest software, here is debug window, you can press read digital input and read analog input buttons to see the LOG, what data have sent and what data is received, whether pc software is correct, your command is wrong.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)