Arduino UNO + Start/Stop frequency inverter

Hi everyone,

I want to control a frequency inverter with Arduino UNO. I only need START/STOP.

[Inverter Manual

I have chosen the ALsw- configuration (pages 20-21 from Manual): So, I placed a N channel Mosfet 2N7000 (GATE to output 11 Arduino, SOURCE to GND Arduino, DRAIN to PIN 1 inverter). Moreover, I have a R=10K between GATE and SOURCE. Finally, PIN 4 from inverter is connected to GND Arduino. (I attach the connections)

http://oi60.tinypic.com/otnn6x.jpg

http://oi60.tinypic.com/14vpnpj.jpg

http://oi61.tinypic.com/152gnth.jpg

Then I wrote this code to check the start/stop with a digital input:

int comandar=11;

void setup()
{
pinMode(comandar, OUTPUT);
}

void loop()
{
digitalWrite(comandar, HIGH);
delay(2000);

digitalWrite(comandar, LOW);
delay(2000);
}

The problem is… It doesn´t work.

The inverter parameters that I changed are:(pages 26 and 30 from inverter manual)

P100: Start control source = 1 (Terminal strip: Use start/stop circuit wired into the terminal strip)

P120: Assertion level = 1(LOW)

What did I do wrong? I suppose I need to change another parameters ¿?

Any idea?

Thank you in advance

Best regards](EMW e-commerce)

Your code turns the inverter on/off every 2 seconds. The manual says “Do not cycle input power to the controller more than once every two minutes.”