cuongtran243

PIDAT INSTRUCTION

2 posts in this topic

I am doing project using PIDAT instruction to control pressure 0-3 bar, I use analog module CP1W MAD11 AND CPU CP1E N30, input signal  4-20 mA, why word result of PIDAT instruction is always & 4095 when the output of analog module is & 6000, if i want word result of PIDAT is 6000 how to do, i have attached the program below, hope everyone help

test4.cxp

Share this post


Link to post
Share on other sites

You Input Range and Output Range is set at a value of (4: 12 Bits). 12 Bits will limit you to a decimal value of &4095. In your program You MOV the value #494 to D55. Setting it to #595 will up your limit to &8191.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now