Hi There,
I need some guidance as to whether the following is even possible. - We have a system where we get the following JSON message:
{
"type" : "DeviceCommand",
"sessionId" : "86a624c5-fa85-4e82-8c5b-0c09774139a3",
"controllerId" : "PLC_NAME",
"devices" : [ {
"moduleType" : "Custom",
"deviceId" : "g_ASOUTBOUNDPORT220READY",
"command" : ""
} ]
}
The INTENT of the message is to request the current value of "g_ASOUTBOUNDPORT220READY" from "PLC_NAME" (which can be any of a number of PLC's connected to Ignition)
The EXPECTED response message we need to generate SHOULD look like:
{
"type" : "DeviceStatus",
"sessionId" : "86a624c5-fa85-4e82-8c5b-0c09774139a3",
"controllerId" : "PLC_NAME",
"devices" : [ {
"moduleType" : "Custom",
"deviceId" : "g_ASOUTBOUNDPORT220READY",
"command" : "TRUE"
} ]
}
Thank You for any feedback