Devicelogix programming, Devicelogix programming example – Rockwell Automation 193-EC4 EC4 Current Monitoring Relay User Manual User Manual

Page 105

Advertising
background image

106

Rockwell Automation Publication 193-UM011A-EN-P - September 2010

Chapter 10 Using DeviceLogix™

DeviceLogix Programming

DeviceLogix has many applications and the implementation is typically only
limited to the imagination of the programmer. Keep in mind that the application
of DeviceLogix is only designed to handle simple logic routines.

DeviceLogix is programmed using simple Boolean math operators, such as AND,
OR, NOT, timers, counters, and latches. Decision making is made by combining
these Boolean operations with any of the available I/O. The inputs and outputs
used to interface with the logic can come from the network or from the device
hardware. Hardware I/O is the physical Inputs and Outputs located on the device
such as push buttons and pilot lights that are connected to the EC4 Current
Monitoring Relay. There are many reasons to use the DeviceLogix functionality,
but some of the most common are listed below:

• Increased system reliability
• Improved diagnostics and reduced troubleshooting
• Operation independent of PLC or Network status
• Continue to run process in the event of network interruptions
• Critical operations can be safely shutdown through local logic

DeviceLogix can be programmed using function blocks or ladder logic through
RS Networx for DeviceNet. After a successful download to the EC4 Current
Monitoring Relay, DeviceLogix can be enabled using RS Networx for DeviceNet
or the DeviceNet configuration terminal (Cat. No. 193-DNCT).

DeviceLogix Programming Example

The following example shows how to program a simple logic routine to control
the EC4 Current Monitoring Relay’s outputs based on the condition of input
signals. OUT A control is defined by the states of IN1 and IN2 processed
through a Boolean OR gate. OUT B control is defined by the states of IN3 and
IN4 processed through a separate Boolean OR gate. This example is using
RSNetworx for DeviceNet version 8.00.01 and an EC4 current monitoring relay.

1.

While in RSNetWorks for DeviceNet, double-click on the EC4 and select
the DeviceLogix Tab. If you are prompted with a dialog box while online
with the EC4, then select Upload. Next, select Start Logic Editor, select
the Function Block Editor, and press OK.

IMPORTANT

Before programming logic it is important to decide on the conditions
under which the logic run. As defined earlier, the conditions can be
defined by setting parameter 79 (Comm Override) and parameter 80
(Network Override) to the value that you want.

Advertising