Fieldbus system
BC9000 and BC9100 57Version: 4.0.0
ADS services
AdsServerAdsStateB7
Data type (read only) Meaning
String Start - the local PLC is running
Start - the local PLC is stopped
AdsServerDeviceStateB7
Data type (read only) Meaning
INT 0 - Start - the local PLC is running
1 - Stop - the local PLC is stopped
AdsServerTypeB7
Data type (read only) Meaning
String Coupler_PLC
ADSWriteControlBA
Data type (write only) Meaning
NetID Net ID of the BC9000,C900
Port 800
ADSSTATE 5 - RUN / 6 - STOP
DEVSTATE 0
LEN 0
SRCADDR 0
WRITE rising edge starts the block
TMOUT example: t#1000ms
Acyclic data communication
With acyclic data communication it is important to note that about 20 to 30 ms are required in order
to establish a TCP/IP connection. Following the successful establishment of a connection the ADS
data are sent or read. An ADS read of 1000 bytes takes about 50 ms. If no data are transmitted for
10 seconds, the TCP/IP connection is disconnected from the BC/BK9000, B/C900.
Register port 100
The ADS port number in the BK/BC9000, B/C900 for register communication is fixed, being set at 100.
Index group Index offset (value range) Meaning
Hi-Word Lo-Word
0 0...127 0...255 Registers in the Bus Coupler
Hi-Word, table number of the Bus Coupler
Lo-Word, register number of the table
1...64 0...3 1...64 Register of the Bus Terminals
Hi-Word, channel number
Lo-Word, register number of the Bus Terminal
Timeout of the ADS function block
When reading the register, the time out of the ADS block has to be set to a time longer than 1 sec-
ond.