QR Code Skipping Zeroes

QR Code Skipping Zeroes
none 0.0 0
  • HMI Model: cMT2078X
  • EasyBuilder Pro Version: 6.10.01.510

Hello,

I’m trying to connect to an OMRON CP1L PLC to read a batch of data from the PLC so we can text it to text support. When I scan the QR code, carriage returns would appear, but I hadn’t yet gotten back to back data where a skip occurred so I hadn’t noticed. It appears whenever there are enough 0’s in a row, the QR code is read as a gap, and puts a carriage return. Is there a way around this? (I’ve currently got the QR code set at 1020 words, and will have to use 2 with the amount of data, so I’m hoping the fix doesn’t only work on smaller data amounts).

Current QR code readout:

11111122220306261749FEFF0000030303030303030303030303030303030606060606060606060504040403030326262626262626262626262626262626171717161414141414161614131615144949031459584948445229084527113902202611109900000000E2000000FEFF03030303030303030303030303030303060606060606060606050404040303032626262626262626262626262626262617171716141414141416161413161514494904155958494844532909452711400220261111990219261850FEFF00000303030303030303030303030303030306060606060606060606060504040403262626262626262626262626262626261717171614141414141414161614131649490314595958514948445229084527
25047008420280129706440290041912438675309502504709420180036007200815220000400008000400020002004000080100000000010002010004020402FFFEFF0303030303030303030303030303030306060606060606060606060504040403262626262626262626262626262626261717171614141414141414161614131649490415595958514948445329094527
FEFF0303030303030303030303030303030306060606060606060606050404040303262626262626262626262626262626261717171614141414141416161413161549490314595851494844522908452711
FEFF0303030303030303030303030303030306060606060606060606060504040403262626262626262626262626262626261717171614141414141414161614131649490314595958514948445229084527
FEFF03
06
26
17
49
9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999

One fix I found was to go through and change any HEX #0 to ASCII 00. It doesn’t seem to skip anymore.

To confirm, is this a QR code that you are displaying on the HMI’s screen using the 2D barcode display object? And, just to clarify, you are trying to read this data to a mobile device in order to then text it to someone else. Is that correct?

Correct on all counts

The QR code method can work, but as you mentioned their is a limit to the number of data points that can be transferred. Have you considered using an API, MQTT, or other other similar means to get the data to your mobile device instead of via QR code?

The device is going out to grocery stores and is serviced by local providers. I can’t control their tech, and the past interactions have had fairly low tech literacy, so I wanted to keep it simple. The device itself is also not networked currently. The goal is, so when they call us for additional tech support, that we can get all of the information at once.

Hi @Toilet_HMIs ,

If you have an email server set up, a data sampling object can be used to gather the data from the memory registers. Then a backup global object can be used to email you a CSV file with the data points for analysis.

With this method we would recommend putting protections on the project file to protect your email credentials. Here is a post on how to lock you projects if needed: LINK

1 Like

Thanks for the idea, and I have looked into adding email functionality as another feature to our system, but currently, we can’t get the customer to give the system internet access, so email is a non-starter.

Thanks for the info on the lock though. I’ll have to bring that one up.

1 Like