EasyManua.ls Logo

HBM WE2107 - WE2107 Communication Examples; WE2107 Bus Mode Configuration; Connecting WE2107 Units to the Bus

HBM WE2107
152 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
139
WE2107 - Communication commands
I1820-1.3 en HBM
4 Communication examples
4.1 Making settings for bus mode
The WE is able to work with up to 32 modules in a bus. The prerequisite for this is that each
WE is connected to the bus by an RS‐485 interface driver. Each WE operates as a slave,
that is to say, without being prompted by the bus master (e.g. PC or PLC) the WE will remain
inactive on its transmission line. The master selects a WE by using the select command, S...
(S00...31;). This is why it is essential, before the bus coupling, to enter a communication
address for each WE. Of course, each address in the bus must only be assigned once.
4.2 Connecting WE's to the bus
There are two possible ways to connect the WEs to the bus:
Connecting WEs to the bus consecutively
1. Connect the first WE to the bus line (factory default:: ADR31, baud rate=9600Bd, even)
2. Initialize the master interface at 9600 Bd, 8, e, 1.
3. Use the command ;S31; to select the WE.
4. Use the ADR
command to set the required address (e.g. ADR01;)
5. Use ;S01; to select the WE with the new address.
6. Use the command TDD1; to store the address power fail safe in the EEPROM.
7. Connect the next WE to the bus, call it with ;S31;, set ADR02;,
8. etc.
All the WE's are connected to the bus
1. Read off the production numbers of the WEs (7‐digit)
(1
st
WE: xxxxx, 2
nd
WE: yyyyy, etc.).
2. Initialize the master interface at 9600Bd, 8, e, 1.
3. Select all the WEs by using the broadcast command ;S98; .
4. Use the ADR
command to set the required addresses one after the other
(e.g. ADR01,"xxxxx"; ADR02,"yyyyy"; etc.).
5. Use the command TDD1; to store the addresses power fail safe in the EEPROM.
NOTE
With S98; none of the WEs respond; but each WE executes the command. If there is no
communication, either the address or the baud rate are wrong.
Once all the addresses have been set and the baud rate is unified, the bus is ready for
operation. Now you must specify how the measured values are to be read out.

Table of Contents

Other manuals for HBM WE2107

Related product manuals