FC310x as master
FC3101 and FC3102
21
Version: 3.0
STOPPING (4): Card ends cyclic data exchange.
RUN (0): Card in cyclic data exchange.
GlobalState[1] counts the detected bus errors (as from FC310x, version 1).
GlobalState[2]: Bit 0 is set, if no 11 bit idle time is detected on the PROFIBUS (-> check cabling), bit 1
contains the operation mode CLEAR (bit 1 = 1) or OPERATE (bit 1 = 0), the other bits (2..7) are reserved for
expansions (from FC310x, version 1).
GlobalState[3] is reserved for expansions.
CycleFailedCounter
: This counter shows how often the FC310x PROFIBUS cycle was unready at the start
of the TwinCAT task.
StartRedundantMasterFlag
Master Diagnostics Data
The master diagnostic data can be read by
:
ADS-Read parameters Meaning
Net-ID
Net-ID of the master (see the device's
Port
200
IndexGroup
0x0000F100
IndexOffset
Offset within the diagnostic data
Length
Length of the diagnostic data that is to be read
Data
Diagnostic data
The master diagnostic data has the following structure:
Offset
Description
0 -125
BusStatus list, one byte per station address 0-125, which contains the station
status (see BoxState for PROFIBUS boxes, additional for stations that are not
configured: 0x80 - not available, 0x81 - slave, 0x82 - master not ready for token
ring, 0x83 - master ready for token ring, 0x84 - master in token ring)
126 - 127
reserved
128 - 135
State of the FC310x (->GlobalState)
136 - 137
Send error counter for all sent telegrams
138 - 139
Receive error counter for all received telegrams
140 - 255
reserved for extensions
256 - 257
Sync Failed counter (see tab
(TwinCAT 2.8) or
(TwinCAT 2.9))
258 - 259
Cycle Start Error Counter, counts up one when the PROFIBUS cycle is restarted
before the old cycle is complete (intercepted by the TwinCAT-IO driver, only
possible with customized drivers)
260 - 261
Time Control Failed counter (see tab
262 - 263
reserved for extensions
264 - 265
Minimum reload value of real-time timer
266 - 267
Maximum reload value of the real-time timer (max. FCxxxx jitter (see tab
(TwinCAT 2.9)) = max. reload value -
min. reload value)
268 - 269
(TwinCAT 2.9))
270 - 271
PLL Underflow counter (see tab
(TwinCAT 2.8) or