8255 Based IO cards

More
30 Sep 2013 23:15 #39408 by macona
Replied by macona on topic 8255 Based IO cards
I am using the PCLD-785 relay board that work with it.

www.advantech.com/products/PCLD-785B/mod...1F-FFEF951059FB.aspx

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 00:56 #39416 by andypugh
Replied by andypugh on topic 8255 Based IO cards

I am using the PCLD-785 relay board that work with it.


We can discount measurement error then. And the HAL session looked correct.

Do the relay boards need an external power supply, and is that connected?

It ought to be a very simple change to the PCL720 driver to make it into an output-only PCL-722 driver.

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 01:32 #39417 by macona
Replied by macona on topic 8255 Based IO cards
Yes, the boards need +5v and +12v. +5 can be (and is) supplied by the card and 12v comes from an external switching power supply. Both LEDs for power are on.

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 01:49 - 01 Oct 2013 01:50 #39418 by PCW
Replied by PCW on topic 8255 Based IO cards
The manual with register mapping info is around (google for A7122Manual.PDF)
Addressing is very simple :

Port0A Base Address
Port0B Base Address +1
Port0C Base Address +2
Port0CW Base Address +3
Port1A Base Address +4
Port1B Base Address +5
Port1C Base Address +6
Port1CW Base Address +7
...

A possible stumbling block on ISA systems is that the base address may overlap other motherboard hardware (0x200 is the game port thats built into a lot of ISA vintage chipsets) so you may need to find an address with 32 contiguous locations of free I/O space for all I/O to work.
Last edit: 01 Oct 2013 01:50 by PCW.

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 04:53 #39422 by macona
Replied by macona on topic 8255 Based IO cards
Ill try a different address set tonight and see what happens.

If not I will just get a Mesa 7i69, that will tie into my 7i76 and make life easier. It has two 50 pin opto-22 compatible headers.

-Jerry

Please Log in or Create an account to join the conversation.

More
01 Oct 2013 10:54 #39429 by macona
Replied by macona on topic 8255 Based IO cards
Tried switching the address to 0x300 and no difference. Oh well. I am going to order the 7i69 tomorrow. At $69 I cant mess around at that price.

Please Log in or Create an account to join the conversation.

Time to create page: 0.223 seconds
Powered by Kunena Forum