4 Data Exchange with the CPU Unit
4-22
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
The actual bus cycle time word indicates the current bus cycle time expressed in BCD in 0.1 ms
units. The maximum value is, therefore, 999.9 ms. Values larger than 999.9 ms are set at 9999.
The Slave Data Exchange Active flags indicate if each slave device is in Data Exchange mode with the
PROFIBUS Master Unit.
An Array data type is used to access individual slave status with the Device Variable *_SlvDatXchg.
The flags are also allocated to a block of eight CIO words and each bit in the block corresponds to a
device address.
Bits 00 to 63 of LWORD-type *_SlvDatXchgL and bits 00 to 61 of LWORD-type *_SlvDatXchgH Device
Variable for CJ-series Unit correspond to slaves at node addresses.
Name of Device Variable for CJ-
series Unit
Type R/W Description Function
*_AllDatXchgSta BOOL R All slaves in
Data Exchange
mode
TRUE:
Indicates all slave devices which are allocated
to the PROFIBUS Master Unit are enabled and
are in Data Exchange with the PROFIBUS
Master Unit. All slaves which are in Data
exchange are indicated in *_SlvDatXchgL and
*_SlvDatXchgH or *_SlvDatXchg, see 4-2-8
Slave Data Exchange Active Flags
(*_SlvDatXchg, *_SlvDatXchgL,
*_SlvDatXchgH).
FALSE:
Indicates that at least one slave device is not in
Data_Exchange with the PROFIBUS Master
Unit.
*_SlvDiagRcvSta BOOL R Slave diagnos-
tics received
TRUE:
At least one of the slave devices, allocated to
the PROFIBUS Master Unit indicates that new
Diagnostics data is available. The slaves which
indicate this data are indicated in
*_SlvNewDiagL and *_SlvNewDiagH or
*_SlvNewDiag, see 4-2-9 Slave New Diagnos-
tics Flags (*_SlvNewDiagL, *_SlvNewDiagH,
*_SlvNewDiag).
FALSE:
Indicates that none of the slave device has
returned new diagnostics messages, since the
last time the flags were cleared.
4-2-7 Actual Bus Cycle Time (*_ActCycleTm)
4-2-8 Slave Data Exchange Active Flags (*_SlvDatXchg,
*_SlvDatXchgL, *_SlvDatXchgH)