IDEC FL1E SmartRelay User Manual

Page 237

Advertising
background image

IDEC SmartRelay functions

IDEC SmartRelay Manual

223

Parameters p (number of decimals)

Parameter p applies only to the display of the Ax value in a

message text

Functional description

The function reads the value of the signal at the analog input

Ax.

This value is multiplied by the value of parameter A (gain).

Parameter B (offset) is added to the product, as follows:
(Ax * Gain) + Offset = Actual value Ax
The function block calculates the proportion of the actual

value Ax to the range. The block sets the digital output Q

high for the same proportion of the T (periodic time)

parameter, and sets Q low for the remainder of the time

period.

Examples with Timing Diagrams

The following examples show how the PWM instruction

modulates a digital output signal from the analog input value:

1. An analog value of 500 (range 0...1000) as the value for

Ax must be modulated to a digital signal string. The user-

defined T (periodic time) parameter is 4 seconds. At the

digital output of the PWM function the digital signal string

is 2 seconds high, 2 seconds low, 2 seconds high, 2

seconds low and continues in that pattern as long as

parameter En = high.

Advertising