billpax.blogg.se

Scale with parameters rslogix 500
Scale with parameters rslogix 500





scale with parameters rslogix 500 scale with parameters rslogix 500 scale with parameters rslogix 500

This instruction supports integer and floating point values. Then call the scaling subroutine and pass it it the new UDT tag. Scale with Parameters (SCP) Use the SCP instruction to produce a scaled output value that has a linear relationship between the input and scaled values. 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. Our distinguished colleague and PLC guru Ron Beaufort has posted an excellent thread on scaling.







Scale with parameters rslogix 500