# Scales (Rice Lake Systems) connection to Ignition

**URL:** <https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524>\
**Category:** Ignition\
**Created:** [February 24, 2022, 5:14pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524 "2022-02-24T17:14:05Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jatin\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jatin\_Kumar\_Singh](https://forum.inductiveautomation.com/u/Jatin_Kumar_Singh)\
**Post date:** [February 24, 2022, 5:14pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/1 "2022-02-24T17:14:05Z")

</div>

Hi everyone,

I have connected to some scales in the plant. But, I am seeing some characters which are not required. I just need the integer value coming from scales.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/1/a1eb65844cb50f607a026a521f0e24542a8ad047.png)  
Is there a way, I can use these additional settings that can help me achieve my objective. I didn’t get much documentation regarding delimiters and wanted to know regarding that.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/a/eaeecb07ca5a94449f54d2296361605c60745153.png)  
Thank you,  
Jatin  
Saint-Gobain CertainTeed

---

<div class="post-metadata">

**Author:** ![bebel](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bebel](https://forum.inductiveautomation.com/u/bebel)\
**Post date:** [February 24, 2022, 8:41pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/2 "2022-02-24T20:41:24Z")

</div>

What I did with my scales is to put a change script on the tag to process the response and then stick the result into a memory tag with just the actual weight. That can get complicated if you get partial messages like with a serial port and can’t lose any data. It can also be as easy as looping through the message string. Start saving characters after your start of message character and stop at the end of message character. It helps if you know for sure what those are but you can figure it out if you need to.  
It ends up being something like:

```auto
msg = system.tag.read('[RiceLake Scale 1]100001/Message').value
result = ""

for index in range(len(msg)):
	ch = msg[index] 
	asciiCode = ord(ch)
    if asciiCode > 47 and asciiCode < 58: # numbers only
		result = result + ch
weight = int(result)

```

If you get more than one reading in a single message, you can throw in a break instruction once you encounter a specific ord/ch This is generally enough for a scale that is streaming constantly so you don’t care if you lose some message fragments.

---

<div class="post-metadata">

**Author:** ![Jatin\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jatin\_Kumar\_Singh](https://forum.inductiveautomation.com/u/Jatin_Kumar_Singh)\
**Post date:** [February 24, 2022, 11:02pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/3 "2022-02-24T23:02:22Z")

</div>

Hey there! Thank you for the suggestion. It works for scales which have one reading!!!

But we have a scale that is constantly streaming more than one reading in a single message, how can I introduce a break instruction in the logic you mentioned.

Thank you for your help!!

---

<div class="post-metadata">

**Author:** ![bebel](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bebel](https://forum.inductiveautomation.com/u/bebel)\
**Post date:** [February 25, 2022, 1:52pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/4 "2022-02-25T13:52:00Z")

</div>

Check out the string.split function. If you don’t know the delimiter, you may have to loop through as suggested before and print each character to watch for the pattern. Then just split the stream on that delimiter and do some checks on the slices, or just the first slice, to make sure it is a whole reading.  
[Strings - Ignition User Manual 8.0 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC80/Strings)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 25, 2022, 2:16pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/5 "2022-02-25T14:16:09Z")

</div>

Hi, bebel. Tip: there’s a `</>` code formatting button which will preserve the indentation and give syntax highlighting too. Preserving the indents is essential for Python code. There’s also an edit button (pencil icon) below your post so you can fix it.

---

<div class="post-metadata">

**Author:** ![bebel](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bebel](https://forum.inductiveautomation.com/u/bebel)\
**Post date:** [February 25, 2022, 2:42pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/6 "2022-02-25T14:42:27Z")

</div>

Thank-you. First time on this side of a forum post but I’ve done my share of this kind of work so I figured I could help on this one.

---

<div class="post-metadata">

**Author:** ![subbu.435](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@subbu.435](https://forum.inductiveautomation.com/u/subbu.435)\
**Post date:** [October 9, 2023, 9:09pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/7 "2023-10-09T21:09:30Z")

</div>

> [@Jatin\_Kumar\_Singh](#):
>
> onstantly streaming more than one reading in a single message, how can I introduce a break instruction in the logic you mentioned.

@Jatin_Kumar_Singh and @bebel how did you integrate scales (Rice Lake Systems) in Ignition? did you use Modbus Serial or Modbus TCP connection...I am trying to integrate scales in Ignition and ran into some issues...Could you please share your configuration steps here...Thanks!

---

<div class="post-metadata">

**Author:** ![Jatin\_Kumar\_Singh](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Jatin\_Kumar\_Singh](https://forum.inductiveautomation.com/u/Jatin_Kumar_Singh)\
**Post date:** [February 6, 2024, 4:37pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/8 "2024-02-06T16:37:23Z")

</div>

I used a simple TCP IP driver once the scale was connected on the industrial network. I did some cleaning on the values we received and made a UDT to give a clean output.

---

<div class="post-metadata">

**Author:** ![Dwayne\_Richardson](https://avatars.discourse-cdn.com/v4/letter/d/b5a626/32.png) [@Dwayne\_Richardson](https://forum.inductiveautomation.com/u/Dwayne_Richardson)\
**Post date:** [June 24, 2024, 7:30pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/9 "2024-06-24T19:30:25Z")

</div>

I ran across this thread and thought I'd chime in to see if I could get some help. I am attempting to talk to a Rice Lake Systems scale by way of the TCP driver. I am not getting messages from the scale passed to Ignition. I am getting empty messages. The scale model I am using is a 682 Synergy Plus. What model scale were you successful connecting to?

---

<div class="post-metadata">

**Author:** ![Brandon\_Nimon](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Brandon\_Nimon](https://forum.inductiveautomation.com/u/Brandon_Nimon)\
**Post date:** [February 5, 2025, 12:05am UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/10 "2025-02-05T00:05:43Z")

</div>

@Dwayne_Richardson did you ever figure out a solution? We just connected a 682 Synergy Plus to Ignition. It connects, but is only giving us blank messages.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [February 5, 2025, 12:47am UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/11 "2025-02-05T00:47:31Z")

</div>

Which connection module are you using?  
the ModbusTCP module would give best results, but plain TCP will work, just with less reliability.

---

<div class="post-metadata">

**Author:** ![Brandon\_Nimon](https://avatars.discourse-cdn.com/v4/letter/b/13edae/32.png) [@Brandon\_Nimon](https://forum.inductiveautomation.com/u/Brandon_Nimon)\
**Post date:** [February 5, 2025, 4:57pm UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/12 "2025-02-05T16:57:58Z")

</div>

I tried TCP since that's what I was told the device was setup as (by the install company). But I'm only getting empty messages when it's setup as that.

I switched the device in Ignition to Modbus TCP, but I haven't been able to find information on which registers to request. I tried several basic options (HR1 IR1 C1 DI1, etc.), but only received the Error\_Configuration red X. I would assume settings on the 682 will also need to be changed to make it work.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [February 6, 2025, 7:14am UTC](https://forum.inductiveautomation.com/t/scales-rice-lake-systems-connection-to-ignition/56524/13 "2025-02-06T07:14:00Z")

</div>

No matter what system you use, all the settings are on the scales themselves, from what i read, all the streams of data are configurable.
