![]() ![]() ![]() Then call the scaling subroutine and pass it it the new UDT tag. You will use this subroutine over and over for each point rather than creating new code for each point.Ĭreate a tag for each analog point of the new UDT type.Ĭopy the analog raw value from the IO module to the. SCALED REAL Scaled analog value or Y term of scalingĬreate only one user subroutine that can accept a tag of tne UDT type passed to it and perform the scaling and then pass the tag back out. In addition, since you have many analog points to scale I suggest you create a UDT that contains the following elements: While this thread is geared towards the SLC family of PLCs it contains all of the basic information needed to use the CPT instruction in a compact logix to perform the scaling. Basics instructions like NO, NC contacts, Coil. This is a course is designed to give you a understanding of the basic fundamentals of programming using RSlogix 500. It presents all the information about the programs, data and I/O configuration of the project. Our distinguished colleague and PLC guru Ron Beaufort has posted an excellent thread on scaling. The RSLogix 500 is a presentation of the entire project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |