|
|
1) |
Connect DC 12 to 24VDC power supply to to the
E10-npn+ PLC. Make sure that the polarity is correct. Turn on power to the power supply.
The green power LED on the PLC should light up. Use a voltmeter to verify that valid DC
voltage is available at the power supply screw terminal. |
2) |
If smoke or burning smell appears when the
power supply is turned ON, then turn it OFF immediately. Most likely it is either the
power supply has been connected in reverse polarity, or the output driver ULN2803A is
damaged due to overload. Check for visual clue. Remove ULN2803A output driver from its
socket if you are not sure, then apply power to the PLC again. If there is no more smoke
then it is most likely a shorted ULN2803A. You can purchase this part number easily from
many electronic component supplier such as Digikey or Jameco or contact support@tri-plc.com to purchase the part. |
3) |
Connect the male end of the DB9 cable to E10-npn+ PLC's RS232
port, and the female end of the DB9 cable to the PC's serial port. Run WinTRiLOGI version
3.5. Click "Controller" and select "Serial Port Setup". Check to
ensure that the correct COM port is selected and that the baud rate is 9600, 8 data bits,
1 stop bit and None for parity, 'Time out' is 500ms. If you need to make any changes,
click on the "Close Port" button first. At the "Command String"
text field, enter "IR*" and press
<Enter>". If the PLC returns a response string "IRnn*"
(where nn is a hexadecimal number between 00 and FF, the default is "IR01*") then you have successfully established
communication with the PLC. If there is no response from PLC, click on the "Close
Port" button, and select another COM port from the "Port Name" choice box
and try again.
Note: If you receive a response string "IR*" (without the ID) then the COM port is not a valid COM
port (most likely it is a modem port) and what you receive is merely an echo of the
command you sent to the COM port. It is not a response from the PLC
|
|
|
4) |
If you receive no response from the PLC, then
it is either :
- The PLC's serial port is bad.
- The PC's COM port is bad. You can test whether the PC's COM port is working by testing
the COM port with other devices, or change a PC and try the same test mentioned above.
If the PLC serial port is bad, you may need to replace either the 75HVD3082 (or its
nearest cousin 75176) or the small PN2222 transistor, or both. In extreme case the CPU may
be damaged. You may want to contact info@tri-plc.com
to request for an RMA if you prefer not to repair it yourself. |
5) |
If communication is OK, then you can transfer
the program "e10test.pe3" (a copy is available at: http://www.tri-plc.com/selftest/plctestprograms.zip
) to the E10-npn+ PLC. The 4 output LEDs should be blinking once every second after the
program has been transferred to the PLC. |
6) |
Connect one end of a wire to the +24V terminal to the right
of input #6 screw terminal, and use the other end of the wire as probe and touch the screw
terminal of input #1 to #6. The corresponding output #1-4 will be turned ON
immediately in respond to input #1-4 and you should hear the relay clicking sound.
Input #5 will turn ON output #1 and input #6 will turn ON output #2. If all outputs
respond properly to the activation of their corresponding inputs, then the PLC has passed
all I/O tests and has no problems. |
|
|