{"id":7306,"date":"2018-06-06T15:20:05","date_gmt":"2018-06-06T15:20:05","guid":{"rendered":"https:\/\/aceautomation.eu\/how-to-wire-the-digital-outputs-of-the-ace-plc\/"},"modified":"2018-07-18T15:17:16","modified_gmt":"2018-07-18T13:17:16","slug":"how-to-wire-the-digital-outputs-of-the-ace-plc","status":"publish","type":"page","link":"https:\/\/aceautomation.eu\/de\/how-to-wire-the-digital-outputs-of-the-ace-plc\/","title":{"rendered":"How to Wire the Digital Outputs of the Ace PLC"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;3.0.47&#8243;][et_pb_row _builder_version=&#8221;3.0.47&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text _builder_version=&#8221;3.5.1&#8243;]<\/p>\n<h1>How to Wire the Digital Outputs of the Ace PLC ?<\/h1>\n<h2>About outputs of the Ace PLCs<\/h2>\n<h3>Ace digital outputs are Sinking\/NPN transistor outputs<img decoding=\"async\" class=\"wp-image-4227 alignright\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/Wiring-output.png\" alt=\"\" width=\"223\" height=\"182\" \/><\/h3>\n<p>Which means that they provide the ground connection turn on a load. When switched on under program control, they complete the circuit to turn on any connected DC device up to 30VDC and 300mA.<\/p>\n<div class=\"et-fb-loader\" style=\"position: relative; margin-bottom: 40px;\"><\/div>\n<p>All loads connected to a digital output port should be connected to the same DC supply. The load power supply ground must be connected to the ground (next to signal 1) of the output port.<\/p>\n<div class=\"et-fb-loader\" style=\"position: relative; margin-bottom: 40px;\"><\/div>\n<h2>About NPN (Sinking) and PNP (Sourcing) for Inputs\/Outputs<\/h2>\n<div class=\"et-fb-loader\" style=\"position: relative; margin-bottom: 40px;\"><\/div>\n<h3>Inputs NPN and PNP :<\/h3>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 48.9825%;\">\n<p>NPN (Sinking) Inputs = <strong>Ace PLCs Inputs<\/strong> =\u00a0Positive logic<\/p>\n<ul>\n<li>Apply from\u00a0VDC (+)\u00a0on\u00a0<span style=\"color: #ff6600;\">her input<\/span><\/li>\n<li>Common = <span style=\"color: #0000ff;\">GND (-)<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 49.0175%;\">\u00a0\u00a0<img decoding=\"async\" class=\"size-full wp-image-5435 alignleft\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/NPN-Sinking-Inputs.png\" alt=\"\" width=\"166\" height=\"94\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 48.9825%;\">\n<p>PNP (Sourcing) Inputs\u00a0=\u00a0Negative logic<\/p>\n<ul>\n<li>Apply from GND (-) on <span style=\"color: #ff6600;\">her input<\/span><\/li>\n<li>Common = <span style=\"color: #0000ff;\">VDC (+)<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 49.0175%;\">\u00a0<img decoding=\"async\" class=\"size-full wp-image-5437 alignleft\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/PNP-Sourcing-Inputs.png\" alt=\"\" width=\"166\" height=\"93\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Outputs NPN and PNP :<\/h3>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 48.9858%;\">\n<p>NPN (Sinking) Outputs\u00a0= <strong>Ace PLCs Outputs<\/strong>\u00a0=\u00a0Negative logic<\/p>\n<ul>\n<li>Your device is connected\u00a0on<span style=\"color: #008000;\">\u00a0her output<\/span>\u00a0AND on\u00a0VDC (+)<\/li>\n<li>Common =\u00a0<span style=\"color: #0000ff;\">GND (-)<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 49.0142%;\"><img decoding=\"async\" class=\"size-full wp-image-5436 alignleft\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/NPN-Sinking-Outputs.png\" alt=\"\" width=\"178\" height=\"93\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 48.9858%;\">\n<p>PNP (Sourcing) Outputs\u00a0=\u00a0Positive logic<\/p>\n<ul>\n<li>Your device is connected on\u00a0<span style=\"color: #008080;\">her output<\/span>\u00a0AND on\u00a0GND (-)<\/li>\n<li>Common =\u00a0<span style=\"color: #0000ff;\">VDC (+)<\/span><\/li>\n<\/ul>\n<\/td>\n<td style=\"width: 49.0142%;\"><img decoding=\"async\" class=\"size-full wp-image-5434 alignleft\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/PNP-Sourcing-Outputs.png\" alt=\"\" width=\"174\" height=\"94\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table style=\"width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 67.1376%;\">\n<h2>How does outputs work ?<\/h2>\n<p>Each output is connected, through a 33K ohm resistor to the VO terminal pin (next to output 6). This acts as a weak pull up. When the output is off (logic state 0), the output will be pulled up to the voltage at the\u00a0VO\u00a0terminal.<\/p>\n<p>If no power supply connection is made to the VO terminal, the voltage at the VO terminal will come through a 10 ohm resistor and an isolation diode, resulting in a voltage approximately 0.7V below the 5V supply to the PLC. This is enough to allow the PLC outputs to directly interface TTL circuits.<\/p>\n<p>If voltage is connected from an external source to the VO terminal, inactive outputs will pull up to the external source voltage.<\/p>\n<p>If AC power, or higher power DC needs to be switched, the Ace\u2019s digital output ports can be connected to a Relay Terminal Block module, through a short standard cable, supplied with the module. With a Relay module, up to 250VAC and 5 Amps can be switched under program control. The cable diagram connection to the PLC digital output port pluggable connector is illustrated in the Relay Terminal Block module documentation.<\/p>\n<\/td>\n<td style=\"width: 29.8624%;\"><img decoding=\"async\" class=\"alignright wp-image-3854 \" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/digital_outputs_vo.png\" alt=\"\" width=\"368\" height=\"488\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Plugs wiring<\/h2>\n<h2><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\" \/><\/h2>\n<h2>Wiring the NPN Output of my Ace PLC to Relay<\/h2>\n<h2><img decoding=\"async\" class=\"alignnone size-full wp-image-5444\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/output_plc_to_relay.png\" alt=\"\" width=\"351\" height=\"277\" \/><\/h2>\n<h2>Wiring the NPN Output of my Ace PLC to Indicator Light<\/h2>\n<h2><img decoding=\"async\" class=\"alignnone size-full wp-image-5448\" style=\"font-size: 16px;\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/output_plc_to_light.png\" alt=\"\" width=\"331\" height=\"277\" \/><\/h2>\n<h2>Wiring the NPN Output of my Ace PLC to a PNP Input Device<\/h2>\n<p>You can add our\u00a0<strong>Optocoupled Sourcing Transistor Board TBTN06-35H<\/strong> (see our Shop page)<\/p>\n<p>Or&#8230; Add a pullup resistor of 2.2 k\u03a9&#8230; But in this case the logic will be inversed.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-5446\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/Pull_up_resitor_output_plc_npn_pnp.png\" alt=\"\" width=\"331\" height=\"277\" \/><\/p>\n<p>For reverse the logic of output in your program, add this program (example for outputs D and E outputs) at the beginning of your main program:<\/p>\n<p>Here, we reverse the logic of 12 outputs (D1..D6 and E1..E6) by additing 255 with the Xor function of the Calculator tool.<\/p>\n<p>You can named each &#8220;ROutBitXn&#8221; by any name you want.<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-5391 alignnone\" src=\"http:\/\/aceautomation.eu\/wp-content\/uploads\/reverse_output_in_program.png\" alt=\"\" width=\"480\" height=\"716\" \/><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Wire the Digital Outputs of the Ace PLC ? About outputs of the Ace PLCs Ace digital outputs are Sinking\/NPN transistor outputs Which means that they provide the ground connection turn on a load. When switched on under program control, they complete the circuit to turn on any connected DC device up to [&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":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-7306","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/comments?post=7306"}],"version-history":[{"count":3,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7306\/revisions"}],"predecessor-version":[{"id":17205,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7306\/revisions\/17205"}],"wp:attachment":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/media?parent=7306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}