#20101 - 07/15/08 03:48 PM
Bobcat RS232 Data Value
|
nicechap
newbie
Registered: 04/07/08
Posts: 6
|
I'm reading post #19730, but the only value I'm getting returned from the Bobcat is 65535, even when I send messages from it (which is working). It also doesn't change with any ASCII I transmit to it either. I have tried this with two separate Bobcats, each version 8 with V3.18.
Any ideas what I may be doing wrong? Looking at wrong?
|
|
Top
|
|
|
|
#20103 - 07/15/08 06:45 PM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
nicechap
newbie
Registered: 04/07/08
Posts: 6
|
The termination character is set to 13, which is the default. Using your example I'm sending "ABC^013". What I find interesting is that even if I use CPUXA to transmit ASCII messages from the Bobcat, I see the correct message come out, but I never see its data value change from 65535 on the Controller Access screen. I also have the following:
IF Module #3 -BOBCAT-A is > -100 THEN Load Data to: Variable #3
Variable #3 is always 65535, even when I send a message. Since the Bobcat value never becomes anything else, I can't use the change to drive anything. It seems like the value should be changing to the message # I send, right?
|
|
Top
|
|
|
|
#20104 - 07/15/08 09:38 PM
Re: Bobcat RS232 Data Value
[Re: nicechap]
|
nicechap
newbie
Registered: 04/07/08
Posts: 6
|
One thing I've noticed now is that the value changes to 65534 when I transmit to the Bobcat. That tells me it's receiving what I send, however, doesn't find it. I'm not sure why since I've cut and pasted the exact ASCII from the ASCII Messages page.
But why don't I see the value change when I have the Bobcat send a message using CPUXA?
|
|
Top
|
|
|
|
#20107 - 07/16/08 07:56 AM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
nicechap
newbie
Registered: 04/07/08
Posts: 6
|
It never increments that way. I can do:
IF Module #3 -BOBCAT-A becomes < 65000 THEN Variable #3 + 1
and I can see it increment. But if I set it to become any specific number I don't get a change.
|
|
Top
|
|
|
|
#20110 - 07/16/08 08:33 AM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
nicechap
newbie
Registered: 04/07/08
Posts: 6
|
Variable #4 never changes, but variable #3 increments.
#4 is always zero.
I also have:
IF Module #3 -BOBCAT-A becomes = 0 THEN Variable #5 + 1
and Variable #5 never increments either.
|
|
Top
|
|
|
|
#21753 - 04/07/10 03:46 AM
Re: Bobcat RS232 Data Value
[Re: nicechap]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
where I can read about receiving data throuth rs232 bobcat? Bobcat's pdf tells nothing about it.
|
|
Top
|
|
|
|
#21754 - 04/07/10 06:43 AM
Re: Bobcat RS232 Data Value
[Re: oonkel]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
and some troubles. I have v5 ascii rs232 bobcats, I can't send value in messages. code is [img] http://www.ydom.ru/t/asc00.jpg[/img]
I got only text, no values.
|
|
Top
|
|
|
|
#21755 - 04/07/10 06:44 AM
Re: Bobcat RS232 Data Value
[Re: oonkel]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
code once more
|
|
Top
|
|
|
|
#21756 - 04/07/10 06:58 AM
Re: Bobcat RS232 Data Value
[Re: oonkel]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
v8.31/59 application v3.08
|
|
Top
|
|
|
|
#21762 - 04/07/10 08:33 PM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
I have v5 ascii rs232 bobcats
|
|
Top
|
|
|
|
#21763 - 04/07/10 08:35 PM
Re: Bobcat RS232 Data Value
[Re: oonkel]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
is the v. 5 the only reason?
|
|
Top
|
|
|
|
#21765 - 04/08/10 08:01 AM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
I found v.7 485Bobcat, it works. Can I apgrade v.5 to v.7?
|
|
Top
|
|
|
|
#21767 - 04/08/10 08:48 PM
Re: Bobcat RS232 Data Value
[Re: Guy Lavoie]
|
oonkel
junior
Registered: 10/13/09
Posts: 32
|
Is it a hardware or firmware problem?
|
|
Top
|
|
|
|
Moderator: Dan Smith, Monte G, ADI Tech Support, Guy Lavoie
|
2747 Members
19 Forums
3837 Topics
22722 Posts
Max Online: 67 @ 08/16/11 03:08 PM
|
|
|
|
|
|
1
|
2
|
3
|
4
|
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
|
26
|
27
|
28
|
29
|
|
|
|
|
|