{}

我們的品牌

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

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
搜尋常見問題
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


施耐德電機Taiwan

探索更多
系列:
可能有幫助的文章
探索更多
系列: