Control ssc-32with batch files?

I have a mini-ssc II and a kronos servo control chip that I operate using batch files, which is pretty handy for my web control. I’m wondering if I can do the same with the ssc-32 servo controller. The below is an example batch file that will echo the commands to com 1 at the baude rate currently set in windows. This should should tell servo 0 to move to three different positions with an ~2 second delay in between. Not having an ssc-32, I can’t test the below to see if it works. Maybe some one else that has one can try it for me?

@echo off echo #0 P1300 > com1 ping -n 3 127.0.0.1 >nul echo #0 P1500 > com1 ping -n 3 127.0.0.1 >nul echo #0 P1800 > com1

Sure this works.
Try PHP if you want to controll the SSC-32 from the web.
PHP fwrite is your friend.

Cheers

Thanks for actually testing it for me. I’ve looked at possibly using PHP to do web based serial port I/O, but haven’t found simple info on that yet. For simple web control of servos, I use the apache web server and simple barch files similar to the above. Being able to use a simple batch file to control the ssc-32 would allow for windows scheduler to automate control of things via the ssc-32.

I just did a search for “php serial” and found this PHP Classes site. There is a PHP Serial class on there, but you have to subscribe to the site to download it. I find the site difficult to get around though. I have not tried the serial class out yet.

8-Dale

The below page might be of interest to those who would want to use the ssc-32 to control a lot of things on/off. The page info is for use with the 8 data lines on the parallel port, but a single 8 pin bank on the ssc-32 in the byte mode should be able to do the same function. The 74HCT259 chips are about $.50 each, so it would be an inexpensive setup. I think I figured that ~120 individual on/off lines could be controlled via the 8 pins.

geocities.com/zoomkat/output.htm