Arduino failed with delta intverter and 7.5kW motor

Hello,
I have a project with arduino micro to control AC motor with delta fvd-e inverter and incremental encoder.
Power for an arduino is a PC power supply. 12 v for arduino and 5V for relay shiled. Relay shiled is opto isolated from arduino.
Relays switching 24V signals for an inverter.

When the motor is switched off, the project works fine.
But when an actuator start the motor, my program stuck.

Distance between power adapter and arduino is 7 meters.
Distance between relay shiled and arduino is 7 meters.
Distance betwen relay shield and inverter is 1 meter.
Distance betwen buttons to arduino is 10 meters.
All elements connected with ftp cable.
Unfortunataly the power for an inverter and power supply is the same line. But when i connect an arduino to laptop I have the same issue.

The opto-isolation suggests you have power issues, but the laptop evidence counters this.

Probably failed to prevent RF pickup entering from the buttons to the Arduino - all signal lines
need 1nF ceramic or so to ground to stomp on RF spikes.

ftp wire?

Ftp is a type of screened twisted pair.
When I switched off all buttons wires and conect gnd directly on arduino imputs it doesn't help.

Are your button inputs tied to 5v via pull-up resistors?

Weedpharma

To GND via internal pull-up resister.

Are you saying that internal pull-ups are enabled and you have a wire link to gnd?

Weedpharma

weedpharma:
Are you saying that internal pull-ups are enabled and you have a wire link to gnd?

Weedpharma

Yes.

weedpharma:
Are your button inputs tied to 5v via pull-up resistors?

Weedpharma

I checked this with 3k ohm resistors, the same problem.

Korzunm:
Ftp is a type of screened twisted pair.
When I switched off all buttons wires and conect gnd directly on arduino imputs it doesn't help.

Do you have an oscilloscope?

MarkT:
Do you have an oscilloscope?

No, sorry.
Your an idea to check a power supply for Arduino?