NewToUnitronics Posted March 22, 2018 Report Share Posted March 22, 2018 Hello I just bought a Unitronics M91-2-UA2 PLC. I am trying to program the analog I/O, but I cant get them to talk together. I have a loop calibrator on the analog input 4-20ma. On the analog output i have a multimeter that i can recieve 4-20ma. The problem is when i give the input 4ma, the output showa 16ma. When I adjust the input to 8ma, the output shows 12ma... Can anyone help me with the ladder diagram to get the output to communicate with the input. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted March 23, 2018 MVP 2021 Report Share Posted March 23, 2018 You probably have your scaling set up incorrectly. The analog inputs are 14 bit (0-20 mA = 16384) while the outputs are 12 bit (0-4095 = 0-20 mA). If you're doing a straight map of one to the other it won't match. Can you post your program? Joe T. Quote Link to comment Share on other sites More sharing options...
NewToUnitronics Posted March 23, 2018 Author Report Share Posted March 23, 2018 This is my program. I still have a problem with the low readings. When it's 4mA on the analog input, it shows 9,6mA on the analog output. When it's 20mA on input, its 19,8mA on output. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted March 25, 2018 MVP 2021 Report Share Posted March 25, 2018 It's been so long since I've played with an M91 I may have forgotten some of their idiosyncrasies. It sounds like the scaling is still off. Have you played with different constant values? You're not going to break the PLC by trying. I think I know what value you need to stuff into SI 82 but I wouldn't want to take your fun away. Beat on it and let us know what you find. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 25, 2018 MVP 2021 Report Share Posted March 25, 2018 48 minutes ago, Joe Tauser said: but I wouldn't want to take your fun away This IS the fun part, isn't it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.