Set RS422/485 of RAS port to half duplex communication mode.
int MT_SetRS485HalfDuplex(int fd,unsigned char ucMode)
int fd Please specify handle acquired by MT_Open function. unsigned char ucMode 0x08 : halfduplex_rts(RS485_HALFDUPLEX_RTS) 0x02 : halfduplex_ec_read(write desable)(RS485_HALFDUPLEX_EC_READ) 0x01 : halfduplex_ec_write(read desable)(RS485_HALFDUPLEX_EC_WRITE)
If the function succeeds, NO_ERROR is returned.
If the function fails, a code other than NO_ERROR is returned.
The other errors : Error code details
Only BX-220D series, BX-830 series are supported.
Function List