Rs-485 Feed Back
ghaith
Posts: 6
Dear ...........
If I have this code to controll the camera for example :
BUTTON_EVENT [TP,171] //PAN RIGHT
{
PUSH:
{
SEND_STRING CAMERA,"$01,$01,$24"
}
HOLD[5,REPEAT]:
{
SEND_STRING CAMERA,"$01,$01,$84"
}
}
BUTTON_EVENT [TP,172] //PAN LEFT
{
PUSH:
{
SEND_STRING CAMERA,"$01,$02,$24"
}
HOLD[5,REPEAT]:
{
SEND_STRING CAMERA,"$01,$02,$84"
}
}
So what the code for the feed back
With best regards
If I have this code to controll the camera for example :
BUTTON_EVENT [TP,171] //PAN RIGHT
{
PUSH:
{
SEND_STRING CAMERA,"$01,$01,$24"
}
HOLD[5,REPEAT]:
{
SEND_STRING CAMERA,"$01,$01,$84"
}
}
BUTTON_EVENT [TP,172] //PAN LEFT
{
PUSH:
{
SEND_STRING CAMERA,"$01,$02,$24"
}
HOLD[5,REPEAT]:
{
SEND_STRING CAMERA,"$01,$02,$84"
}
}
So what the code for the feed back
With best regards
0
Comments
If wired as 485, you short TX+ and RX+ to one single + line, the same with the - lines. If you run the port w/o '485 ENABLE' you'll receive your own data immediately. The '485 ENABLE' will ignore the data your have sent on the receive pins, and you only will get the data from the remote device(s). Keep in mind that RS-485 is a half-duplex bus, so you have to wait for the response of your remote device, before you send your next string.
I have never gotten that to work an Axcent 3s connected as slaves to Netlinx masters, my TX data always echoes back. On Netlinx master serial ports it's ignored.