beautypg.com

Creating logic programs, Accessing logic programming – West Control Solutions CALogix User Manual

Page 31

background image

Logic I/O Module and Logic Programming


OVERVIEW

CALogix has integrated logic function capability that can be used for controlling a system by linking associated inputs and
outputs using logic, timer, counter and comparator functions.

A logic programming utility is included within CALogix-sw that can be used to create logic function block diagrams when a
CALogix system has logic I/O modules fitted. The logic programming memory will allow programs up to 40 Boolean blocks
or up to 16 timers/counters depending on the complexity of the blocks used i.e. some function blocks (e.g. timers) have
been developed by using several other function blocks and will therefore require more memory.

LOGIC I/O MODULE SETTINGS

To access logic I/O settings right mouse click on the controller image, mouse over properties then click on the module
number (module slot number must have logic I/O module fitted)

The settings window will now open.


A user-defined label (name) for the module can be entered in the module name field, once a label is entered click on the
apply button to write the label to the controller. This label will be visible on the controller image in CALogix-sw and will be
included when the application is exported to .rtf files. The label can have a maximum of 10 characters

Input 1,2,3 range
The voltage range of inputs 1, 2 and 3 can be user-defined as one of three voltage ranges i.e. 0-24V, 0-10V and 0-5V.
These voltages are used to determine high and low states for logic functions and also for comparator switching levels.
Voltages above 66% of the input range will be considered as high state and below 33% as low state e.g. for a 0-10V input
range <3.3V = low logic state (0) and >6.6V = high logic state (1).

Comparators will convert the input level to a percentage of full scale and will be compared against other inputs or a
constant. e.g. With an input range of 0 - 24V, an input voltage of 2.4V will be considered to have a value of 10.0 in a
comparator block.

Each of the inputs can be independently set for a different voltage level input. Once each input has been set, write the
settings to the controller by clicking the apply button.

LOGIC PROGRAMMING

CREATING LOGIC PROGRAMS

ACCESSING LOGIC PROGRAMMING

1) Click

icon on main toolbar

2) Logic programming desktop should now open


THE LOGIC TOOL BAR

Create Boolean function block

AND, OR, XOR, LATCH, NAND, NOR, XNOR boolean function block can be created

See section on Boolean function blocks.

Create comparator function block

Compare two I/O module inputs or compare an I/O block input with a constant. ‘greater than’ or ‘less than’
comparator options. See section on comparator blocks.

Create timer/counter function block

Select one of eleven timer types or two counter types. See timers/counters overview section.

Page 31 of 44