Search the Community
Showing results for tags 'inputs'.
-
Hello, I'm using the V120-22-RA22 plc, I have switches connected to some inputs then connected to a 24V power source. But when running the plc, with the switches to test it, they are not responding. My guess that I would need to connect the CM, but I'm not sure. I checked the jumpers and they are all set to be digital inputs. Any advice would help, I'm not very familiar with this plc. Thanks, Abby Moore
-
Dear UNITRONICS users. Sometimes it happens that you need more digital inputs on the OPLC because of pushbuttons. A solution is an OPLC with a larger number of inputs or an extension needs to be added when is possible. That can be expensive. I developed a simple solution, which I named, the pushbuttons to current loop converter. In this case, you only need one analog input (4 – 20mA), to add up to 19 pushbuttons via two-wire shielded cable which can be up to 100m long. The converter is self powered ( powered from current loop ). The converter is reliable, since a very stabilized reference circuit is used. The error is maximum +/- 1 digit on 10bit AD I attach software for JAZZ with examples for easier understanding. It can be also used with others OPLC. The converter is only available in our company for now. For further info write on Email biogorilniki@gmail.com. Best regards Robert Mramor s.p. Pushbutton to current loop - debouncing.U90
- 2 replies
-
- inputs
- pushbuttons
-
(and 1 more)
Tagged with:
-
The machine I've built punches holes into long strips of sheet metal. The sheet metal is fed through the machine in 1/4" increments. The operator inputs the position of the holes into the PLC. For example, if the part needs a hole punched at 2", 3.5" and 6", the operator keys in the 8th, 14th, and 24th location (since each position is 1/4"). The PLC then keeps track of the number of increments the sheet metal has moved and activates the hole punch at the appropriate time. My problem is that I want to allow the operator to enter a large quantity of numbers, and the way I'm writing my ladder now would make that very messy. I am trying to figure out vectors or arrays for this, but I am new to visilogic and don't understand the best way to go about doing it. I assume this form of data entry is very common and there is probably a good way to go about doing it. Could anyone point me in the right direction? The way I am doing it now is I have an "Equal To" function block, and I compare the current position of the sheet metal to the entered value. If that's true, the hole gets punched. For example, if the metal is at position 10 (2.5") and the user had entered position 10, the hole gets punched. The problem with this is I have to write a separate function block for each user entered position. I apologize if this doesn't make sense. I have only taken a couple classes in PLC programming and we did not cover this.