Author Topic: SETLED LED Display  (Read 10297 times)

Asep

  • Guest
SETLED LED Display
« on: July 02, 2003, 06:44:01 AM »

Could you please inform how can I connect my T100MD+ to 4 digit LED display.
Can I use SETLED statement in TBasic and how to implemented it.

Thanks
Asep
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: SETLED LED Display
« Reply #1 on: July 02, 2003, 09:16:28 PM »
Although TRiLOGI has the SETLED command, it was never implemented in the hardware.

What is the interface to drive your 4 digit LED? Some LED has RS232/RS485 interface which the PLC can send data to be displayed. If your LED is just plain LED segments without driver, then you may use the PLC output to drive the LED segments if it is a common anode type. You will need current limiting resistor to limit the current to the LED. Note that in this case, each digit requires 7 or 8 (if including decimal) outputs.

You can then construct the segment pattern that correspond to each digit 0..9 by store them into a lookup table in memory and when you need to display a number, just take the corresponding output pattern to send to the outputs to drive the LED segments.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS