Lpt Ports Inports and Outports

Submitted by HINAYUPAKS on

Hello Guys i need help on this Project that i have... actually im making a program for automation... my past years im in Animatronics industries but im more on Electronics...

I prepare to use for automation is a Computer using LPT ports... coz u know PLC is very expensive... i prepare ro use Pentium 3 800 ... and now this is my problem ... i need a Program that reads Value from LPT Ports H378 or H278 ... i need to read values from pins 1,14,16 and pin 17... i all ready have the program for the out port for pins 2 to 9...

i try so many things to perfect the all the timings.. but it is really impossible with out the trigger from the LPT inputs ... im a new programmer .. ive learned all this stuffs on the net i have no proper education on this... my next target is how the DLL works...

But for now i need help... i need a DLL for Ouput and Input... and a sample code for input.. i will share the programe here as soon as i finish this...

 

Thanks in advance