I am trying to communicate using below devices and configuration.
I am using Module which works on +24VDC / 0. RJ45 is connected to that Module as COM PORT 1.
PIN Description of RJ45 [1-RxD || 2-TxD || 3-NC || 4-NC || 5-NC || 6-RTS || 7-NC || 8-GND]
RJ45 is connected to RS232 using below configuration.
RJ45...........RS232
RxD --to-- TxD
TxD --to-- RxD
GND --to-- GND
you need to be doing loopback test at each stage to be sure that the data flow is correct and that you have not somehow inverted the tx/rx lines in this chain.
I would start by looping the tx/rx on the ttl-> 232 level converter and setting up the Arduino to send data and then check to see if you are getting anything back on the same port. this can be done by using the softserial example in the IDE and using the soft port to connect to the converter and then use the serial monitor to send/receive data.
Once you have this working then extend the chain to the next point again making the end a loopback.
It should be noted that rs232 valid signals are either in the range of +3 to +15 volts or the range ?3 to ?15 volts with respect to the ground/common pin. You say that the device you are connecting to is 24volts. I am presuming that this is the power supply and not the voltage levels of the serial interface. RS232 is a bipolar signal that swings BOTH sides of the 0v rail and not a single pole signal that only moves in one direction with respect to the 0v rail. I.E 0 to +24 volts.
I see also that your RJ45 end has a RTS control line . This may have to be driven if the device is dependent on hardware handshaking. I also note however that there seems to be no CTS control line.