# Should I use Transaction Group for this?

**URL:** <https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988>\
**Category:** Ignition\
**Created:** [February 11, 2014, 7:44pm UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988 "2014-02-11T19:44:12Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![cire3621](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cire3621](https://forum.inductiveautomation.com/u/cire3621)\
**Post date:** [February 17, 2014, 7:57pm UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/21 "2014-02-17T19:57:28Z")

</div>

Well I got the data registers to pull in as a string, but its not pulling in everything. Its pulling in the first 4 digits of the card number, but not the 5th. I am assuming it is because the last register only contains 1 digit. I don’t know if I should flip the bits in the last register in the PLC or do something in ignition.

[attachment=1]Ascii String.PNG[/attachment]

[attachment=0]DesignerString.PNG[/attachment]

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 18, 2014, 11:14am UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/22 "2014-02-18T11:14:08Z")

</div>

Yeah, it’s seeing a null character before getting to the ‘5’.  
[attachment=1]2014-02-18\_5-54-02.png[/attachment]

You had it working when it was up in the D10000 range, didn’t you? The last digit was on the high byte.  
[attachment=0]2014-02-18\_5-54-27.png[/attachment]

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 18, 2014, 11:37am UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/23 "2014-02-18T11:37:16Z")

</div>

[quote=“cire3621”]Well I got the data registers to pull in as a string, but its not pulling in everything. Its pulling in the first 4 digits of the card number, but not the 5th. I am assuming it is because the last register only contains 1 digit. I don’t know if I should flip the bits in the last register in the PLC or do something in ignition.  
[/quote]  
Anyway, to answer the question… sorry. 😊  
You can shift that last register over one byte:  
[attachment=0]2014-02-18\_6-15-56.png[/attachment]

To move on, after you shift it over, you can then OR in the comma that we talked about earlier:  
[attachment=1]2014-02-18\_6-25-40.png[/attachment]  
44 is the ASCII code for ‘,’

After that, If you stick the PIN number in at D1003, that will give you the entire input string for Ignition.

---

<div class="post-metadata">

**Author:** ![cire3621](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cire3621](https://forum.inductiveautomation.com/u/cire3621)\
**Post date:** [February 18, 2014, 5:21pm UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/24 "2014-02-18T17:21:33Z")

</div>

Actually the Idec manual was wrong it works with any data register to send ASCII no conversion…only reason it moved the 5 past the null mark was because  
I had a delimiter in my set up. I got them all back in line without having to flip the bits. But I still can not get a comma in. When I use the OR function  
it changes its value to a dash. I monitored the binary and noticed with the card number and the 44 ASCII or code it is turning on bit 0 which is in turn making the wrong character come across. I have a meeting set up with our IDEC reps to figure out why it is so difficult to just add an ASCII character to the next 8 bits of data.

---

<div class="post-metadata">

**Author:** ![cire3621](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cire3621](https://forum.inductiveautomation.com/u/cire3621)\
**Post date:** [February 18, 2014, 7:16pm UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/25 "2014-02-18T19:16:28Z")

</div>

Jordan -

I started messing with my Wiegand 26 bit to ASCII 16 bit RS232 converter and rigged it to make it send a comma after the last card number. So thanks  
so much since I never really dealt with ASCII in the past Im a modbus guy. But now Ill rig up a screen and make sure the ascii pin number comes through  
with the rest of the string as It should…thank you so much for your help…I might i have a question here or their but you have been awesome with all  
of your insight. ![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:")

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 18, 2014, 8:17pm UTC](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988/26 "2014-02-18T20:17:56Z")

</div>

Cool! Glad things are moving forward! 😃

[Previous page](https://forum.inductiveautomation.com/t/should-i-use-transaction-group-for-this/7988.md?page=1)
