10
« on: April 18, 2008, 06:57:50 PM »
Thanks for the help.
"1). first the serial protocol in mach is 8-N-2"
I changed the protocol to 8-N-2, still did not work
"2). Your Delay time outs are way high, is that due to your serial to USB converter?"
No converter, I was just copying someone else’s code. I set them for 25ms
"3). I noticed you have several config files, is there any way to have sequential Block of input, and Block of output registers in the cubelogic."
Yes, the Cubloc can have sequential block of inputs, but not with the board I am using.
"4). Change your output type and input type to Input and Output holding respectively and when that register comes into the cubelogic use Bit of Word or what ever your equivalent is to get the discrete bit. You can pass your holding registers as your control registers in the Cubelogic."
I don't know how to do that in the Cubloc. I have sent them an email asking how.
"5). Your Modbus Run box is not checked, perhaps you need to, or forgot about it."
Oops, I forgot that.
"6). Make sure your Flood LED actually Turns ON, when you hit the M code."
Another Oops, they were not enabled. I changed that and verified that they are working. In the Cubloc, the IO has to be set up in Basic to allow communications for either Basic programs, or Ladder programs. I am missing something in the Basic program setup. Hopefully they will get back to me soon and I can get this running. Once this simple communication thing is fixed, I think I can get most of what I want to do finished.
Thanks again, I'll post when I get the answers from Cubloc.
Vince