Skip navigation
Go to Global Navigation
Go to Primary Contents
Go to Site Information

YOKOGAWA

Yokogawa Electric Corporation

Introducing Useful Functions

UTAdvanced® Digital Indicating Controllers

The UTAdvanced Digital Indicating Controller now comes standard with a new ladder sequence function.

By creating ladder programs incorporating control functions, you can perform interlock processes, control through connection via of controller and peripheral I/O, and other processes that were difficult to manage with traditional indicating controllers alone. Here we introduce a method for programming an alarm function using the ladder sequence function. The UTAdvanced Digital Indicating Controller already comes standard with an alarm function. However, in order to describe the basic operation of the ladder sequence program, we provide an example of building a "measured value upper limit alarm" with a ladder program.

Name of function: "Measured value upper limit alarm"

Description

When the measured value exceeds an alarm setpoint (P1), alarm output (Y_AL1) turns ON, and when the value falls below the alarm setpoint (P1), alarm output (Y_AL1) turns OFF. The width of the alarm hysteresis (P2) is contained in the alarm setpoint.

Register Used

  • DAT registers: Registers used to store computed data and other values.
  • P registers: Parameters that can be set or changed on a controller. These can be used in the ladder program.
  • C10: Register for a constant. Represents "10."

In this sample program, we allocate relay output (Y_AL1) to set D01(ALM1) as the alarm output terminal.

[Program Description]

Line 001: Acquire measured data (PV_L1) with a 1-second trigger (CLK1), multiply times 10, and store the result in DAT01.
Line 002: In the same manner, using a 1-second trigger (CLK1), multiply the alarm setpoint P01 by 10 and store in DAT02.
Line 003: In the same manner, using a 1-second trigger (CLK1), multiply the alarm hysteresis P02 by 10 and store in DAT02.
Line 004: In the same manner, using a 1-second trigger (CLK1), store the values from DATA02 and DATA03 in DATA04.
Line 005: If DATA01≧DATA02, set M01_B.
Line 006: If DATA01 < DATA02 and M01_B is set, set M02_B.
Line 007: If DATA01 < DATA04, reset M01_B.
Line 008: If DATA01 < DATA04, reset M02_B.
Lines 009–010: If M01_B or M01_B are set, turn ON Y_AL1, and if M01_B and M01_B are reset, turn Y_AL1 OFF.

Notes on settings above

The internal data format of the UTAdvanced omits the decimal. Also, measured and alarm values are multiplied by 10 because the relational operators of the ladder program (such as ">") can only compare integers. (In this example, the measured value registers hold values from 0.0 to 1000.0.)