Installation manual
Chapter 8 PA Library
8-4
pa_opn_arm
Function
Open arm (control arm selection)
Syntax
ERR pa_opn_arm(ARM armno)
armno Arm number (No.)
Explanation
The arm designated by “armno” can be accessed.
When plural arms are controlled, arms are distinguished by “armno.”
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_cls_arm
Description example
#include <pa.h> .. Library prototype declaration
#include <paerr.h> .. Error code
main()
{
pa_ini_sys();
pa_opn_arm(ARM1); .. Arm number selection :
:
pa_cls_arm(ARM1);
pa_ter_sys();
}
pa.h :Needs when the library is used.
paerr.h :Needs on account error names are declared.
All these descriptions are always needed to use the library.
M
M
e
e
m
m
o
o