EasyManua.ls Logo

Okuma OSP-P20L - Page 294

Okuma OSP-P20L
364 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals