Internet PLC Forum
General => Technical support => Topic started by: DLUN on June 08, 2011, 08:16:30 AM
-
Hello.
I am trying to communicate with a datalogger vis RS232. The datalogger does not follow any standard protocols, but simply writes whatever is sent to it into a txt file.
According to the datalogge instructions, it requires the following format:
-Baud Rate 9600
- 8 bits
- no stop bits
- 1 parity bit
- disable flow control (if necessary)
What PLC commands can I use to customize this communication format.
Cheers.
-
I assume you are using our Super PLC - Nano10, FMD, F-series or T100MD+.
Then you just need to run the following statement once during startup:
SETBAUD 1,3
this will set the PLC's RS232 port to 9600 bps, 8 data bit, 1 stop bit, no parity. Hardware handshake is not used by any of our PLCs.
-
Thanks.
The problem I was having was that the rx pin was pin # 3 on the datalogger I purchased. Since both the datalogger and the PLC were female ended RS232, a standard cable did not make this adjustment.
Cheers.