![Omron CJ1W-PNT21 Operation Manuals Download Page 122](http://html.mh-extra.com/html/omron/cj1w-pnt21/cj1w-pnt21_operation-manuals_742351122.webp)
4-15
4 Data Exchange with the CPU Unit
CJ-series PROFINET IO Controller Unit Operation Manual for NJ-series CPU Unit (W511)
4-2
Device V
ariable
s for C
J-series U
n
it
(Sof
tware Switch
es, S
tat
uses)
4
4-
2-6 IO Device N
ew Ala
rms Flags
Additional Information
Since the IO Device is only capable to hold detailed alarm information for 2 alarms (1 high and 1
low alarm) the alarm must be acknowledged by the IO Controller. When an IO Device generates
an alarm this is reported via *
_DevAlmSta
, IO Devices Alarm received, in the IO Device status
(see
4-2-4 IO Device Status
).
The IO Device New Alarm flags area (see
4-2-6 IO Device New Alarms Flags
),
*_DevAlm
can be
used to determine the IO Device(s) reporting the alarm(s). To read the alarm data use the com-
mand message memory area read command (see
6-3-2 MEMORY AREA READ (0101)
). As a
result the alarm flag(s) will be cleared and IO Devices can report new alarms.
4-2-6
IO Device New Alarms Flags
Name of device variable
for CJ-series Unit
Type
R/W
Area
Function
*_DevAlm
BOOL
RO
IO Device New
Alarm
Array elements of
*_DevAlm
[1 to 126] corre-
spond to IO Device station numbers 1 to 126.
The bits for station 0 and 127 are not used.
FALSE: Turned OFF by the Unit if the corre-
sponding IO Device has no new alarm data.
TRUE: Turned ON by the Unit if the correspond-
ing IO Device has sent new alarm information
which should be read by the user with message
communications (see
6-3 Acyclic Messages
).
Failing to do so may cause the alarm data to be
overwritten should the device generate another
alarm.
Alternatively, the New Alarm flag can be cleared
using the IO Controller DTM Diagnostics view.
*_DevAlmL
LWORD
RO
IO Device New
Alarm flags
The IO Device New Alarm flags indicate for each
IO Device if it has sent a new alarm message to
the PROFINET IO Controller Unit. The flags are
allocated to a block of eight words, and each bit
in the block corresponds to the IO Device num-
ber as set in the DTM (IO Device Setup tab).
See the image below.
*_DevAlmH
LWORD
RO
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
*_DevAlmL
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
*_DevAlmL
47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
*_DevAlmL
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
*_DevAlmL
79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
*_DevAlmH
95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
*_DevAlmH
111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
*_DevAlmH
125 124 123 122 121 120 119 118 117 116 115 114 113 112
*_DevAlmH
IO Device 01 to 15
IO Device 16 to 31
IO Device 32 to 47
IO Device 48 to 63
IO Device 64 to 79
IO Device 80 to 95
IO Device 96 to 111
IO Device 112 to 126
126