07-25-2007 12:02 PM
07-25-2007 12:23 PM
Additional info:
My system has three of these UP351 devices (addr. 01 through 03) and they are configured in (RS485) 2-wire mode.
I am using the same port settings as does the Yokogawa software (LL100 Param. Setting Tool) and have verified they match settings on the controllers.
I am not receiving responses from the controllers when sending commands from Labview (via NI VISA) using the PC Link communication protocol described in the Yokogawa manual.
07-25-2007 01:03 PM
07-25-2007 03:26 PM
07-25-2007 04:07 PM
Paul,
Based on experience with other Yokogawa instruments, I pretty sure that your command string is the problem. The first thing to remember is that in "\" display mode, the STX character is entered as "\02". ETX is entered as "\03". I'm also pretty sure that the carriage return is sent before the ETX character. Based on those changes and assuming that the rest of your command sytax is correct the string would be:
"\0201010INF6\r\03"
I am also sure that there are some spaces "\s" that also need to be in the string between the commands and the modifiers. Can you post a copy of the serial com docs for this meter?
07-25-2007 04:45 PM
07-26-2007 07:02 AM
Paul,
Looked at manual. Looks like you are using the PC Link communication scheme. No spaces needed and the "\r" is indeed at the very end. String should = "\0201010INF6\03\r" Amazing how many com schemes Yokogawa uses.
I made a slight change to your vi. I suggest that you start out adding the termination character to the string you write. The termination character you were setting with the property node actually sets the receive termination character.
I'm guessing that you should be using 2-Wire Auto. What are you using for the 485 port on your PC? That will have a lot to do with this.
07-26-2007 09:45 AM
Success! After verifying the port was set to 2-Wire Auto and using the command syntax you provided I finally received the expected response!
I had been trying different transiever modes along with variations of the command syntax you had suggested earlier but I hadn't found the correct combination until now. Now I can set about trying to make this thing work for me.
Thanks, bolt! Your assistance has been invaluable and very much appreciated.:)
P
07-26-2007 10:58 AM
08-02-2007 09:14 AM