1. What's the Difference Between NPN and PNP I/Os?

 

NPN and PNP are directional attributes of solid-state transistors. These transistors have current amplification capability and are used as switches in a PLC. Devices connected to the PLC must be specified as NPN or PNP. More and more devices today are of the NPN category as they are easier to manufacture and perform better under most conditions. 


NPN I/O only Nano-10, All FMD series, Fx2424, EZWire1616, Exp2424, Exp4040, E10-npn+
PNP I/O only E10-Relay+
Both NPN & PNP Fx1616-BA, EXP1616R

 

The EXP1616R installation guide has wiring diagram for both NPN and PNP I/O inteface which is applicable to other PLCs as well. You can download it here for a quick reference. 

 

2. What is the Difference Between Relay and Transistor Outputs?

 

A transistor output is a solid-state device that handles small to medium amount of current. Most transistor outputs in our PLC range can only handle DC current up to the power supply voltage of the PLC. (i.e. either 12VDC or 24VDC).

 

A relay is an electrically operated switch. Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. This means that relays allow one circuit to switch a second circuit which can be completely separate from the first. If you need to switch AC voltages such as 24VAC, 110VAC or higher, you need to select a PLC with RELAY output.


The following TRI PLCs and Expansion boards incorporate relays in their output:

Nano-10, Fx1616-BA, EXP1616R, and E10-Relay+.

 

3. How do I Expand Digital I/Os for My TRi PLCs?


Fx-series You can add digital I/O expansion to any of the FMD PLCs via the EXP1616R board, the EXP2424 board, and the EXP4040 board. Multiple expansion boards (any combination of the three boards) can be cascaded to increase the number of digital I/Os up to the maximum limit. By default, all Fx-series PLCs can be expanded up to 128 inputs and 128 outputs.
FMD series You can add digital I/O expansion to any of the FMD PLCs via the EXP1616R board, the EXP2424 board, and the EXP4040 board. Multiple expansion boards (any combination of the three boards) can be cascaded to increase the number of digital I/Os up to the maximum limit. By default, all Fx-series PLCs can be expanded up to 128 inputs and 128 outputs.
Nano-10 The Nano-10 is intended to be a small application controller and as such is not designed for expandability via expansion port like the larger FMD and Fx-series models. However, since it can be a communication master on RS485 and Ethernet, it is possible to add serial/Ethernet slave modules. The E10+ models are well suited to act as serial I/O modules since multiple units can connect via RS485. Alternatively, 3rd party Modbus modules or any other TRi PLCs could be used for I/O expansion as well.
EZWire1616 You can add digital I/O expansion to the EZWire1616 PLC via the EXP1616R board, the EXP2424 board, and the EXP4040 board. Multiple expansion boards (any combination of the three boards) can be cascaded to increase the number of digital I/Os up to the maximum limit. By default, all Fx-series PLCs can be expanded up to 128 inputs and 128 outputs.
E10+ The E-series is intended to be a small application controller and as such is not designed for expandability.
T100MD (EOL) You can add digital I/O expansion to any of the T100MD PLCs via the EXP1616R board, the EXP2424 board, and the EXP4040 board. Multiple expansion boards (any combination of the three boards) can be cascaded to increase the number of digital I/Os up to the maximum limit. By default, all Fx-series PLCs can be expanded up to 128 inputs and 128 outputs.
T100MX+ (EOL) The current T100MX+ PLC comprises two models: T100MX3224R+ and T100MX4832+ and they are not expandable.
H-Series (EOL) The H-series has sufficient models for I/O range up to 64 and is sufficient for most applications; no expandability has been designed in.

 

4. How Can I Connect Remote Digital I/Os to TRi PLCs?

 

All Fx-series, FMD series, EZWire1616, and Nano-10 'Super PLCs' can act as a communication master to other TRi PLCs or to third party devices that support RS485 communication protocol such as Modbus. As such, the Fx-series/FMD series/Nano-10 'Super PLCs' can easily use any other TRi PLCs as its remote I/O. The E10+ being small and low cost are ideal to be deployed in a wide area network as remote I/Os as shown below:

 

rs485networkpic1[1].jpg (19187 bytes)

 

The TBASIC language incorporates a special command "NETCMD$" which can be used to monitor/control any device that employs an ASCII based protocol (including all TRi PLCs' native hostlink command). TBASIC also has built-in READMODBUS and WRITEMODBUS commands which can be used to interface to any RTU that supports Modbus RTU protocol.

 

It is also possible for the Ethernet-equiped PLCs (Fx-series/FMD series/Nano-10 'Super PLCs') to communicate with devices that support Modbus TCP. As Ethernet in automation is rapidly growing, more digital I/O and sensor module devices that can communicate in Modbus TCP are now becoming available.

 

5. What's the Difference Between Digital and Analog I/Os?

 

DIGITAL signal is a simple signal that is usually just ON or OFF.

 

An ANALOG signal has variations that are meaningful such as inputs or outputs relating to level of temperature, light, sound, pressure, position, etc.

 

Most sensors produce very weak signal which needs to be amplified by special purpose instrumentation amplifier called "Signal Conditioner" and the outputs from the signal conditioner can then be connected to the PLC's analog inputs.

 

Pulse Width Modulated (PWM) signal is a special method that produces a variable voltage using an ON/OFF type digital I/O. It is neither a pure digital nor a pure analog I/O and is discussed in the following FAQ question.

 

6. What is a PWM (Pulse Width Modulated) Signal?

 

A Pulse Width Modulated (PWM) signal uses the duty cycle of a rapidly switching digital I/O to represent a time-average variable. For example, if you turn ON a digital output for 10ms, then turn it OFF for 90ms, and repeat this cycle indefinitely, what you produce will be a rapidly pulsating waveform with a 10% ON duty cycle. If you use a volt-meter to measure the output voltage of this waveform, what you will get is a time-average reading which is equal to 10% of the peak voltage output when the digital output is fully turned ON.

 

Likewise, you can measure a PWM input signal by measuring the ON time of the incoming pulses (the PULSEWIDTH), then divide it by the period of the pulses (the PULSEPERIOD) to obtain the duty cycle. The actual measured quantities = duty cycle x Full-Scale value.

 

7. When Do You Need PLCs With Analog I/Os?

 

The applications that need analog I/Os range widely, but some of the more common ones in industry relate to the measurement and control of temperature, air/fluid flow and motor speeds.

 

For example, if you are trying to determine if something is present or absent, you only need a digital input. But if you are trying to measure the temperature in your room, you will need an analog input to the PLC.

 

Likewise, if your only means of controlling a heater is to turn it ON or OFF, then you just need a digital output. But if you have the ability to control the speed of a motor by applying a variable voltage of say between 0 to 5V DC, then you need an analog output from the PLC.

 

8. Which TRi PLCs Provide Analog I/Os and PWM Output?

 

All the Fx-series 'Super PLCs' include 4 channels of PWM output and a number of analog I/Os built-in, as shown in the following table:

 

The Fx1616-BA has 12 Analog I/Os :
- 8 x AI - 12-bit 0-10V
- 4 x AO - 10-bit 0-10V
The Fx2424 has 12 Analog I/Os :
- 8 x AI - 12-bit 0-5V
- 4 x AO - 10-bit 0-5V

 

All the FMD series 'Super PLCs' include 4 channels of PWM output and a number of analog I/Os built-in, as shown in the following table:

 

The FMD88-10 has 10 Analog I/Os :
- 8 x AI - 12-bit 0-5V
- 2 x AO - 10-bit 0-5V/0-10V switchable
- AO can be expanded to 4 channels with I2C-FRTC module installed (0-5V range only)
The FMD1616-10 has 12 Analog I/Os :
- 8 x AI - 12-bit 0-5V
- 2 x AO - 10-bit 0-5V/0-10V switchable
- AO can be expanded to 4 channels with I2C-FRTC module installed (0-5V range only)

 

The Nano-10 'Super PLC' includes 2 channels of PWM output and a 2 channels of analog inputs built-in, but no analog outputs are available. The analog input channels are 0-5V only.

 

All the M-series (EOL) PLCs' include built-in 2 channels of PWM output and a number of analog I/Os as shown in the following table:

 

The T100MD1616 (EOL) has 5 Analog I/Os :
- 4 x AI - 10-bit 0-1V x2 and 0-5V x2
- 1 x AO - 8-bit (0-20mA)
All the other M-series (EOL) PLCs have 8 Analog I/Os :
- 6 x AI - 10 bit, 0-5V
- 2 x AO - 8 bit, 0-5V

 

None of the H-series (EOL) and E10 PLCs has analog I/Os and they also have no means of interfacing to third party analog I/Os.

 

9. How Do I Expand Analog I/Os and PWM Outputs for My TRi PLCs?

 

You can use a second, third or more Micro PLC - Low Cost Programmable Logic Controller | TRiPLC to provide additional low cost analog I/Os and 4 channel of PWMs per PLC to a master Fx-series or FMD series 'Super PLC'. The master and slave PLCs can communicate using their built-in RS485 interface over a low cost two-wire bus or, alternatively, over Ethernet. There are built-in TBASIC commands to facilitate master/slave communications. Please see the following webpage for more details: http://www.tri-plc.com/ioboard.htm#mstslave

 

If you require higher resolution analog I/Os, TRi carries a range of I-7000 series Analog I/O modules  that provides multiple channel of 16-bit analog inputs as well as 12-bit or 14-bit of analog output.