How to wire digital inputs?

ACE digital inputs are NPN transistor inputs. NPN Inputs = Positive logic.

The logic is the following:

  • When the  INPUT  is linked to VDC (+), the input = 1
  • When the  INPUT  is not connected to anything or the voltage is less than 0.8 VDC, the input = 0
Your sensor (here, the dry contact) must be connected to:

  •  (+) 
  •  INPUT

 

The ACE inputs are connected:

  •  (-)  > GND (-)
  • INPUT  > Your sensor

 (+)  is not used or only for dry contacts.

  • VDC (+) is the + of your power supply. From 3 to 30 VDC.
  • GND (-) is the – of your power supply.
  •  (+)  it is often the last pin of your connector
  •  (-)  it is often the first pin of your connector
  • INPUT  is an input of your ACE PLC

How to wire the input to a dry contact (Push button, relay contact,..)?

with a external voltage

Nothing on the  (+)  of the ACE PLC!

with voltage provide by the ACE PLC

Do not use this 5 VDC to power anything

 

How to wire the input to an encoder or PNP sensor?

Sensor with an internal pull-up resistor

 

Sensor without an internal pull-up resistor

Some entry-level sensors do not include a pull-up resistor.

Read more: What sort of typical digital input signals that may be connected to the ACE digital inputs?

  • Switches, buttons, limit switches, etc.. :
    • Connect one side to positive DC power (from a supply whose ground is connected to the PLC ground)
    • Connect the other side of the switch to the digital input
  • Transistor signal or Encoders:
    • For transistor signals that supply voltage when on : connect sensor output to digital input
    • For transistor signals that switch to ground when on : connect to sensor output to digital inputs & if input device does not pull high when inactive, also pull up to positive voltage through a pull up resistor
  • Logic level signals:
    • Make sure that the signal’s ground reference is connected to the PLC ground. Connect of input.
    • Make sure that the signal switches high and low.

 

digital_inputs

Mechanical contact bounce

ACE digital inputs and the ACE CPU are very fast. For a small program, the logic scan and input scan can occur 5 times per millisecond. At this rate, mechanical contact bounce can signal the program that an input is changing rapidly – which can be a problem.

To remedy this situation, vBuilder has an option to allow you to filter the digital inputs.

Note that debounce does not apply to inputs configured as high speed pulse counter inputs.

High speed pulse counters

Using vBuilder, 3 high speed pulse counters can be configured for:

  • basic high speed pulse counting (one digital input)
  • quadrature pulse counting (two digital inputs)

The same signal level requirements apply, as listed above.

Digital AC signals inputs: 24 VAC or 120 VAC

For digital inputs that are AC signals, the ACE’s digital input ports can be connected to Velocio Optocoupled Input Terminal Block modules.

A cable, supplied with each terminal block module is then connected to the ACE digital input port.

The Optocoupler Input Terminal Block modules convert the AC signals to the proper DC levels to the PLC.