Example - Ladder Diagram
EXP
The EXP instruction raises the base constant e, to the exponent WORD value, S, and saves the power in an assigned WORD data register, D.
Ladder Diagram Example
When the contact, M2.0, is ON (1), the instruction executes e1.235000 and saves the result, 3.438379.
Memory Monitor
!
EXPP
The EXPP one-shot instruction raises the base constant e, to the exponent WORD value, S, and saves the power in an assigned WORD data register, D.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M2.1, is ON (1), the instruction executes e-1.674253 and saves the result, 0.187448.
Memory Monitor
![]()