4-23
4 Data Exchange with the CPU Unit
CJ-series PROFIBUS Master Unit Operation Manual for NJ-series CPU Unit (W509)
4-2 Device Variables for CJ-series Unit (Software Switches, Statuses)
4
4-2-8 Slave Data Exchange Active Flags (*_SlvDatXchg, *_SlvDatXchgL, *_SlvDatXchgH)
When a slave device is in Data_Exchange with the PROFIBUS Master Unit to which it has been allo-
cated, it is exchanging I/O Data with the PROFIBUS Master Unit.
If the PROFIBUS Master Unit is in CLEAR mode, it will read the slave’s input data, but send zeros or an
empty message as output data.
If the PROFIBUS Master Unit is in OPERATE mode, it will read the slave’s input data and send any out-
put data provided by the CPU
Name of Device Variable for CJ-
series Unit
Type R/W Description Function
*_SlvDatXchg BOOL R Slave Data
Exchange
Active Flags
(Array)
TRUE:
Indicates that this slave device is allocated to
the PROFIBUS Master Unit and is exchanging
I/O Data with PROFIBUS Master Unit.
In this case, the PROFIBUS Master Unit must
be in the CLEAR mode or the OPERATE mode.
FALSE:
Indicates that the slave is not in Data Exchange
with this PROFIBUS Master Unit due to one or
more of the following conditions:
• the slave device is not allocated to this PRO-
FIBUS Master Unit
• the slave device has been allocated to this
PROFIBUS Master Unit, but is forced out of
Data_Exchange mode due to a communica-
tion error
• the slave device has been allocated to this
PROFIBUS Master Unit but is not responding
• the slave device has been allocated to this
PROFIBUS Master Unit but is it has tempo-
rarily been disabled
• the PROFIBUS Master Unit is not in CLEAR
or OPERATE mode
*_SlvDatXchgL *_SlvDatXchgH LWORD R Slave Data
Exchange
Active Flags
1514131211109876543210
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
*_SlvDatXchgL
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
*_SlvDatXchgL
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
*_SlvDatXchgL
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
*_SlvDatXchgL
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
*_SlvDatXchgH
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
*_SlvDatXchgH
111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
*_SlvDatXchgH
125 124 123 122 121 120 119 118 117 116 115 114 113 112
*_SlvDatXchgH
Slave station 00 to 15
Slave station 16 to 31
Slave station 32 to 47
Slave station 48 to 63
Slave station 64 to 79
Slave station 80 to 95
Slave station 96 to 111
Slave station 112 to 125