Author Topic: Help needed  (Read 14008 times)

PDirac

  • Guest
Help needed
« 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


support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Help needed
« Reply #1 on: March 26, 2004, 03:23:55 PM »
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
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

Robert

  • Guest
Re:Help needed
« Reply #2 on: March 26, 2004, 03:55:41 PM »
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