5 - 15                  5 - 15 
MELSEC-Q
5   DETAILS AND SETTING OF FUNCTIONS 
 
5.8 Alarm Output Function 
With "alarm output function valid" set in the "alarm output selection" of the 
buffer memory, the alarm output function outputs an alarm if the "sampling 
pulse number" of the buffer memory exceeds the upper/upper limit value or 
lower/lower limit value. The alarm is turned OFF if the sampling pulse number 
is below the upper/lower limit value or above the lower/upper limit value after 
the output of the alarm. 
To set the alarm output function, set four points: upper/upper limit value, 
upper/lower limit value, lower/upper limit value and lower/lower limit value. 
 
The buffer memory addresses related to the setting of the alarm output 
function are as follows. 
 
Buffer memory address 
Item Setting value 
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 
Alarm output selection 
0: Alarm output function 
invalid 
1: Alarm output function 
valid 
17 49 81 113 145 177 209 241 
Alarm output setting value 
upper/upper limit 
19 51 83 115 147 179 211 243 
Alarm output setting value 
upper/lower limit 
20 52 84 116 148 180 212 244 
Alarm output setting value 
lower/upper limit 
21 53 85 117 149 181 213 245 
Alarm output setting value 
lower/lower limit 
0 to 32767 
22 54 86 118 150 182 214 246 
 
If the setting value is other than in the above values or does not establish the following 
relation expression, an alarm output setting range outside error (error code: 500) 
occurs. 
 
Upper/upper limit 
 upper/lower limit   lower/upper limit   lower/lower limit 
 
To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding 
channel. 
After this, set a correct value (value that will establish the above relation expression 
and is within the setting range), and then turn ON the operating condition setting 
request flag (Y1). 
 
The buffer memory addresses related to the alarm output are as follows. 
 
Buffer memory address 
Item Read value 
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 
Sampling pulse number  0 to 32767  0  32  64  96  128  160  192  224 
Alarm output flag 
bit0: Lower limit alarm 
bit8: Upper limit alarm 
18 50 82 114 146 178 210 242 
 
[Bit pattern of alarm output] 
 
Not usedNot used
b15 b0b4b8
 
0:OFF(Normal)
1:ON(Range over)
Meaning
Lower limit alarm
Upper limit alarm
Storage Item