Many thanks for your support
Please found here my program with following functions
- UDP communication with a PC ( no problem with Power off or ethernet disconnect )
- Watch dog : send a message every 5 secondes
- Output On/OFF
- input for product sensor
- output for Print/apply
- input for coder ( count impulses with a Wheel ) for assert Print/apply to product/sensor distance.
Would you please give a look if my programmation is efficient and correct ?
Especially, SendUDP and SendUDPWD ( timer ), can the timer interrupt the SendUDP sub ?
Is the Coder counter so fast as possible, i use for test a coder with 100 pulses on a rotation
I wish using a coder with 1000 pulses on a rotation for more precision.
Best regards