Sign in to follow this  
Followers 0
steve maker

Red Lion CSMSTR to Veeder Root TS-750

2 posts in this topic

I am trying to write a program to call one parameter from a Veeder Root TS-750 panel. The parameter I am trying to read is Function Code 201 (In-Tank Inventory Report). According to the VR Serial Interface Manual, the command format is <SOH>i201TT, where TT is the number of the tank. I have set up a RAW RS-232 port on the Red Lion CSMSTR and have written the following program: PortPrint (2, "01i20101"); cstring input; input=PortInput(2, 1, 13, 2000, 500); if (input!= ""){MainTanks.Var2=input;} I have attached the page from the interface manual that discusses this parameter. Right now, I am not getting a response from the TS-750 and I have the TS-750 communicating on Port 1, 9600, 8 bits, 1 stop bits, no parity. I'm new to serial programming, and any help would be greatly appreciated. Thanks. In-Tank Inventory Report.pdf

Share this post


Link to post
Share on other sites
Do you need a carriage-return / line-feed after your string? I also would change the start character to begin receive immediately and set timeout to 0. cstring input; PortPrint (2, "01i20101\r\n\"); input=PortInput(2, 0, 13, 0, 500); MainTanks.Var2=input;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0