ADS services
Local Process Image PLC Task 1 Port 800/801
Data can be read from and written to the local process image. If it is necessary for outputs to be written, it is important to ensure that they are not used by the local PLC, because the local controller will overwrite these values. The data are not associated with a watchdog, and therefore must not be used for outputs that would have to be switched off in the event of a fault.
Index group |
Meaning |
Index offset (value range) |
---|---|---|
0xF020 |
Inputs |
0...2047 |
0xF021 |
Bit inputs |
0...16376 |
0xF030 |
Outputs |
0...2047 |
0xF031 |
Bit outputs |
0...16376 |
0x4020 |
Flags |
0...4095 |
0x4021 |
Flag bit |
0...32760 |
ADS services
AdsServerAdsState
Data type (read only) |
Meaning |
---|---|
String |
Start - the local PLC is running |
AdsServerDeviceState
Data type (read only) |
Meaning |
---|---|
INT |
0 - Start - the local PLC is running |
AdsServerType
Data type (read only) |
Meaning |
---|---|
String |
BX PLC Server |
ADSWriteControl
Data type (write only) |
Meaning |
---|---|
NetID |
Net ID of the Ethernet Controller* |
Port |
800 |
ADSSTATE |
5 - RUN / 6 - STOP |
DEVSTATE |
0 |
LEN |
0 |
SRCADDR |
0 |
WRITE |
rising edge starts the function block |
TMOUT |
example: T#1000 ms |
* BC9050, BC9020, BC9120, BX9000
Register access port 100
On the Bus Terminal Controllers of the BX series, and on the BCxx50/xx20, the ADS port number for register communication is fixed at 100.
Index group |
Index offset (value range) |
Meaning | |
---|---|---|---|
Hi-Word |
Low Word | ||
0 [READ ONLY] |
0...127 |
0...255 |
Registers in the Bus Coupler |
1...255 |
0...3 |
1...255 |
Register of the Bus Terminals |
![]() | Minimum timeout For reading the registers, ensure that the timeout for the ADS function block is set to more than one second. |
![]() | Setting the password When writing to the registers, the password has to be set (see the documentation for the particular Bus Terminal). |