{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
Search FAQs
You are currently viewing the content available in Vietnam. If you are looking for information for another region, please select the correct country from the top-left dropdown in the page and 'Navigate to Browse FAQs' in the Support menu.
How do I scale 0 - 4095 to 6400 - 32000 using 984 Ladder Logic?

The following network scales data from 0-4095 to 6400 - 32,000 when 4-20ma (6400 = 4 mA, 32,000 = 20 mA) outputs are required
but a 0-20ma analog output is used. .

image1



Register 400001 and 400002 are used together in the top node of the EMTH Block, where 400001 is
always 0000 data and 400002 is the variable data, 0-4095, to be scaled. Register 400003, displayed in data
format float is a fixed floating point value that the user enters as 6.25153 (note that two registers are
used to create the floating point value, 400003 & 400004 in this example). Register 400005 (and 400006)
is the floating point result of the integer and floating point multiplication (EMTH block).


image2


The FTOI (Floating Point TO Integer) block converts the floating point result of registers 400005
and 400006 to an integer value in a single register 400007.

The AD16 block adds the top node register 400007 to the middle node constant 6400 and places
the result in register 400009. This register will then map to one of the analog outputs.

The following data screens show the input values of 0 and 4095 and their corresponding results.


image3


Schneider Electric Vietnam

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: