MVI56E-GSC ControlLogix ASCII Module

TPCTJ

Lifetime Supporting Member
Join Date
Jun 2012
Location
Minnesota
Posts
21
Good morning ALL,
I am having a hard time figuring out the way this module sends and receives data...I have done all kinds of comm protocol before but never ASCII. What I don't get is how I put something like " I201 " in a decimal tag (GSC.DATA.Port1.WriteString). There must be something I'm missing.
Thank you,
T.J.o_O
 
A String in ControlLogix consists of a .LEN element (a 32-bit DINT) and a .DATA array.

The .DATA array is a 1-dimensional array of 8-bit SINT elements, so each element is a single ASCII character.

My recollection is that the .DATA element of the MVI module's big complex User-Defined Datatype is also a SINT[x] array.

So to take data from a String in your program and put it into the .DATA element for the MVI module, just copy YourStringTag.Data[0] to GSC.DATA.Port1.WriteString[0], with a Length argument in number of characters.

I might be one step back in complexity; maybe WriteString itself also has .LEN and .DATA sub-elements.

Either way, the COP and CPS instructions are what you will use to perform the data movement.
 
Thanks

Gents,
Thank you for your help.

Michael, I do have the AOI installed and I looked at the sample ladders that Prosoft provides. It looks like the samples are setting the clock via ethernet or something.....not really what I'm looking for. The AOI is definitely important though.

Ken, I will give that a try. I think my biggest challenge now is making sure the device (Veeder-Root TLS-350) is going to accept the strings the Prosoft is sending out.

Thanks again guys,
T.J.
 

Similar Topics

Hi all. I just received my brand new Prosoft Modbus modules and I'm playing with one in a L82 rack. I managed to set it up well enough so I...
Replies
4
Views
377
Hi All, I just wanted to confirm something regarding this module. What I understood from the manual, is that if RS-485 mode is selected (jumper...
Replies
2
Views
359
Hi all, I wonder what's the best type of cable to use for RS-485 2 wire + GND That is, Data+, Data- & GND I know that Belden 9841 (not...
Replies
10
Views
1,067
Controller: 1756-L84E v.35 Prosoft MVI56E-MNETC for ModbusTCP/IP I'm having an issue with some of my write commands. The write command that...
Replies
0
Views
193
Hey everyone, I am upgrading Modbus from MVI-56MCM to MVI56E-MCMR? Do I need to change in IO Configuration? I don't know if it is Master or...
Replies
4
Views
1,363
Back
Top Bottom