T100MD-888+ PLC Installation Guide: LCD Display Module
T100MD-888+ PLC Installation Guide: LCD Display Module
+ 12 to 24V DC
- Power Supply
for PLC
LCD Display Module 1N4007
(optional)
1000µF 50V
Contrast Two-wire E.Cap (Optional)
Adjust RS485 + -
Jumper CPU Status Output LED
14-pin LCD for 12V Indicators Indicators (Red)
Display port
High current
To Host PC (20A)
RS232C (COMM1) ground return
WP J1
Analog 5V
Ref. Adjust J2 10A @24VDC
Enable
EEPROM PWM x 2
Adjust D/A1
Write-Protection
when J2 at WP To Expansion
Board
6 x ADC (10 bit, 0-5V) and
4.200”
T100MD+
8 x ADC (10 bit, 0-5V)
Super PLC
Warning: Warranty Void
if this label is damaged Digital and
Special
or
Inputs
62256LP-12
CMOS RAM
4.575”
(Optional battery-back Input LED Digital Input
Real Timer Clock & RAM) Indicators (Green) Terminals
1
T100MD888+ PLC Installation Guide
Analog I/O Ports: The 8 channels of analog I/Os are available via a DB15
connector along the left edge of the T100MD888+ PLC. The T100MD888+ PLC also
supplies a +5V analog reference-voltage output and the analog ground on the
female DB15 connector, as shown in the following pin-out diagram:
Signal Pin #
A/D #1 8
A/D #2 7
A/D #3 6
A/D #4 5
A/D #5 4
8 1
A/D #6 3 9
A/D #7 or D/A #1 2
A/D #8 or D/A #2 1
Analog Ref. AVCC 13 - 15
Analog ground AVSS 9 - 11
The specifications and programming methods for the analog I/Os are detailed in
Section 7 of this Installation Guide.
Digital I/O Ports: Detachable screw terminals are provided for quick connection to
all digital inputs, outputs and power supply wires. Each block of screw terminals can
easily be detached from the controller body, enabling easy replacement of the
controller board when necessary. Since the terminal block for digital I/Os is inserted
vertically to the board surface, you need to remove the terminal block before you
can start wiring. Use a small flat-head screwdriver and insert underneath the terminal
block, apply even pressure to raise the terminal block until it becomes loosened
from the connecting-pin strip, as shown below:
Maximum AWG 24 w
Insulated crimp
ferrules
Tightening
screw
Connecting-pin strip
Flat-head
screw driver
10A Ground Terminals:: Along the right edge of the T100MD888+ PLC you will see
a single two-pole terminal block marked “10A GND”. This terminal should be
connected to 0V of the PLC’s power supply to provide a high current ground return
path for the two 10A PWM outputs (7 & 8).
2
T100MD888+ PLC Installation Guide
3. Power Supply
The T100MD888+ PLC requires a single regulated, 12 to 24V (+/- 5% ripple) DC
power supply for both the CPU and the I/Os. It is recommended that whenever
possible, use a higher power supply voltage since the voltage difference between
ON and OFF state is wider for operation at higher voltage. To use the T100MD888+
at 12VDC you should place a jumper block on the two-pin header marked “J1-12V”
near the power supply terminals. You must remember to remove the jumper when
operating the PLC above 18V, otherwise the voltage regulator may overheat.
Please use only industrial grade linear or switching regulated power supply from
established manufacturers. Using a poorly-made switching power supply can give
rise to a lot of problems if the noisy high frequency switching signals are not filtered
properly. Note: If your application demands very stable analog I/Os you should
choose a linear power supply instead of a switching power source for the CPU.
Always place the power supply as near to the PLC as possible and use a separate
pair of wire to connect the power to the PLC. Keep the power supply wires as short
as possible and avoid running it along side high current cable in the same cable
conduit. The T100MD-888+ PLC will be reset when the power supply voltage dips
below 9V. It is a good idea to connect a 470µF to 1000µF, 50V electrolytic
capacitor near the power supply connector to suppress any undesirable voltage
glitches from conducting into the PLC. If other high current devices such as a
frequency inverter were to affect the operation of the PLC, then you should also
connect a diode before the capacitor to prevent reverse current which might flow
back to the power supply, as shown in the following diagram:
1N4007
+24V DC
Power Surge suppressor
Supply (Recommended)
470uF 50V
+24V 0V
Figure 3
If the AC main is affected by nearby machines drawing large currents (such as large
three-phase motors), you should use a surge-suppressor to prevent any unwanted
noise voltage from being coupled into the T100MD power supply. The required
current rating for the power supply depends mainly on the total output current,
taking into consideration the peak current demand and the duty cycle of the
operation. Normally, a 2A, 24V DC switching power supply should be sufficient.
3
T100MD888+ PLC Installation Guide
The +5V logic power required by the LCD module is supplied by the 14-pin header.
However, NEVER connect the LCD backlight terminals to the +5V pin of the 14-pin
header or the +5V output of the analog power supply as this will overheat the PLC’s
voltage regulators. For modules with LED backlight, you can simply connect the
backlight terminals in series with a 150Ω to 220Ω 5W resistor to the 24V power supply.
The backlight wiring is illustrated in the Appendix section of this guide.
You may use any of the industry standard 14-pin LCD modules. There are many
different display sizes or character formats to choose from, e.g., 1x8, 1x16, 1x20,
2x16, 2x20, 1x40, 2x40 and 4x20. We strongly recommend those with Super-Twisted
Nematics (STN) type which gives high contrast and wide viewing angle. The contrast
of the LCD can be adjusted using the preset potentiometer R7 marked with the word
“contrast” below the LCD connector.
Action Command
1. Clear screen SETLCD 0,1, CHR$(1)
2. No cursor SETLCD 0,1, CHR$(12)
3. Underline Cursor SETLCD 0,1, CHR$(14)
4. Blinking Cursor SETLCD 0,1, CHR$(13)
5. Underline + Blinking Cursor SETLCD 0,1, CHR$(15)
4
T100MD888+ PLC Installation Guide
If you use the SETLCD command with line #0, then the strings will be treated as
special “instructions” to be sent to the LCD module to program it for various modes of
operation. This includes blinking cursor, underline cursor or no cursor as well as
display shift mode. You have to refer to the LCD manufacturer’s data sheet for the
detailed commands. Some of the most useful commands are listed below:
0V
0V
Input = logic '1' when Limit Switch is closed Input = logic '1' when object is sensed
5
T100MD888+ PLC Installation Guide
7. Analog I/Os
7.1 Analog Power Supply
The analog section of the PLC shares the same 12 to 24VDC power supply as the
CPU. It will generate a stable 5V (±1% accuracy) regulated DC voltage which will
be used internally as voltage reference and is available externally for use by
other analog input devices. The reference voltage output is available on the
analog I/O connector pins #13 - 15, and may be used as the source voltage for
connecting to potentiometers. It is current-limited to 10mA by a 10 Ohm resistor
RA3. If you need more current, you can replace RA3 with a lower resistance
value.
The analog reference voltage can be calibrated by adjusting the preset
potentiometer on the circuit board marked “Avcc Adj” until the reference
voltage of 5.00V is reached.
A/D #1 - #8 A/D #1 - #8
0-20mA or
V1 : 0-10V
4-20mA
Current loop
6
T100MD888+ PLC Installation Guide
Note that If the sensor has its own power supply, then you must connect the
sensor “ground” to analog “AVSS” terminal to provide a common ground. All the
analog inputs to the T100MD CPU are internally current-limited to guard against
transient over-voltage damage. However, care should be taken to prevent
applying excessive over-voltage to the analog inputs for a prolonged period of
time which can lead to permanent damage of the ADC input.
Very accurate parameters can be set if the LCD display is used as visual
feedback of the settings.
7
T100MD888+ PLC Installation Guide
To use the LCD, simply plug the 14-pin plug onto the LCD port header, making sure that
pin #1 (the colored wire) of the ribbon cable aligns with pin #1 of the port header. (Pin 1
is the pin with a square solder pad and the pin number is also printed on the PCB.)
Wiring of the backlight differs slightly for the two models as shown below. It is assumed
that the unit will be connected to the 24V power supply of the T100MD-888+ PLC. If you
are using other voltages, then compute the values of the current limiting resistors to
obtain the same backlight current.
Current = 90mA
A IMPORTANT!
220Ω 5W
MD-LCD216.
2 lines x 16 chars. Please ensure that the current limiting
resistor is in place and functioning
K properly before turning on the power
- + supply. Connecting the LED backlight
Pin 1 to the 24V power supply without the
24V Power current limiting resistor will definitely
Supply destroy the backlight unit. Also,
please ensure that the polarity is
connected correctly, because reverse
connection is likely to damage the
Current = 130mA backlight unit as well.
15 16
For MD-LCD420, the backlight is
150Ω 5W
brought to a screw terminal via a
MD-LCD420
small PCB. Use a multi-meter to
4 lines x 20 chars.
check which terminal is connected to
pin 15 (Anode) and 16 (Cathode-) if
you are unsure of the polarity.
Pin 1 - +
24V Power
Supply