gblank
Electrical
- Jul 4, 2003
- 1
I am trying to configure a Siemens cpu315-2-DP to a Beta laser micrometer through an rs-232 communication interface (ASCII format). I have checked all the communications parameters such as baud rate, stop bits, and parity to be certain both plc and communications partner are the same. I have been able to communicate successfully between the plc and a laptop computer (using Hyperterminal) and between the communications partner (the laser micrometer) and the laptop (again using Hyperterminal). Both communications interfaces are working and setup properly, proven by Hyperterminal. I don't have to change any parameters to go from the plc to the laser mic. communicating with the laptop. Further, because the plc and laptop are DTE equipment, the wires on pins 2 and 3 of the rs-232 interface cable must be crossed for the interface to work. On the other hand, the laser mic. requires a straight through connection (null modem – as I refer to it), meaning pins 1 are connected on both DB 9 pin connectors, pins 8 are connected, pins 7, ... , pins 1 are connected.
I have attempted communicating with the venders, but as soon as either vendor hears that their device is able to communicate with the laptop, they start pointing in the direction of the other vender. I have tried a "null" modem connection with the plc and the laser mic. – that doesn't work at all (plc transmits but doesn't receive anything from the laser mic.). However, when I use an rs-232 interface cable (pins 2 and 3 crossed from one connector to the other), the laser mic. responds but the information is garbled. So in this case, both my transmit and receive leds are operating.
If anyone has experienced this incompatibility or has a suggestion which could point me in the right direction, I would appreciate some help.
Thanks for your attention.
I have attempted communicating with the venders, but as soon as either vendor hears that their device is able to communicate with the laptop, they start pointing in the direction of the other vender. I have tried a "null" modem connection with the plc and the laser mic. – that doesn't work at all (plc transmits but doesn't receive anything from the laser mic.). However, when I use an rs-232 interface cable (pins 2 and 3 crossed from one connector to the other), the laser mic. responds but the information is garbled. So in this case, both my transmit and receive leds are operating.
If anyone has experienced this incompatibility or has a suggestion which could point me in the right direction, I would appreciate some help.
Thanks for your attention.