GMT Posted January 30 Report Share Posted January 30 Hello, I purchased a CNC machine that has a custom coolant system on it utilizing a V570 PLC. The original mfg is not helpful so I've gone down the route of reprogramming myself. I'm pretty new to ladder logic and would appreciate any help you can provide. How can I vary the analog output of the IO-AI4-AO2 using manual input on the HMI through a number box? I would also like the value shown on screen to represent the frequency of the VFD (0 - 60hz) It's outputting 0-10V to drive a VFD for a conveyor. I apologize if this is covered elsewhere, I could not find it. Thanks, Scott Link to comment Share on other sites More sharing options...
DanT Posted January 31 Report Share Posted January 31 Hi; Under Help, There are example programs to review. Basically : Place a Number box on the Screen Assign the MI for the Data to be entered Set up the keyboard entry - add the limits for the data entry. In the ladder, use the MI into a Linearization block to convert to the analog scaled output. DanT Link to comment Share on other sites More sharing options...
GMT Posted February 6 Author Report Share Posted February 6 Thanks Dan. I haven't had a chance to try this out yet, but I will look into soon. I tried using the linearization in the number box and was getting nonsense numbers output to the VFD. At least not numbers I could make sense of. How does running it through a linearization block in the ladder differ? Link to comment Share on other sites More sharing options...
DanT Posted February 6 Report Share Posted February 6 Hi; Linearization in the Screen Number box is limited. Applies to the Display Only. ( see Help) We normally do the linearization in the ladder - more control over the settings and the Input and Output. See ( Help-Lienearization-Vector Linearization) DanT Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 6 MVP 2023 Report Share Posted February 6 42 minutes ago, DanT said: Linearization in the Screen Number box is limited. Applies to the Display Only. ( see Help) Unless I'm misunderstanding, not exactly the case. Here is an example that allows the user to enter a number from 0-100% at the HMI and the MI (presumed attached to a 12-bit 4-20mA analog output) will be linearized to the correct value: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now