shilo1123 said:
Ahh okay then but will the other method you showed work then if I power across com1 and in0?
What do you mean by "com1"?
Do you mean terminal DC COM 1?
If so, then no, the Common for
IN0, IN1, IN2, IN3 is DC COM
0, not
1
DC COM 1 is the Common for IN4, IN5, IN6, IN7
DC COM 2 is the Common for IN8, IN9, IN10, IN11
...and so on. Each DC COM terminal supplies a separate group of inputs.
Each DC COM terminal is isolated form the other DC COM terminals.
You must supply, or loop to each DC COM terminal if you wish to use that group of inputs.
If only using IN0 then you only need to wire - 24 VDC to DC COM 0.
That is the negative wire of a 24 VDC Power Supply.
The reason the DC COM terminals are isolated is to facilitate supplying different groups of inputs from different power supplies.
You only need concern yourself with the wiring outside the Red box, which I intentionally put there so as not to confuse you.
Please ignore all other wiring inside that box. That is, unless you have any specific questions related to it in a general learning capacity.
EDIT1: Ah, I see you have since spotted your own error!
EDIT2: What I have outlined will allow you to switch the contact and see the input indicator for IN0 go "on" and "off". That is all. At this point I will ask the begging question...
What is it you hope to achieve here? If the controller currently has no program, or no useful program loaded, then switching this input signal will most likely serve no meaningful purpose? You either have to program something into the controller to do whatever it is you want (usually also involves using at least 1 output) or is there already something there that is programmed to do something when input 0 is active? I gave you this input as an example, you didn't specify which input you have to use?
G.