Showing posts with label Knowledge. Show all posts
Showing posts with label Knowledge. Show all posts

Monday, February 7, 2011

Understanding Array Concept


Array:  a numerically indexed sequence of elements of the dame data type. An array tag occupies a continguous section of memory in the controller with each element in sequence. Array can have one, two or three dimensions.
Element : a single position within an array.
The elements in the array occupy memory in order. The array always start at 0 and extend to the numberof elements minus 1
an array in the tag windows is shown in the following graphic

An array must be created with the following rules in the mind:
  • An array can have up to three dimensions unless it is a part of a structure, where then it can have only  one dimensions.
  • An array can be of one data type only. Array support the following data type:

Tuesday, January 25, 2011

Using Ethernet for Industrial Control

Introduction
Ethernet is widely used for information (i.e., office environment) communications today. The technology has availability, familiarity, and cost benefits. Until recently, however, creating an industrial control system using Ethernet was not feasible due to a number of factors, including Ethernet’s lack of determinism, the need for interoperability among devices, and security concerns.

Determinism is the ability to predict when information will be delivered. To guarantee this, an industrial control network must provide scheduled bandwidth (or time slots) that are reserved for time-critical data transfer. Communication over Ethernet, however, is based upon collision detection. If a device attempts to send a message, and that message collides with another message on the Ethernet media, the device backs off and waits to transmit. Thus Ethernet cannot guarantee determinism.

However, recent advances in switch technology have now enabled Ethernet to approach determinism. Switches, unlike traditional bridges and hubs, reduce traffic between the devices attached to their ports. Moreover, the IEEE 802.3 Standard provides for standardized full-duplex operation, which gives a single node - in a point-to-point connection to the switch - full wire concentration. As a result, full-duplex switched Ethernet networks are theoretically able to avoid collisions.

The requirement for device interoperability, the ability of products from different control vendors to communicate with each other, has been answered by the EtherNet/IP (industrial protocol) networking standard. This standard provides interoperability among products from a wide community of automation vendors. It is supported by three major networking organizations: ControlNet International (CI), the Industrial Ethernet Association (IEA) and the Open DeviceNet Vendor Association (ODVA)

ISO/OSI Protocols

ControlNet
The ControlNet network uses the Common Industrial Protocol (CIP) to combine the functionality of an I/O network and a peer-to-peer network. ControlNet take precedence over program uploads and downloads and messaging. Supports a maximum of 99 nodes.
DeviceNet
DeviceNet is mainly used in industrial and process automation. It is based on CAN technology.
It is a low-cost communication link to connect industrial devices to a network and eliminate expensive hard wiring. Power and communication supplied over a 4-wire bus. Supports up to 62 devices on the same bus network.
ModBus
ModBus is an open, serial communication protocol based on the master/slave architecture. The bus consists of a master station, controlling the communication, and of a number of slave stations.
MODBUS is an application layer messaging protocol, positioned at level 7 of the OSI model, that provides client/server communication between devices connected on different types of buses or networks. MODBUS is used to monitor and program devices; to communicate intelligent devices with sensors and instruments; to monitor field devices using PCs and HMIs. MODBUS is an ideal protocol for RTU applications where wireless communication is required.