Machsupport Forum

Third party software and hardware support forums. => CS-Lab => Topic started by: hanermo on December 02, 2014, 02:58:56 AM

Title: Wiring IP-S outputs - Switched 0V side ? howto
Post by: hanermo on December 02, 2014, 02:58:56 AM
Can anyone here help on howto switch the 0V side for outputs on IP-S controller ?


I am trying to get the IP-S to send a servo-on signal, to enable the servo.

This goes to PIN21 on the servo drive.

Servo works fine, step/dir and inputs for servo-alarm, servo-arrive etc.
The difficulty is that the servo drive inputs are on the 0V side, not the +24V side.

Wiring with a mechanical switch works, like this picture.




Title: Re: Wiring IP-S outputs - Switched 0V side ? howto
Post by: TPS on December 02, 2014, 03:17:54 AM
Hello,

there are two possibilities:

1. if you want to use more than the ENABLE Input (Reset Alm) you have to put 24VDC Relays to the outputs
from the IP-S an use the contacts like you have shown in yor second drawing.

2. if you want to use only the ENABLE Input connect to Pin8/20 , connect Pin9 to 0V and put a 10k resistor
between both.

Thomas
Title: Re: Wiring IP-S outputs - Switched 0V side ? howto
Post by: hanermo on December 02, 2014, 12:24:22 PM
Thanks a lot Thomas.

I thought it unfortunately might be a relay needed..

How did you get to the 10K value of the resistor, please ?
I am trying to understand this, so that I can do proper docs, and not be asking silly questions.

Any hints on suitable relays ?
Once I have one working, sourcing similar ones will be easier.

Much appreciated..
TIA or Thanks In Advance.




Title: Re: Wiring IP-S outputs - Switched 0V side ? howto
Post by: TPS on December 03, 2014, 06:07:26 AM
Hello,

the 10k resistor is only to pull down the CS-Lab output to 0V.

for the relays i normaly take standard 24VDC industrial relays like this:

http://www.voelkner.de/products/36865/100-xl.jpg

easy to connect, easy to fit and working in thousands applications.

by the way this was worng in my 1st reply:

2. if you want to use only the ENABLE Input connect to Pin8/20 , connect Pin9 to 0V and put a 10k resistor
between both.

should be:
2. if you want to use only the ENABLE Input connect CS Output to Pin8/20 , connect Pin9 to 0V and put a 10k resistor
between both.








Thomas
Title: Re: Wiring IP-S outputs - Switched 0V side ? howto
Post by: hanermo on December 04, 2014, 05:08:52 AM
Thanks Thomas !

I did a schematic with the enable only (I will use relays if needed).

One sanity check.
To enable the servo, its pin 21, Servo On Input pin 21 that must be one (not pin 9).
I think you mistook the sevrvo on for pin9, maybe ?.)

So... the resistor goes from to the IP-S Output (Output 0 for test case, here) to the pins 8/20 ?

Is this the right way to do this.

Or from DC0 V to pin 9 ?
Or both Output0 to 8/20 and 0V to pin 9 ?


Title: Re: Wiring IP-S outputs - Switched 0V side ? howto
Post by: TPS on December 04, 2014, 09:06:38 AM
Hello hanermo,

the resistor should be between 8/20 and pin 21 .

Thomas