14
Sensors for your success
www.wenglor.com
Sensors for your success
www.wenglor.com
EN
Connecting the Sensor to a PC, a Controller etc. with the wenglor
®
-S232W3 Plug Adapter
Plug connectors included with the wenglor
®
S232W3 plug adapter:
• 8-pin M12 plug connector for connecting the power supply and the outputs
• 8-pin M12 socket connector for direct Sensor connection
• 9-pin M12 sub-miniature socket connector for direct connection to the RS-232 interface at the PC, or the
utilized controller
Installing the wenglor
®
S232W3 plug adapter:
• Switch off the power supply
• Set the rotary selector switch
Ý
to
RS-232
• Disconnect the 8-conductor connector cable (S80-xx) from the Sensor
• Connect the S232W3 plug adapter directly to the Sensor
• Connect the 8-conductor connector cable (S80-xx) to the plug adapter
• Connect the 9-pin sub-miniature socket connector to the serial interface at the PC
• Switch the power supply on
Sensor
S232W2
PC or Controller
RS232
Power Supply
Outputs
Connecting the Sensor
to a PC or a Controller
Protocol for Communications via the RS-232 Interface
Control Characters
Character
ASCII
HEX
Function
/
47
2Fh
Start character
.
46
2Eh
Stop bit
NAK
21
15h
Negative acknowledge
BCC
2 Byte
Checksum
Table 6