Jump to content

Forcing Relays via rs232


ikos74

Recommended Posts

Hello everyone,

I’m new to Labview and i would appreciate it if someone could show me how to make, or use an existing Labview VI to operate via RS232 (ASCII or Modbus) an external Power Relay Output (Advantech ADAM 4069), in order to switch on and off a vacuum pump.

The problem is that no Labview VI or driver exists yet from Advantech. However, according to the manual I have to send simple hex command like 0x01 for Set and 0x00 for Reset, through a serial port.

Product Page of Power Relay Output:

http://www.advantech.com/products/8-ch-Pow...d_1-2MLDJ5.aspx

The event which will set or reset the relay is a dc voltage reading acquired by an internal PCI Multifunction Card, for which several VI’s exists.

Thanks in advance for any help!

Regards,

John

Link to comment

QUOTE (ikos74 @ Jul 10 2008, 06:10 PM)

Years ago I used the ADAM 4017 (Analog Input) / 4050 (Digital I/O) at the university with LabVIEW 5.1.

Here is the code for the 4050 (If you can't open it, you can open the word doc and reprogramm it...):

It's not the style I programm today, but it worked...

Download File:post-1396-1215756572.zipDownload File:post-1396-1215756587.zipDownload File:post-1396-1215756677.zip

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.