//
subcall Read3PIicInputDevice2 // void Read3PIicInputDevice2(Value,hName,Layer,Port)
{ //
IO_F Value //
IO_16 hName //
IO_8 Layer //
IO_8 Port //
//
DATA8 Status //
// {
INPUT_DEVICE(SET_TYPEMODE,55,0,55,0,Status) // INPUT_DEVICE(SET_TYPEMODE,55,0,55,0,Status)
JR_FALSE(Status,Exists) // if (Status)
// { // If non existing -> insert string
//
INPUT_DEVICE(INSERT_TYPE,'55 0 HT-ANG-DEG 1 2 8 0 1 120 0x46 -360.0 360.0 -100 100 -360.0 360.0 100 0 deg HITECHNC AnglSnsr 3 0x014100000 2 0x01440000 4',1,Status)//
//
Exists: // }
//
INPUT_DEVICE(READY_SI,Layer,Port,0,0,1,Value) // INPUT_DEVICE(READY_SI,Layer,Port,Type,Mode,DataSets,Value)
INPUT_DEVICE(GET_NAME,Layer,Port,-1,@hName) // INPUT_DEVICE(GET_NAME,Layer,Port,Length,@hName)
} // }
//