Hello let me explain my problem. I just got tossed into a somewhat complicated job because the person that normally does the writing is on vacation and we have a deadline to meet. I don’t normally do much programming beyond so simple I/O stuff with some timers and counters tossed in but this job is different.
I have a Micrologix1200 PLC and I have to send 3 variables to an Inview 2706-P42R.
I have a message I’m trying to display as a header with 3 variables underneath that gives a live reading. The message looks like this:
Now for what I can’t seem to figure out. How do I trigger my message and get it to write my variable to these 3 slots (the 0’s being {none:0}{none:1}{none:2})
I’m doing an ASCII write and have in my ST file the following:
ST9:0 ^T2\\1\\255^M
ST9:1 ^V[N7:9]\\0^M
ST9:2 ^V[N7:13]\\1^M
ST9:3 ^V[N7:10]\\2^M
Looking at examples I think I’m pretty close to having it right but I could be totally off, also I’m not sure I’m talking to the Inview panel. I have channel zero set up as Driver ASCII, Baud 9600, Parity none.
I think I’ve given all the information needed but if not I can post anything else you may need.
I have a Micrologix1200 PLC and I have to send 3 variables to an Inview 2706-P42R.
I have a message I’m trying to display as a header with 3 variables underneath that gives a live reading. The message looks like this:
Hd/Hr Ft/Min Bch Qty
0 0 0
Now for what I can’t seem to figure out. How do I trigger my message and get it to write my variable to these 3 slots (the 0’s being {none:0}{none:1}{none:2})
I’m doing an ASCII write and have in my ST file the following:
ST9:0 ^T2\\1\\255^M
ST9:1 ^V[N7:9]\\0^M
ST9:2 ^V[N7:13]\\1^M
ST9:3 ^V[N7:10]\\2^M
Looking at examples I think I’m pretty close to having it right but I could be totally off, also I’m not sure I’m talking to the Inview panel. I have channel zero set up as Driver ASCII, Baud 9600, Parity none.
I think I’ve given all the information needed but if not I can post anything else you may need.