Szpliter Posted April 21 Report Share Posted April 21 Hello, (PLC = us5-b5-ta30) (HSC-0 = HS Input 0 from "Uni-I/O & Uni-COM") I have signal from generator output 50Ohm, 20V Vpp, square signal. This signal is connect to HSC-0 (Input I10) into PLC. CM1 is link to 0V. I set HSC-0 as Pulse with frequency 1000ms. I don't know what is Filter. After run in structure IO.HSC-0 Frequency PLC show 0. If I change input signal as sinus, PLC in structure IO.HSC-0 Frequency (Snap-In) show value <> 0 but not quite correct. (for input F=1000Hz -> show 1000, but for Fin=5000Hz -> Show 7500). Previous solution I had based on V130 and works great and precisely. I try set different combination with HSC-0 but without result. How to properly connect the output of the generator to the input of the HSC? And How to properly set device HSC-0 ? Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted April 21 MVP 2021 Report Share Posted April 21 The first step is to get the output level of the generator to something the PLC can see. A signal generator typically has a 0 VDC offset, so your 20 Vpp signal is probably +/- 10V, The PLC is looking for a 24V signal. When I'm using a generator as a signal source I typically run the output from the generator into an NPN transistor through a 1K resistor and pull up the collector with a 2.2K resistor, Take a look at this post for a similar circuit: Joe T. Quote Link to comment Share on other sites More sharing options...
Szpliter Posted April 29 Author Report Share Posted April 29 Thank you very much. It works. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.