Guys, I am trying to get a MQTT message out of the Maplesystems/Weintek cMT-G01 that is connected to a control logix PLC. Everything seems pretty straightforward and the scope of the project is pretty simple. Just sending status of discrete's. The customer would like other identifying information in the JSON message though and that is giving me a hard time. All the identifying information they would like is alpha numeric and for the life of me I cannot seem to get an address format of ASCII when setting up the publishing address in the cMT-G01. My ideal end result message in JSON would look something like below. The "Active" is my discrete, the other two fields are what I need to fill with ascii values.
{
"d" : {
"UniqueCode" : [ 123ABC ],
"Direction" : [ Left ],
"Active" : [ false ]
},
"ts" : "2018-11-06T00:05:10.932017"
}
Any suggestions? I also have at my disposal a Red Lion CR3000 but have had even less luck using the generic MQTT option that is new to crimson 3.1.
{
"d" : {
"UniqueCode" : [ 123ABC ],
"Direction" : [ Left ],
"Active" : [ false ]
},
"ts" : "2018-11-06T00:05:10.932017"
}
Any suggestions? I also have at my disposal a Red Lion CR3000 but have had even less luck using the generic MQTT option that is new to crimson 3.1.