Internet PLC Forum
General => Technical support => Topic started by: PDirac on March 26, 2004, 11:17:39 AM
-
Hi,
I've bought a T100MD888 and I trying to view ADC(1) with
the aid of a 1K ( 1 turn ) potentiometer as specified in the installation guide. I've downloaded the setlcd.pc5 in the PLC with the following modification to the dCust function:
setlcd 1,1,"Analog 1 ="+str$(ADC(1)*1000/4096)+" "+"R" to have a reading of the resistance.
I haven't had any succes yet as the value seems to drift.
Help would be greatly appreciated.
Thanks,
Robert
-
Check your wiring to the ADC#1. It is supposed to be connected to pin 8 of the DB15 connector. One common mistake is to connect to pin 1 of the connector which is actually ADC #8.
ADC # Pin #
1 8
2 7
3 6
4 5
5 4
6 3
7 2
8 1
-
Hi :)
Thank you very much for your much needed help !!!
I made that mistake and it cost me a sleepless night.
I've connected the potentiometer and everything is fine.
Your help is greatly appreciated.
Robert ;D