Example communication between BC9000s

ADS-Communication

Data can be sent directly to another BC9000 using the ADS function blocks from the TcADSBC.lb6 library. ADSREADEX can be used to read data from another BC9000, ADSWRITE can be used for writing. A maximum of 3 BC9000 can be accessed at the same time. In order to communicate with further BC9000s, the connection to at least one BC9000 has to be closed via ADSCLOSE. Make sure that only a maximum of 3 connections to a BC9000 exist (the 4th connection should be reserved for programming). These connections may also be established by another remote station.

Example for a functioning ADS connection

ADS connection

Sample program for connecting BC9000 to BC9000

Sample program in ST Master (sample program)

Sample program in ST Slave (sample program)

Example communication between BC9000s 1:

Cross-communication better between BCs than to the BK

Please note that a BK9000 only allows write access from a master, and the BK9000 must be polled regularly at intervals of one second. It is therefore advisable to implement cross communication only between BC9000 and BC9000.

Bus structure for cross communication
bc9000_ads_master.pr6
bc9000_ads_slave.pr6