D
I'm doing a low-budget upgrade of a high-power, vacuum furnace. The project is pretty straightforward and simple, and as a result I specified a MicroLogix 1200 processor, which is plenty for the control needed (or so I thought).
After the project began, the need for a high vacuum gauge became critical. If you've ever worked with high-vac gauges (i.e. < 10^5 Torr) most feedback on a volts-per-decade scale. Meaning, to properly scale the value in the PLC the formula is 10^(volts-10). Bingo, the MicroLogix family does not have the XPY function.
The only solution I could come up with was converting by log, which necessitated a lookup table (since there is no LOG instruction either), but generating the lookup to three decimal places creates 1,000 entries, and exceeds user data table memory size.
Has anyone encountered a similar problem with "simulating" an X^Y instruction and found a more creative way to solve the problem using only basic math (ADD, SUB, MUL, DIV)? Beyond this, two PID loops and a menu-entry system are all I need, so it seems a waste to move to a higher-power (and more expensive) PLC just because of the lack of a single complex math instruction.
Many thanks in advance for any info.
After the project began, the need for a high vacuum gauge became critical. If you've ever worked with high-vac gauges (i.e. < 10^5 Torr) most feedback on a volts-per-decade scale. Meaning, to properly scale the value in the PLC the formula is 10^(volts-10). Bingo, the MicroLogix family does not have the XPY function.
The only solution I could come up with was converting by log, which necessitated a lookup table (since there is no LOG instruction either), but generating the lookup to three decimal places creates 1,000 entries, and exceeds user data table memory size.
Has anyone encountered a similar problem with "simulating" an X^Y instruction and found a more creative way to solve the problem using only basic math (ADD, SUB, MUL, DIV)? Beyond this, two PID loops and a menu-entry system are all I need, so it seems a waste to move to a higher-power (and more expensive) PLC just because of the lack of a single complex math instruction.
Many thanks in advance for any info.
