I just configure the settings of mycx programmer like this
Baud rate 9600, 8.1 N, then Rs232C.
The start bit and end bit I changed it also to what I had read to the other guides and I use a max232 also to connect the plc to the arduino.
That's all i've done I think.
The problem that I got is the ready flag is not turning on