I need to reflect a set of bytes coming from the PLC on the output. So if IN 500 is on, I need to set OT 500 to be high. How do I do this in the background and not using a job?
I am running a MH50 robot on a DX 200 controller.
I need to reflect a set of bytes coming from the PLC on the output. So if IN 500 is on, I need to set OT 500 to be high. How do I do this in the background and not using a job?
I am running a MH50 robot on a DX 200 controller.
That would be done in the Ladder Program or Ladder Editor.
I figured that much through the manuals, but what do I add to the ladder?
Find the relay that matches teh input and connect it straight to the relay that matches the output?
I tried to map input 17 to output 17.
I added a rung and set the relay on the left to be 00030 and the one on the right to be 10030, but the ladder won't compile.
I also tried to set the relay on the right to be an OUT.
How would the program look like?
STR #00030
OUT #10030
I tried doing the above in the mnemonic editing window, and could not get it to compile
You can not duplicate outputs in the ladder...
If an address is located within a GOUT or a BMOV .... you have to "break" it out into individual rungs
GSTR #2xxxx if you change like this it will mirror 8 bits
GOUT #3xxxx
STR #2xxxx This change will mirror a single bit
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR #1xxxx
OUT #3xxxx
STR# 70017
BMOV 2xxxx, 16, 3xxxx mirrors 16 bits
STR #00030
OUT #10030I tried doing the above in the mnemonic editing window, and could not get it to compile
In addition to what Tony said, you cannot control a #1XXXX address with the CIO. Your ladder likely would not compile because of that.
On your universal outputs you can only "OUT" 3xxxx
1xxxx are internal bits