Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication Protocol with RS485 and Yokogawa UP55A

Hi all, I have input the exact commands according to the UP55A manual and pretty sure the connections are correct but my labview doesnt seems to be responding. Also i refer to this link where i got most of the interface information.

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Communication-Protocol-with-RS485-and-Yokogaw...

 

This is the command i send in: 

\010101FINF6\03\r 

01-STX, 01-adress, 01-CPU No. (fixed at 01), F-600ms response time, INF6-read model, 03-ETX, r-CRrs485.png

The output string does not display anything.

 

 

 

0 Kudos
Message 1 of 17
(7,436 Views)

Hi,

 

In your VI I am missing the F for the time-out. In the VI and post I don't see the checksum.

 

How did you connect the RS-485 interface. Connection, wires, terminators, ?

 

Kees

0 Kudos
Message 2 of 17
(7,428 Views)

Hi,

 

I am using a usb to 485 converter and connects it to RDA(+) RDB(-) of the UP55A. 

As far as I am concern, the checksum is not required. Please correct me if i am wrong.

0 Kudos
Message 3 of 17
(7,423 Views)

I never used the UP55A.

Which command are you using. On page 3-21 (and others) I see the checksum.

 

How long is your cable to the UP55A. Is one of the ports isolated (floating) ?

Did you use terminators ?

 

Kees

0 Kudos
Message 4 of 17
(7,421 Views)

Hi Kees,

 

Which manual are you referring? 

The cable is really really short. I just hooked it and is infront of my monitor, on top of my working table. Jst a few inch to be exact. And I did not use any terminators. checksum is not needed and can be ignored i suppose.

 

This is the user manual:
http://www.insatech.com/downloads/UP55A_Users_Manual_IM05P02C41-01EN_020.pdf

 

This is the rs485 manual:
http://www.electro-meters.com/Assets/pdf2_files/Yokogawa/Controller_folder/UP55A/UP55A_RS485_Comm.pd...

0 Kudos
Message 5 of 17
(7,410 Views)

 

The last one is the comminication manual. Although I have version 9 (and yours is version 6) page 3-21 are the same.

 

Kees

0 Kudos
Message 6 of 17
(7,407 Views)

Hi Kees. Thank you for pointing out on that. Trying on the checksum. Would post again soon.

0 Kudos
Message 7 of 17
(7,403 Views)

Hi, on page 3-22

(7) Checksum
The ASCII codes of text from the character following STX up to before the checksum
are added one byte at a time. The lowermost byte of the addition result is removed,
and an ASCII text string of two bytes expressed in Hex is taken to be the checksum.
This column is required only when performing PC link communication with a
checksum.
When performing PC link communication without a checksum, this ASCII code 2-byte
area is not required.

 

In the controller, the protocol that I have selected is PCL (without checksum function). Therefore, the checksum area can be ignored? 

 

The commands  \020101FINF6\03\r is not working. 

0 Kudos
Message 8 of 17
(7,394 Views)

Can you have a look at page 1-1 of the user manual.

0 Kudos
Message 9 of 17
(7,391 Views)

Hi Kees, I have gone through those steps. 

0 Kudos
Message 10 of 17
(7,383 Views)