![Okuma OSP-P200L Programming Manual Download Page 294](http://html1.mh-extra.com/html/okuma/osp-p200l/osp-p200l_programming-manual_3667818294.webp)
5238-E P-281
SECTION 12 USER TASK
Alarm comment variables
LE33013R0301400230001
For the alarm variable, a character-string or a hexadecimal code (prefixed by the $ symbol) in
quotation marks (’ ’) can be used. Letters of the alphabet (upper and lower case) can be used for
the character string. For the procedure refer to 4-1 Control Function 2 "GET/PUT Statement".
Up to four characters of hexadecimal code can be set.
Output of a comment to the display screen is designated with output variable VDOUT [*] =code
number. See below.
The valid range for code numbers is 1 to 9999.
Program example 1:
LE33013R0301400230002
After the execution of the program above, an alarm with a comment can be generated in N205.
LE33013R0301400230003
Program example 2:
LE33013R0301400230004
When the program above is executed, only ABC is displayed as a comment.
Set a comment without placing a space between comment characters. In the above example, since
three characters are set at VUACM[1], the fourth and the following characters should be set at
VUACM [4].
* = 991: 3202
Alarm C
* = 992: 2288
Alarm B
* = 993: 1213
Alarm A
VUACM
User alarm comments of up to 16 characters can be designated.
VUACM[1] ~ VUACM[16]
This variable is cleared when the NC is reset.
User Alarm CoMment
........
N202
N203
N204
N205
VUACM [1] = ' ABC = 100'
VUACM [9] = ' ^ ABC'
VUACM [12] = ' =200'
VDOUT [991] = 999
........Corresponds to ABC=100
........abc
........=200
Screen display
3202
Alarm C
User reserve code 999
ABC = 100
abc = 200
N202
N203
N204
:
VUACM [1] = ' ABC'
VUACM [5] = ' = 123'
VDOUT [991] = 999