Hi,
There is the equation for Mode in page 13 of user's guide, but it seems to luck "-1" after [Effect No.]. I think it should be "RoundDown(([Effect No.]-1) / 4)". Please compare with operation of EVM and give your comment.
Best Regards,
Sonoki / Japan Disty