RS 485 problem on NI3000
pvs
Posts: 6
I am controlling a RS485 relais unit via the NI-3000, to controle lights on and off.
While sending commands to the controller often a delay is noticed of more than one second. If I test the RS485 unit via a RS-232/rs485 convertor connected to my PC I can't see this delay.
Do I something Wrong in the NI-3000 settings ?
Cable is connected as described in the manaul. I can controlle the unit and I recieve the answer of the rs485 relais unit .
Code:
DATA_EVENT [SERIAL5_ARU16] // SET SETTINGS SERIAL5_ARU16
{
ONLINE:
{
SEND_COMMAND SERIAL5_ARU16, "'SET BAUD 9600,N,8,1 485 ENABLE'" // SERIAL5_ARU16
}
STRING:
{
ARU16_INFO = DATA.TEXT
//CALL 'ARU16_STATUS' //vertraagd misschien
}
}
SEND_STRING SERIAL5_ARU16, "$02,$00,$01,$91,$1b,$81,$01,$00,$CC,$CC,$03" // disable relais 1
While sending commands to the controller often a delay is noticed of more than one second. If I test the RS485 unit via a RS-232/rs485 convertor connected to my PC I can't see this delay.
Do I something Wrong in the NI-3000 settings ?
Cable is connected as described in the manaul. I can controlle the unit and I recieve the answer of the rs485 relais unit .
Code:
DATA_EVENT [SERIAL5_ARU16] // SET SETTINGS SERIAL5_ARU16
{
ONLINE:
{
SEND_COMMAND SERIAL5_ARU16, "'SET BAUD 9600,N,8,1 485 ENABLE'" // SERIAL5_ARU16
}
STRING:
{
ARU16_INFO = DATA.TEXT
//CALL 'ARU16_STATUS' //vertraagd misschien
}
}
SEND_STRING SERIAL5_ARU16, "$02,$00,$01,$91,$1b,$81,$01,$00,$CC,$CC,$03" // disable relais 1
0
Comments
What is standard configuration of com port RS232/rs485