{"id":7252,"date":"2018-06-06T13:09:49","date_gmt":"2018-06-06T11:09:49","guid":{"rendered":"https:\/\/aceautomation.eu\/digital-inputs-how-to-wire-digital-inputs-of-ace-plc\/"},"modified":"2018-07-27T11:42:45","modified_gmt":"2018-07-27T09:42:45","slug":"digital-inputs-how-to-wire-digital-inputs-of-ace-plc","status":"publish","type":"page","link":"https:\/\/aceautomation.eu\/es\/digital-inputs-how-to-wire-digital-inputs-of-ace-plc\/","title":{"rendered":"Digital Inputs \u2013 How to Wire Digital Inputs of Ace PLC"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; _builder_version=&#8221;3.5.1&#8243;][et_pb_row _builder_version=&#8221;3.5.1&#8243;][et_pb_column type=&#8221;4_4&#8243;][et_pb_text _builder_version=&#8221;3.5.1&#8243;]<\/p>\n<h1>Digital Inputs \u2013 How to Wire Digital Inputs of Ace PLC<\/h1>\n<p>All Ace PLCs accept some number of digital inputs. Digital inputs sense binary status, such as on\/off, switch open\/closed, etc.<\/p>\n<p>The Ace PLC can interface any DC voltage signal between 3 and 30VDC. Typical system designs utilize 5V, 12V or 24VDC power supplies, which are all within the Ace\u2019s signal range.<\/p>\n<div class='et-box et-warning'>\n\t\t\t\t\t<div class='et-box-content'>Do not connect external power to the voltage pin (pin 8) on the digital input port<\/div><\/div>\n<p>Any connection to DC voltage between 3 and 30VDC is sensed as a \u20181\u2019. Any connection to ground (or voltage below 0.8VDC) or an open connection is sensed as \u20180\u2019. The ground reference of the signal must be connected to the ground terminal pin next to signal 1, or to the PLC\u2019s input power ground.<br \/>\nThe figure on the right shows a variety of typical digital input signals that may be connected to Ace digital inputs. Some of the more common ones include :<\/p>\n<table style=\"height: 0px;\" width=\"100%\">\n<tbody>\n<tr>\n<td style=\"width: 44.1483%;\"><img decoding=\"async\" class=\"alignnone wp-image-4961\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/switch_icone.png\" alt=\"\" width=\"100\" height=\"22\" \/><br \/>\nSwitches, buttons, limit switches, etc.. :<br \/>\nConnect one side to positive DC power (from a supply whose ground is connected to the PLC ground)<br \/>\nConnect the other side of the switch to the digital input<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-4962\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/transistor_icone.png\" alt=\"\" width=\"101\" height=\"24\" \/><br \/>\nTransistor signal or Encoders<br \/>\nFor transistor signals that supply voltage when on : connect sensor output to digital input<br \/>\nFor transistor signals that switch to ground when on : connect to sensor output to digital inputs &amp; if input device does not pull high when inactive, also pull up to positive voltage through a pull up resistor<\/p>\n<p>Logic level signals<br \/>\nMake sure that the signal\u2019s ground reference is connected to the PLC ground. Connect of input.<br \/>\nMake sure that the signal switches high and low.<\/td>\n<td style=\"width: 44.8517%;\"><img decoding=\"async\" class=\"aligncenter wp-image-2565 size-full\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/digital_inputs.png\" alt=\"digital_inputs\" width=\"615\" height=\"568\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The last pin on each digital input port connector provides a voltage (connected to the 5V power input, through a 10 ohm resistor and a diode) which is used by the Optocouple Input Terminal modules. It can also be used to supply \u201cwetting voltage\u201d to dry contact inputs.<\/p>\n<h2>Plugs wiring<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-5453\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/connector_input_output_wire.png\" alt=\"\" width=\"648\" height=\"159\" \/><\/p>\n<h2>Wiring the NPN Input of my Ace PLC to Dry Contact (Push Button, Contact,..)<\/h2>\n<h3>With External Voltage<\/h3>\n<p>Nothing on the (+) of the Ace PLC.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-5456\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/input_plc_dry_contact.png\" alt=\"\" width=\"337\" height=\"278\" \/><\/p>\n<h3>With Voltage Provide by the Ace PLC<\/h3>\n<p>5 VDC is only for dry contact and for &#8220;wet&#8221; lead wire. Do not use it to power anything.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-5451\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/input_plc_dry_contact_5v.png\" alt=\"\" width=\"337\" height=\"239\" \/><\/p>\n<h2>Wiring the NPN Input of my Ace PLC to Encoder or PNP Device<\/h2>\n<h3>Device With Internal Pull-up Resistor<\/h3>\n<h3><img decoding=\"async\" class=\"alignnone size-full wp-image-5452\" style=\"font-size: 16px;\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/input_plc_encoder_pnp.png\" alt=\"\" width=\"337\" height=\"276\" \/><\/h3>\n<h3>Device Without Internal Pull-up Resistor<\/h3>\n<p>Some entry-level devices do not include a pull-up resistor.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-5449\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/input_plc_encoder_pnp_with_pullup_resistor.png\" alt=\"\" width=\"337\" height=\"276\" \/><\/p>\n<p>Internally, as part of the protection circuit, each digital input is pulled to ground through a 10K ohm resistor. This pull down resistor ensures that the digital input shows up as inactive when nothing is connected or the connection just sources voltage when it is active.<\/p>\n<p>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 &#8211; which can be a problem.<\/p>\n<table style=\"height: 0px; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 55.7883%;\">To alleviate this situation, vBuilder has an option to allow you to set a debounce time on digital inputs. A debounced digital input will not report a change of state until that change has been continuous for the set debounce time.<\/td>\n<td style=\"width: 42.8804%;\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/vbuilder_digital_input_bit.png\" alt=\"vbuilder_digital_input_bit\" width=\"500\" height=\"106\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 98.6688%;\" colspan=\"2\">\u00a0Note that debounce does not apply to inputs configured as high speed pulse counter inputs.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Using vBuilder, 3 high speed pulse counters can be configured for basic high speed pulse counting (one digital input), or quadrature pulse counting (two digital inputs). The same signal level requirements apply, as listed above. For digital inputs that are AC signals, the Ace\u2019s digital input ports can be connected to Velocio Optocoupled Input Terminal Block modules. These modules interface 24VAC or 120VAC signals. 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.<\/p>\n<p style=\"text-align: right;\">Find this information in the <a href=\"http:\/\/velocio.net\/AceDatasheet.pdf\" target=\"_blank\" rel=\"noopener\">Ace User Guide<\/a><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Digital Inputs \u2013 How to Wire Digital Inputs of Ace PLC All Ace PLCs accept some number of digital inputs. Digital inputs sense binary status, such as on\/off, switch open\/closed, etc. The Ace PLC can interface any DC voltage signal between 3 and 30VDC. Typical system designs utilize 5V, 12V or 24VDC power supplies, which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_et_pb_use_builder":"on","_et_pb_old_content":"Digital Inputs \u2013 How to Wire Digital Inputs of Ace PLC.","_et_gb_content_width":"","footnotes":""},"class_list":["post-7252","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/pages\/7252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/comments?post=7252"}],"version-history":[{"count":3,"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/pages\/7252\/revisions"}],"predecessor-version":[{"id":17541,"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/pages\/7252\/revisions\/17541"}],"wp:attachment":[{"href":"https:\/\/aceautomation.eu\/es\/wp-json\/wp\/v2\/media?parent=7252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}