Hi
On an AB Micrologix 1100 or 1400 PLC
I am using inline data within strings in MSG instructions eg
ST9:0 "This is data in a string [N7:0] to send"
So if N7:0 contained 1234 the actual string sent out looks like this "This is data in a string 1234 to send"
This works great for messages sent out of the PLC via ethernet to another PLC or for ASCII text sent to a serial port.
Is there a way of doing it to create strings locally ie to create the same message as the MSG instrucrtion and store it locally on the PLC in a ST file? I tried writing a string to the PLCs own IP address with a MSG instruction, but I get invalid IP address - I also tried 127.0.0.1 I want to somehow fool the PLC into thinking its sending a MSG and do the inline conversion so I can keep an exact copy of what was sent.
Thanks
Al
On an AB Micrologix 1100 or 1400 PLC
I am using inline data within strings in MSG instructions eg
ST9:0 "This is data in a string [N7:0] to send"
So if N7:0 contained 1234 the actual string sent out looks like this "This is data in a string 1234 to send"
This works great for messages sent out of the PLC via ethernet to another PLC or for ASCII text sent to a serial port.
Is there a way of doing it to create strings locally ie to create the same message as the MSG instrucrtion and store it locally on the PLC in a ST file? I tried writing a string to the PLCs own IP address with a MSG instruction, but I get invalid IP address - I also tried 127.0.0.1 I want to somehow fool the PLC into thinking its sending a MSG and do the inline conversion so I can keep an exact copy of what was sent.
Thanks
Al