I would like to display Teach Pendant alarms on my HMI. I have been looking at $SNPX_ASG and currently only use the first 100 R registers on the robot so I tried to push the Alarm History data into R150 to R162. I plan on Reading R150 to R160 on the HMI. Looking at the Fanuc E-docs SNPX_ASG variable can do this for me.
Here is the $SNPX_ASG Variable now:
Field: $SNPX_ASG[1].$ADDRESS Access: RW: SHORT = 1
Field: $SNPX_ASG[1].$SIZE Access: RW: SHORT = 149
Field: $SNPX_ASG[1].$VAR_NAME Access: RW: STRING[37] = 'R[1]@1.1'
Field: $SNPX_ASG[1].$MULTIPLY Access: RW: REAL = 1.000000e+00
Field: $SNPX_ASG[2].$ADDRESS Access: RW: SHORT = 150
Field: $SNPX_ASG[2].$SIZE Access: RW: SHORT = 12
Field: $SNPX_ASG[2].$VAR_NAME Access: RW: STRING[37] = 'ALM[E1]@1.4'
Field: $SNPX_ASG[2].$MULTIPLY Access: RW: REAL = 1.000000e+00
After a power cycle I made some errors by pressing the E-stop and opening the Fence circuit but Robot Registers R150 to -R160 were still all Zeros. Has anyone else tried something like this? Hopefully I am just missing something simple.
Thansk!