Product data

39
Modicon
Quantum
Ethernet I/O
automation platform
Unity
Pro software
Small / Medium / Large / Extra Large / XLS
Programmable process control
Functions (continued)
Setup
Process value processing
AVGMV Moving average with mounted number of samples (50 max.)
AVGMV_K Moving average with constant correction factor,
10,000 samples max.
DEAD_ZONE Dead zone
LOOKUP_TABLE1 Linearization of characteristic curves using rst-order interpolation
SAH Detection of a rising edge
HYST_XXX Detection of high threshold with hysteresis (1)
INDLIM_XXX Detection of high and low thresholds with hysteresis (1)
Output value processing
MS Manual control of an output
MS_DB Manual control of an output with dead zone
PWM1 Control via pulse width modulation
SERVO Control for servo motors
SPLRG Control of two split range actuators
Setpoint management
RAMP Ramp generator, with separate ascending and descending ramps
RATIO Ratio controller
SP_SEL Selection of setpoint value: local (operator) or remote (processing)
Setting up process control function blocks
Based on the sequencing of function blocks, the FBD language integrated in
Unity Pro is a programming language particularly suitable for building control loops.
Designers can use FBD to easily associate blocks from the CONT_CTL library with
their own DFB blocks written in Unity
Pro’s ST, IL or LD language, or in C language.
Debugging, operation
Unity Pro’s standard debugging services (see page 33) are available. In particular,
the Modicon
M340
processor simulator can be used to check correct execution of
processing ofine.
Compatibility
The CONT_CTL control function block library is available in Unity Pro. It is
compatible with processors in the Modicon M340, Premium
, and Quantum
processors.
Optional specialized libraries
The CONT_CTL control function block library can be supplemented with optional
specialized libraries, to meet specic needs such as predictive control, fuzzy logic
controller, HVAC and mass ow calculation.
Resources
The technical documentation provides many examples of how to set up
programmable process control function blocks in FBD, LD, IL and ST languages.
The techniques for adjusting process control loops are described in the document
“Process control, Unity V3.0” available online at www.schneider-electric.com
(1) XXX according to the type of variable: DINT, INT, UINT, UDINT, REAL
Programming in Unity Pro in ofine mode
Programming in online mode