I want a unique code for for every input and output... Like if signal come at input pin 0.1 then plc send 'a', for input pin 0.2 'b' and so on on RS232 .. Also when i send a code from pc to plc it should operate the output.. For eg. If i send 'x' from pc to plc via RS232, PLC would turn on output pin 0.1, for 'y' PLC would turn on 0.2 and so on.
But lack of knowledge about ladder logic, i am unable to develop.
Can you please help me regarding this?