TTL relay switches with Lynxterm, but not my program

I have a ttl relay switch that works great with changing it with the register page on Lynxterm (attached to my ssc-32). When I switch from state ‘0’ to ‘1’, it switches perfectly. When I code it from the initial terminal page, such as
‘R64=0’ then return it doesn’t switch.
When I type ‘R64’ then return, it does show me that R64=0, but it won’t switch until I go to the register page and click ‘read’ or ‘write’, then it works.
Thanks in advance

Sounds right, values don’t switch immediately, only when you WRITE.

Alan KM6VV

How do you write the register changes from a simple terminal page?
Thanks

It would help to see you code. Not sure what processor or the like.
I know I have used this command in the past. The most common mistake I have seen when using basic is passing a binary value for either the servo number or the value instead of the ASCII text.

That is often you will see something like: serout cSSC_OUT, cSSC_BAUD, "R", servonum,"=", servoval, 13]
instead of: cSSC_Out, cSSC_BAUD, "R", dec servonum, "=", dec servoval, 13]

Kurt

Thanks for your quick reply. I don’t have a problem communicating with the servo controller. I can change the register values with my program. I can move servos with the program. The problem is that it does not write the register values to switch the TTL relay. When I change the register, such as R64=0, when I send ‘R64’, it gives me the value ‘0’. A value ‘0’ should switch on the relay, but it doesn’t. When I run Lynxterm, the terminal page shows R64=0, but still no switch. When I get to the ‘Register’ screen and click either ‘read’ or ‘write’, then the button switches on. What do these buttons on the ‘register’ page send that the terminal page doesn’t. I understand that there is a limit to writing to the eeprom and the controller is putting up somewhat of a road block to avoid overwriting to the register itself (I have no problem moving servos), but is it possible to get around this? I am running Visual Basic 2010.
Thanks so much for all your replies and help!!

Sorry, I think I may be missing something here:

I believe that R64 sets the initial pulse width for Servo 0. I believe that this value is only used when the SSC-32 is first powered up or reset. If you wish to turn the pulse off for servo zero you can either do:
#0P0

or I believe:
#0L

Kurt

Hey thanks!!!
#0H and #0L turn it on and off.
Fixed!!!
You are awesome!
Thanks!!!
Geoff