To set I/O Assign Map. For more information, refer to ‘1-1-5. Frame Type and Data
Configuration’.
int FAS_SetIOAssignMap(
BYTE nPortNo,
BYTE iSlaveNo,
BYTE iIOPinNo,
DWORD dwIOLogicMask,
BYTE bLevel
);
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
iIOPinNo
I/O Pin number to be read
dwIOLogicMask
Logic mask value to be assigned to the relevant pin
bLevel
Active Level value of the relevant logic
FMM_OK : Command has been successfully performed.
FMM_NOT_OPEN : The drive has not been connected yet .
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports .
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port .
FMM_INVALID_PARAMETER_NUM : Designated iIOPinNo or dwIOLogicMask value is out of range.
To save current setting values to the ROM memory, ‘FAS_SaveAllParameters’ library
should be run.
Refer to ‘FAS_GSetIOAssignMap’ library