SoftPLC Corporation TOPDOC NexGen 1.4.070622 Released Contact | How to buy | Site Map | Home | Search

"With SoftPLC, I have been able to re-use my existing A-B logic on several projects."
Hardware, Software & Systems Download Manuals/Software, Registration Profile, Partners, Contact Sample Applications, Customers Articles, White Papers, News Releases For Distributors/Sales Reps For Distributors/Sales Reps
How SoftPLC Communicates to I/O

Terminology

Types of I/O Systems Supported by SoftPLC

How to Choose?

The early bird gets the worm, but the second mouse gets the cheese.

 

SoftPLC Corporation : Articles : Guidelines to Selecting I/O Products

SoftPLC is an open architecture PAC (Programmable Automation Controller) which means that it can be run on and with a wide variety of different vendor products. This document will focus on Input and Output systems (I/O). Note that other product selections, such as CPU type/platform, motion controllers, drives, HMI/SCADA systems, and other peripheral equipment are not addressed in this document, but may also be a factor in the I/O selection process.

Many other I/O systems and products are available in addition to those discussed in this document. It may be possible for SoftPLC to support these.


How SoftPLC Communicates to I/O Top

SoftPLC communicates to I/O devices and I/O networks through TLM's (TOPDOC Loadable Modules). TLM's can be loaded as MODULES or DRIVERS. Driver TLM's are called by SoftPLC at the end of the Program Scan and have the capability to force digital I/O. Module TLM's run as ladder logic instructions. I/O interfaces have been developed using both technologies, the developer has determined which is the best for the specific hardware to be interfaced.

Multiple TLM's can be used at the same time, up to 16 Driver TLM's and unlimited Module TLM's. Normally, hardware requirements will dictate the limits, as opposed to SoftPLC limitations. When SoftPLC is first configured, the user will select the TLM's to load. Each TLM has a configuration file or mapping facility that will determine where the I/O information will reside in the SoftPLC data table. Some TLM's also include ladder logic instructions for downloading initial set-up configurations to intelligent modules or for diagnostics.


Terminology Top
  • Program Scan: The time it takes SoftPLC to scan the ladder logic and process communication requests.
  • I/O Scan: The time it takes SoftPLC to read the inputs to the input image table, send outputs to the output image table, transfer analog data to/from the data table from/to the module(s), and apply any forces to the digital I/O.
  • System Throughput: Program Scan + I/O Scan
  • I/O Transfer: The time it takes an I/O interface scanner card to transfer the data to the actual I/O modules from its on-board memory.
  • I/O Response Time: The time it takes an input module to react to an incoming signal from a device or for an output module to send a signal to the device, including data conversions as in the case of an analog module.
  • I/O Update Time: The total time it takes from when an input sensor receives data until the I/O interface scanner card receives the data for processing, or for an output device to receive data from the I/O interface scanner card.
  • I/O Throughput: I/O Transfer + I/O Response Time + I/O Update Time

Types of I/O Systems Supported by SoftPLC Top

"Traditional" PLC I/O

This category of I/O products are rack mounted, modular I/O systems that provide industrial packaging, reasonable cost and performance for most applications, and easy troubleshooting. The I/O racks and modules are normally mounted in a cabinet and signal wires are run to the cabinet from the sensors.

Tealware: SoftPLC Corporation provides this I/O system with their brand-name Tealware™ I/O. This system provides high-speed local I/O up to 1024 digital points (or up to 32 total modules) using a Tealware CPU. The I/O scan for most local systems is 1msec. A remote I/O network which runs at 2.5MBaud allows for up to 16K digital points (64 racks = 512 modules) at a distance of up to 20,000 feet from the CPU. The remote I/O network allows for 4 local racks per remote drop at local I/O speeds, with about a 2msec delay per drop (not per rack), for up to 15 remote drops. Local and Remote Tealware I/O can be used with the SoftPLC In Tealware CPU modules and an interface card that can be installed in any PCI slot of a PC (Cat. No. SPO-TWRIO). Tealware is a cost effective, fast I/O system suitable for most industrial applications.

A-B RIO: SoftPLC supports Allen-Bradley Remote I/O (RIO) networks (1771, 1747, Block, Flex, Point, and other compatible I/O systems and devices) via the A-B 1784-PKTS/PKTX/PKTXD interface cards that can be installed in an ISA slot of a PC, such as a SoftPLC Processor™. Up to 8 -PKTx cards are supported in a single SoftPLC system, for up to 16 RIO networks. A-B does not allow third parties to support their local I/O. The network speed is 115.2KBaud maximum, and throughput on the A-B RIO network is the same as that of an A-B PLC-5 or SLC-500 system, including the 7-8msec delay per rack caused by the Remote I/O Adapter (eg: 1771-ASB). If Block Transfer is used for analog or other intelligent I/O modules, the same restrictions of one Block Transfer per adapter per scan apply. A-B publishes formulas that can be used to determine the I/O Throughput Time in a RIO system. By using multiple RIO channels, users can improve the Throughput, by setting scan sequences and offloading intelligent modules to 1/rack. SoftPLC, in its I/O Scan simply reads/writes data from its RAM data table over the backplane to the RAM on the KTx card(s), therefore, the I/O Scan is normally less than 1 msec. Unless the I/O is already in place as in an upgrade situation, A-B RIO is not normally a recommended solution due to high cost and slow Throughput Time, along with cumbersome programming and delays associated with Block Transfer.


Ethernet I/O

Ethernet I/O is becoming very popular, primarily due to the low cost of interfacing, cabling, switches, fiber optic equipment, and wireless support. All ethernet I/O is not compatible, the protocol layer varies by vendor. A number of protocols have been adopted by industrial equipment vendors, and many field bus protocols are also available over ethernet.

SoftPLC supports Modbus IP for ethernet I/O. This is the first available ethernet I/O protocol, and has broad support by vendors throughout the world. SoftPLC provides compatible hardware in their Tealware and A-series I/O products.

Modbus IP comes in TCP and UDP "flavors." Due to the size of the TCP/IP stack, ethernet I/O performance is typically 2-10msec per drop, although we have seen some implementations at 30-50msec per module.


Field Bus I/O

This category of I/O products consists of standardized protocols for distributed I/O networks. Many vendors provide sensors and I/O modules for these networks. Field Bus I/O provides a way to distribute the I/O along a machine/process to minimize wiring runs back to the control cabinet, as well as providing intelligence in sensors for better diagnostic information or localized control at the sensor level. A number of papers, pamphlets and comparison charts are available from the product and interface card vendor on the advantages, disadvantages, and differences between these networks, therefore, this information is not provided here.

SoftPLC supports Field Bus networks through interface cards manufactured by Hilscher, GmbH . PCI, ISA, and PC/104 form factors are available for a wide variety of networks including DeviceNet, Profibus, Interbus, CANopen, SERCOS and many others.


Computer I/O

This category of I/O products are I/O boards that install directly on the PC backplane and are wired directly or interfaced to I/O blocks, such as Opto modules installed on a terminal board. Normally, the I/O board is connected to the terminal board(s) via ribbon cables. The advantages of this category I/O are typically lower cost with very high speed and/or high performance specifications. The disadvantage is that with higher I/O count requirements, the system becomes difficult to troubleshoot and cabinet space intensive. Also, extreme care must be taken in these installations to ensure proper isolation from external noise from entering into the SoftPLC through the I/O system, as many of these boards and modules do not provide isolation such as typically found in PLC I/O or other industrial I/O products. I/O boards are available for ISA, PC/104, PCI, VME and other PC backplanes.

SoftPLC has written a number of drivers for different vendor I/O products on a number of different PC backplane types, as have other third parties. A sample driver is included with the SoftPLC C Programmer's Toolkit. Most C/C++ programmers have found that a driver of this type can be written and tested in 1-3 days time using the sample as a starting point.

Since the I/O board is on the PC backplane, the I/O Scan is normally much less than 1 msec. The I/O Throughput is based on the hardware selection.

Other computer I/O interfaces through the PC serial port or parallel port. Typically, these I/O systems are slow due to baud rate limitations as well as the synchronous nature of the I/O driver (each module must be communicated with individually one at a time). SoftPLC provides one of this type of driver for the Advantech ADAM 4000 series and clones.


How to Choose? Top

There is no "right" answer. The application requirements will help limit the selection, particularly in terms of signals to be interfaced with, electrical requirements, and performance specifications. Following are some questions and criteria that have been used in the past by SoftPLC users to select I/O products.

How many points of I/O are needed? If there are few points located near the CPU, computer I/O or PLC I/O are good choices. If there are many points, and the application is a single machine/process, PLC I/O is a good choice. If there are many points to be distributed over a long distance, remote PLC I/O or Field Bus I/O is a good choice.

Who will maintain the system? If the system will be maintained by electricians or non-engineering personnel, PLC I/O is simplest and most familiar, followed by Field Bus I/O.

What Throughput is required? If the system needs to be extremely fast, look at Tealware I/O first. If this is not fast enough, then computer I/O is the fastest choice. (Of course, the actual module specifications will need to be a part of this equation.)

Cost? Once the performance specs are met, then cost can be considered. In general, computer I/O and PLC I/O are the lowest cost options.

Products | Support | Company | Applications | News | Articles | Channel

View Printer Friendly Page

Certain pages on this site may require some of the following: Acrobat Reader or Flash Player or PowerPoint Viewer

Last modified: January 2, 2007

Copyright © 2008 SoftPLC Corporation All Rights Reserved
SoftPLC and TOPDOC are registered trademarks of SoftPLC Corporation. All other trademarks are the property of their respective owners.
This website is produced by SoftPLC Corporation "as is" without warranty of any kind, either expressed or implied, including, but not limited to merchantability, fitness or non-infringement. In no event shall SoftPLC Corporation be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, arising out of or in connection with the use of any information posted on this site. . . . .