FactoryTalk Transaction Manager Writing a PLC String Value to an SQL Database

EnterDownload

Member
Join Date
May 2015
Location
NY
Posts
12
Hello All

This is my first Transaction Manager project.

I have a working configuration in Transaction Manager 10.20 that successfully writes PLC Data to an SQL 2012 Management Studio DB based upon a trigger event.

The only problem I'm having is with writing String Datatypes to my SQL DB.

For example, I have a "Serial Number" that is a string variable in my Allen Bradley ControlLogix PLC. In turn, I have the "SerialNumber" field configured in a SQL table as varchar(length 14).

The Transaction Manager connector only shows SerialNumber PLC tag as Data[0] thru Data[13] under Data Points. In Transaction Manager I entered 14 in the "Elements" column for Serial Number. I assumed that would be Data[0]..Data[13]

But when I trigger my transaction, the SQL Database field for SerialNumber is a value of "11"...which is the string.LEN property, (current string length of Serial Number is 11).

How do I configure Transaction Manager to write the actual ascii value for the SerialNumber string to my SQL database instead of the string length?

thanks

Jay
 
When you are creating your data points, you can only pick the .DATA or .LEN portions of the string. But, once you have the data point created, you can edit the item string to the actual String tag name. I struggled with the same issue the first Transaction Manager project I did.
 

Similar Topics

Hi to all.!!! Is anyone having Interfacing of Control Logix 5562 & FactoryTalk Transaction Manager relevant documents and how its linked with...
Replies
1
Views
1,937
Hi guys, I've got a problem with FTTM configuration. In the step 3 (define data points) of the configuration checklist, when i select an...
Replies
0
Views
2,191
Hi All, I'll looked through the forum and the vastness of google with little luck (which makes me believe what I'm going to ask is not possible)...
Replies
4
Views
3,637
I am trying to add some new transactions to an existing working FactoryTalk transaction manager service (V10.20). One is triggered by a bit (bool)...
Replies
0
Views
2,659
I have searched Rockwell web site and knowledge base and can't find an answer to this question. Trying to install the lastest version of FTTM...
Replies
5
Views
5,876
Back
Top Bottom