Peter Nachtwey
Member
I would go for the 16 XICs. The 68000 in the PLC5 can do these relative efficiently. DON'T USE A LOG FUNCTION!msinclair said:Peter:
I think that 16 XIC's or using LN functions aren't such bad ideas. Am I missing something simple?
How natual logs are calculated
16 XICs are much faster than a LN on just about any CPU unless it has a natural log function in hardware.
The S7 example looks simple because a S7 excels at register operations and programs almost like a regular microprocessor. The S7 doesn't need to load and then store data at each block as these are just instructions in STL.
The question PLC5 programmer should ask is what can be done with the compute block. Is a compute block efficient? I don't have a PLC5 to know.