## Firmware for Elena-ZMax - Motor

### References

- [Forum Howto](https://forum.osr-plastic.org/t/elena-zmax-standard-motor-wip/10039)
- [Library Entry](https://forum.osr-plastic.org/t/arbor-injection-elena-zmax-motor/10781)

### Arduino / Controllino Setup

- [See offical documentation](https://www.controllino.com/wp-content/uploads/2023/07/CONTROLLINO-Instruction-Manual-V1.3-2023-05-15.pdf)

## VFD Setup

- RUN source : external
- Accel/Deccel : 2s

### SAKO

-> Enable fault ouput, P502=41 (Grounds TA to TC (relay output))
-> Disable Motor overload protection (handled by us:) P9-00=0
-> Fault protection function -> stop P47=1
-> DI4 (Input Terminal 'D4') -> P4-03 = 9 (Fault Reset) (default)
-> DI3 (Input Terminal 'D3') -> P4-02 = 5 (Jogging - Forward) (default) - for homing
-> Jogging Frequency, P800=10Hz
-> Jogging Accel, P801=2s
-> Jogging Decel, P802=2s

### Overload thresholds

- see config_adv.h for MOTOR_ constants
