BCM-MS, BCM-LS
4 Operation and Control
NOTICE
The device must not be operated beyond its specifications.
4.1 RS232 Communication
Communication with the sensor takes place either via serial RS232 port, CANopen or via two analog 4...20 mA outputs.
The sensors come standard with RS232 port enabled. In this mode it’s quite easy to configure the analog interface and to config-
ure the CANopen communication parameters. If necessary, a RS232 command can then be used to switch to CANopen interface
(see chapter
[> page 20], command WCOEN), which will be applied after restarting the sensor.
We recommend the software ("CMSensorDataViewer" and "CMSensorConfig") available for download at www.buehler-technolo-
gies.com to configure and/or operate the sensor via PC. The software provides easy access to sensor data and configuring the
sensor without the use of terminal programs when operating the sensor via PC.
If the sensor is in CANopen mode, the RS232 port can be permanently switched to Index 0x2020, Subindex 3, which will be ap-
plied after restarting the sensor.
If the sensor is in CANopen mode, the RS232 port can also be changed temporarily. In this case, connect the sensor to the RS232
port configured accordingly and whilst booting, press the pound key (#) until the sensor responds with its ID
.
If the sensor does
not respond within 10 seconds after connecting power, repeat the process.
4.1.1 Serial Port (RS232)
The sensor has a serial port which can be used to read and configure it. This requires a PC and the corresponding terminal pro-
gram or a readout software. Both are detailed in the following chapters.
First you will need to select an existing free COM port on your PC to connect the sensor to. A suitable communication cable for
the serial connection between the sensor and PC/control unit is available under Item no. 1590001001. If the PC does not have a
standard COM port, you can also use serial port cards or USB to serial adapter, Item no. 1590001002.
When starting the sensor in CAN mode, it must first be changed to RS232 mode. After connecting the sensor to power, the sensor
checks the line to determine whether it’s connected to a serial port and if a defined character ("#") is sent, which must be set
during start-up. If the character is not sent, the sensor switches to CANopen mode. If it understands the sent character, it
switches to communication via RS232. Here the command for RS232 mode can be permanently enabled.
When restarting the sensor, it will then automatically start in RS232 mode and the above steps can be skipped.
4.1.1.1 Interface Parameters
– Baudrate: 9600
– Data bits: 8
– Parity none
– Stop bits: 1
– Flow control: No
4.1.2 Command List
The following lists all interface commands for communication with the sensor.
These can be sent to the sensor via terminal program, e.g. Microsoft Windows HyperTerminal.
18
Bühler Technologies GmbH
BE150104 ◦ 03/2021