EasyManua.ls Logo

FANUC R-J3iB - Page 83

Default Icon
90 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...
B-82604EN/01 OPERATION 7.APPENDIX
- 61 -
7.1.6 Getting The Alarm Information (ALARM1.CIM)
On the screen ALARM1.CIM, the history of alarms occurred in robot
controller is displayed.
Here, CIMPLICITY can get the information of date and time of
occurrence as the values of year, month, day, hour, minute, and
second. And these infomations are displayed as character string in the
format such as “Nov 26, 11:58:50”.
The raw data CIMPLICITY can get, in this case, year, month, day,
hour, minute, and second, are converted into the character string in
OnTimer( ).
For i=1 To 10
alm_month = Val(PointGet ("ALME_DATE_REAL" &
Cstr(i) & "[1]"))
if alm_month = 1 Then alm_date1 = "Jan"
if alm_month = 2 Then alm_date1 = "Feb"
if alm_month = 3 Then alm_date1 = "Mar"
if alm_month = 4 Then alm_date1 = "Apr"
if alm_month = 5 Then alm_date1 = "May"
if alm_month = 6 Then alm_date1 = "Jun"
if alm_month = 7 Then alm_date1 = "Jul"
if alm_month = 8 Then alm_date1 = "Aug"
if alm_month = 9 Then alm_date1 = "Sep"
if alm_month = 10 Then alm_date1 = "Oct"
if alm_month = 11 Then alm_date1 = "Nov"
if alm_month = 12 Then alm_date1 = "Dec"
alm_date2 = PointGet ("ALME_DATE_REAL" &
Cstr(i) & "[2]")
alm_date3 = PointGet ("ALME_DATE_REAL" &
Cstr(i) & "[3]")

Related product manuals