Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 1046 -
------------------------------------------------------------------------------
3. Get pointer to PMC data <HILEV>
------------------------------------------------------------------------------
[Name]
pmc_getioptr
[Syntax]
#include <hilev.h>
void *pmc_getioptr( unsigned int id, unsigned int offset_addr ) ;
[Arguments]
id Identity code of PMC address.
offset_addr Offset address from the top of each PMC address.
[Return]
Returns a pointer to the specified PMC data, or NULL if any error.
[Description]
Returns a pointer to the specified PMC data.
The application program reads or writes arbitrary PMC data using
the pointer which is got by this function.
Specify identity code that is corresponding to PMC address as "id".
(Refer the following tables.) Specify an offset of data you want to
access from the top of each PMC address area as "offset_addr". For
example, if you want to get a pointer to "R100", you must specify
"id=5" and "offset_addr=100".