Support Forums
DT80 E122 with RS485 Serial Communication

Hello,

I am trying to interface with a vacuum pressure gauge in my lab that uses RS485 2 wire, half duplex to communicate via the DT80. If I am reading the manual correctly, this command should work: '#01RD<Carriage Return>', where the 01 is the RS485 address of the gauge and RD is the command to readout the pressure. So I came up with the following command and plopped it into a manual channel:

PS=RS485,19200,N,8,1
2SERIAL("\e{#01RD\013}%f[5CV]" )

Where the PS data is the defaults listed in the manual. When I try and save this to the logger I get the following error:

E122 - Command incompatible with configured port function at line 42 col 33 [ }%f[5CV]' )<err> ]

Could someone please explain what is wrong? My apologies if this is a simple error, I am not very experienced with Serial Communication.

Thanks a lot!

-Eric

Hello, I am trying to interface with a vacuum pressure gauge in my lab that uses RS485 2 wire, half duplex to communicate via the DT80. If I am reading the manual correctly, this command should work: &#039;#01RD&lt;Carriage Return&gt;&#039;, where the 01 is the RS485 address of the gauge and RD is the command to readout the pressure. So I came up with the following command and plopped it into a manual channel: PS=RS485,19200,N,8,1 2SERIAL(&quot;\e{#01RD\\013}%f[5CV]&quot; ) Where the PS data is the defaults listed in the manual. When I try and save this to the logger I get the following error: E122 - Command incompatible with configured port function at line 42 col 33 [ }%f[5CV]&#039; )&lt;err&gt; ] Could someone please explain what is wrong? My apologies if this is a simple error, I am not very experienced with Serial Communication. Thanks a lot! -Eric

Good morning ebrick

Check the profile settings. make sure they are set for RS485 and for serial communication

Cheers

Roger

Good morning ebrick Check the profile settings. make sure they are set for RS485 and for serial communication Cheers Roger

Hi Eric,

While you are using PS syntax (stand for profile serial sensor port) you have the sensor connected to host port.

Serial sensor port is located in front of the logger (green terminal), while host port is located at the left panel of dataTaker.
Serial sensor port can be set as RS485, RS232 or RS422, while host port is available for RS232 (only).
Serial sensor declaration start with 1SERIAL, while host port declaration start with 2SERIAL.

Best regards,
Rudy

Hi Eric, While you are using PS syntax (stand for profile serial sensor port) you have the sensor connected to host port. Serial sensor port is located in front of the logger (green terminal), while host port is located at the left panel of dataTaker. Serial sensor port can be set as RS485, RS232 or RS422, while host port is available for RS232 (only). Serial sensor declaration start with 1SERIAL, while host port declaration start with 2SERIAL. Best regards, Rudy
82
2
3
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft