hello everyone, can someone tell me why this program is not sending or receiving serial data?
This program reads temperature value (first two lines), initializes serial connection (lines 3-4) then does some moving of data to where it should be placed (D100 is where data to be sent is, D120 is where data to be received is) and row 9 is where the serial connection should work but it does not! i checked it using serial port monitor and i can neither send or receive to the plc .. can anyone pls help me with this? i had to cram so much about PLCs cuz this isnt my part of the project and im doing my best to make it work! any help or comments is GREATLY appreciated!
pictures 1 and 2 are after each other.
This program reads temperature value (first two lines), initializes serial connection (lines 3-4) then does some moving of data to where it should be placed (D100 is where data to be sent is, D120 is where data to be received is) and row 9 is where the serial connection should work but it does not! i checked it using serial port monitor and i can neither send or receive to the plc .. can anyone pls help me with this? i had to cram so much about PLCs cuz this isnt my part of the project and im doing my best to make it work! any help or comments is GREATLY appreciated!
pictures 1 and 2 are after each other.