I agree with m.prestel. As you didn't write with which PLC you tried it, I would recommend to test it with the Control Win Soft PLC under windows. This way you can prove, that you did everything right in your project.

If it doesn't work on the target, it would be interesting, which target that is.

Cheers,
Ingo