logo Welcome, Guest. Please Login or Register.
February 22, 2019, 09:26:31 AM
Home Help Search Login Register
 News: You can search the forum for answers to your question in a previous discussion. Please click on the "Search" button above and enter the keyword to search. To get to the full discussion of a listed message, please click on the TITLE of the message listed in the search listing.

  Internet PLC Forum
  Frequently Asked Questions
(Moderator: support)
  How to scale SETDAC to Output 4-20mA
? previous next ?
Pages: [1] Go Down Reply Notify of replies Send the topic Print
   Author  Topic: How to scale SETDAC to Output 4-20mA  (Read 3323 times)
Global Moderator

Posts: 3085

View Profile WWW E-Mail
How to scale SETDAC to Output 4-20mA
« on: November 26, 2012, 02:31:19 PM »
Reply with quote

The FMD88-10, FMD1616-10 and F2424 PLC supports 0-5V of Analog outputs  which be converted to two channels of 0-20mA analog output using the AN20MA-2.

Assuming variable D may contain values between 0 and 10000 (0.00% to 100.00%) and you want to convert the corresponding value to 4 to 20mA.

1) The output X has to be between (4/20*4096 = 819) and (20/20*4096 = 4096)

      So:    D/10000  =  (X - 819)/(4096-819)
                => X = D*3277/10000+819

2)  Formula:  SETDAC n, 819+ D*3277/10000

      When D = 0 => SETDAC n, 819          ' n is the DAC output channel
      When D = 5000 => SETDAC n, 2457
      When D = 10000 => SETDAC n, 4096
Report to moderator   Logged

Email: support@triplc.com
Tel: 1-877-TRI-PLCS
Pages: [1] Go Up Reply Notify of replies Send the topic Print 
? previous next ?
Jump to: 

Login with username, password and session length

Powered by MySQL Powered by PHP Internet PLC Forum | Powered by YaBB SE
© 2001-2004, YaBB SE Dev Team. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!