logo Welcome, Guest. Please Login or Register.
November 16, 2018, 01:07:55 PM
Home Help Search Login Register
 News: Self-Registration temporarily suspended due to abuse.To Register as a member, please email to webmaster@triplc.com with your email and username.

  Internet PLC Forum
  General
  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 3222 times)
support
Global Moderator
*****

Posts: 3071





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

Verify:
      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!