3.FP FUNCTIONS B-66284EN/01
- 338 -
9 : D
12 : E (PMC-SB7, PMC for Series 30i)
99 : Does not perform processing result notification
address PMC address to which a processing result is to be
written (an area of two bytes starting with the
specified address is used.)
If you specify 99 as the PMC address type, specify 0.
[Value of the processing result to be written to the specified PMC
area]
0 Normal termination.
5 The type, year/month/day or hour/minute/second value is
not correct.
-1 Data could not be set in the calendar timer LSI chip. The
cause may be a hardware fault.
1.66 Obtaining CNC alarm
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○ ○ ○ ○ ○ ○
○:available
-:unavailable
This function obtains information about the alarm that has occurred on
the CNC. The message will be the character string in the display
language of the CNC.
[Function name]
rdalminfo
[Data type]
6 : Character string (only one line is displayed)
8 : Rectangular character string
[Format/with arguments]
rdalminfo[type_almtype_num_pmc_address(_path)]
[Arguments]
type Display format
0 : Alarm number only
1 : Alarm number and message
almtype Type of the alarm to be obtained
• Series 30i/31i/32i
0 : Parameter write switch on (SW)
1 : Input of a parameter that requires power-off
(PW)
2 : I/O error (IO)
3 : P/S alarm for foreground (PS)
4 : Overtravel alarm / external data input alarm
(OT)
5 : Overheat alarm (OH)
6 : Servo alarm (SV)
7 : Data I/O error (SR)
8 : Macro alarm (MC)
9 : Spindle alarm (SP)
10 : Other DS alarms (DS)
11 : Alarm related to prevention of malfunction (IE)
12 : P/S alarm for background (BG)