PicoScope 6.13.2 Beta - Modbus

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
P_L
Newbie
Posts: 0
Joined: Tue Mar 20, 2018 8:19 pm

PicoScope 6.13.2 Beta - Modbus

Post by P_L »

Hi!
I tested PicoScope 6.13.2 Beta for Modbus decoding but without success when no parity is configured. After changing to even parity data are sucessfully decored. Is it bug in beta version or error in configuration?

Thank you

Petr

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PicoScope 6.13.2 Beta - Modbus

Post by Martyn »

Can you post a psdata file, it maybe that your data does have even parity.
Martyn
Technical Support Manager

P_L
Newbie
Posts: 0
Joined: Tue Mar 20, 2018 8:19 pm

Re: PicoScope 6.13.2 Beta - Modbus

Post by P_L »

I am sure the data are no parity. UART decoder shows the data correctly.

there is modbus decoder screenshot
psdata
psdata
I am sorry but it is not possible to upload .psdata or zipped version. No file is added to posted attachments.

P_L
Newbie
Posts: 0
Joined: Tue Mar 20, 2018 8:19 pm

Re: PicoScope 6.13.2 Beta - Modbus

Post by P_L »


Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PicoScope 6.13.2 Beta - Modbus

Post by Martyn »

Modbus RTU requires

Start bit, 8 data bits, Parity Bit, Stop Bit

or

Start bit, 8 data bits, 2 Stop bits

If you set the UART decoder to these settings you get the same data as the Modbus RTU decoder.

Are you sure the data you have is Modbus RTU ? or is it a variation ?
Martyn
Technical Support Manager

P_L
Newbie
Posts: 0
Joined: Tue Mar 20, 2018 8:19 pm

Re: PicoScope 6.13.2 Beta - Modbus

Post by P_L »

You are right, the problem is in device setup that allows non-standard 8N1 configuration. It's a shame that it's not possible to set it up in the Picoscope. Thank you very much!

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PicoScope 6.13.2 Beta - Modbus

Post by Martyn »

If you email support@picotech.com and ask if it is possible to add this as a feature request.
Martyn
Technical Support Manager

JK2018
Newbie
Posts: 0
Joined: Wed Nov 28, 2018 9:02 pm

Re: PicoScope 6.13.2 Beta - Modbus

Post by JK2018 »

I have the same problem, the scope software does not recognize the modbas packet correctly.
The packet was 115.2kBod, 8N1
Data sent was 01,03,90,00,00,02,E9,B0 hex.
I attached the screen shot and .psdata file

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PicoScope 6.13.2 Beta - Modbus

Post by Martyn »

No screenshot or data file, can you repost them.
Martyn
Technical Support Manager

Post Reply