Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 35 of 38

DL06 Micro PLC User Manual, Volume 2 of 2, pages 340 to 349

Pages 340 to 349 of 370

The original document is the PDF (6.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the AutomationDirect Direct Logic DL06

Page 340

Appendix I: Numbering Systems

Signed vs. Unsigned Integers

1 2 3 4 E 6 7 H I 10 11 12 13 14 A B C D I–8

So far, we have dealt with unsigned data types only. Now we will deal with signed data types (negative numbers). The BCD and hexadecimal numbering systems do not use signed data types. In order to signify that a number is negative or positive, we must assign a bit to it. Usually, this is the Most Significant Bit (MSB) as shown in Table 10. For a 16-bit number, this is bit 15. This means that for 16-bit numbers we have a range of -32767 to 32767. Bit # 15

14

13

12

11

10

9

8

7

6

5

MSB

4

3

2

1

0 LSB

Table 10 There are two ways to encode a negative number: two’s complement and Magnitude Plus sign. The two methods are not compatible. The simplest method to represent a negative number is to use one bit of the PLC word as the sign of a number while the remainder of the word gives its magnitude. It is general convention to use the most significant bit (MSD) as the sign bit: a 1 will indicate a negative, and a 0 a positive number. Thus, a 16 bit word allows numbers in the range ±32767. Table 12 shows a representations of 100 and a representation of -100 in this format. Magnitude Plus Sign Decimal Binary 100 -100

0000 0000 0110 0100 1000 0000 0110 0100

Table 11 Two’s complement is a bit more complicated. Without getting involved with a full explanation, a simple formula for two’s complement is to invert the binary and add one (see Table 12). Basically, 1’s are being changed to 0’s and all 0’s are being changed to 1.

Decimal 100 -100

Two’s Compliment Binary 0000 0000 0110 0100 1111 1111 1001 1100

Table 12 More information about 2’s complement can be found on the Internet at the following websites: http://www.evergreen.edu/biophysics/technotes/program/2s_comp.htm

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 341

Appendix I: Numbering Systems

AutomationDirect.com Products and Data Types

1 The DirectLOGIC PLC family uses the octal numbering system for all addressing which 2 includes: inputs, outputs, internal V-memory locations, timers, counters, internal control relays (bits), etc. Most data in the PLC, including timer and counter current values, is in 3 BCD format by default. User data in V-memory loacations may be stored in other data types if it is changed by the programmer, or comes from some external source, such as an operator interface. Any manipulation of data must use instructions appropriate for that data type 4 which includes: Load instructions, Math instructions, Out box instructions, comparison instructions, etc. In many cases, the data can be changed from one data type to another, but E be aware of the limitations of the various data types when doing so. For example, to change a value from BCD to decimal (binary), use a BIN instruction box. To change from BCD to a real number, use a BIN and a BTOR instruction box. When using Math instructions, the 6 data types must match. For example, a BCD or decimal (binary) number cannot be added to a real number, and a BCD number cannot be added to a decimal (binary) number. If the data 7 types are mismatched, the results of any math operation will be meaningless. To simplify making, number conversions Intelligent Box (IBox) Instructions are avaialable H with DirectSOFT 5. These instruction descriptions are located in Volume 1, page 5-230, in the Math IBox group. Most DirectLOGIC analog modules can be setup to give the raw data in decimal (binary) I format or in BCD format, so it is necessary to know how the module is being used. DirectLOGIC PID is another area where not all values are in BCD. In fact, nearly all of the 10 PID parameters are stored in the PLC memory as decimal (binary) numbers. NOTE: The PID algorithm uses magnitude plus sign for negative decimal (binary) numbers, whereas the 11 standard math functions use two’s complement. This can cause confusion while debugging a PID loop. When using the Data View in DirectSOFT 5, be certain that the proper format is selected for 12 the element to be viewed. The data type and length is selected using the drop-down boxes at the top of the Data View window. Also notice that BCD is called BCD/Hex. Remember that 13 BCD is a subset of hexadecimal so they share a display format even though the values may be different. This is where good documentation of the data type stored in memory is crucial. 14 C-more/C-more Micro-Graphic Panels In the C-more and C-more Micro-Graphic HMI operator panels, the 16-bit BCD format is A listed as “BCD int 16”. Binary format is either “Unsigned int 16” or “Signed int 16” depending on whether or not the value can be negative. Real number format is “Floating PT 32”. B More available formats are, “BCD int 32”, “Unsigned int 32” and “Signed int 32”. C D DirectLOGIC PLCs

DL06 Micro PLC User Manual, 3rd Edition Rev. A

I–9

Page 342

EUROPEAN UNION DIRECTIVES (CE)

ENDIX A PPENDIX

J

In This Appendix... European Union (EU) Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . .J-2 Basic EMC Installation Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . .J-4

Page 343

Appendix J: European Union Directives (CE)

European Union (EU) Directives

1 2 3 4 5 H 7 10 9 10 J 12 13 14 A B C D

NOTE: The information contained in this section is intended as a guideline and is based on our interpretation of the various standards and requirements. Since the actual standards are issued by other parties, and in some cases governmental agencies, the requirements can change over time without advance warning or notice. Changes or additions to the standards can possibly invalidate any part of the information provided in this section.

This area of certification and approval is absolutely vital to anyone who wants to do business in Europe. One of the key tasks that faced the EU member countries and the European Economic Area (EEA) was the requirement to bring several similar yet distinct standards together into one common standard for all members. The primary purpose of a single standard was to make it easier to sell and transport goods between the various countries and to maintain a safe working and living environment. The Directives that resulted from this merging of standards are now legal requirements for doing business in Europe. Products that meet these Directives are required to have a CE mark to signify compliance.

Member Countries As of January 1, 2007, the members of the EU are Austria, Belgium, Bulgaria, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithonia, Luxembourg, Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, and United Kingdom. Iceland, Liechtenstein, and Norway together with the EU members make up the European Economic Area (EEA) and all are covered by the Directives.

Applicable Directives There are several Directives that apply to our products. Directives may be amended, or added, as required. • Electromagnetic Compatibility Directive (EMC), this Directive attempts to ensure that devices, equipment, and systems have the ability to function satisfactorily in an electromagnetic environment without introducing intolerable electromagnetic disturbance to anything in that environment. • Machinery Safety Directive, this Directive covers the safety aspects of the equipment, installation, etc. There are several areas involved, including testing standards covering both electrical noise immunity and noise generation. • Low Voltage Directive, this Directive is also safety related and covers electrical equipment that has voltage ranges of 50–1000VAC and/or 75–1500VDC. • Battery Directive, this Directive covers the production, recycling, and disposal of batteries.

Compliance Certain standards within each Directive already require mandatory compliance. The EMC Directive, which has gained the most attention, became mandatory as of January 1, 1996. The Low Voltage Directive became mandatory as of January 1, 1997. Ultimately, we are all responsible for our various pieces of the puzzle. As manufacturers, we must test our products and document any test results and/or installation procedures that are necessary to comply with the Directives. As a machine builder, you are responsible for

J-2

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 344

Appendix J: European Union Directives (CE) installing the products in a manner which will ensure compliance is maintained. You are also responsible for testing any combinations of products that may (or may not) comply with the Directives when used together. The end user of the products must comply with any Directives that may cover maintenance, disposal, etc. of equipment or various components. Although we strive to provide the best assistance available, it is impossible for us to test all possible configurations of our products with respect to any specific Directive. Because of this, it is ultimately your responsibility to ensure that your machinery (as a whole) complies with these Directives and to keep up with applicable Directives and/or practices that are required for compliance. As of January 1, 1999, the DL05, DL06, DL205, DL305, and DL405 PLC systems manufactured by Koyo Electronics Industries or FACTS Engineering, when properly installed and used, conform to the Electromagnetic Compatibility (EMC), Low Voltage Directive, and Machinery Directive requirements of the following standards.

1 2 3 4 5 • EMC Directive Standards Relevant to PLCs EN50081–1 Generic emission standard for residential, commercial, and light industry H EN50081–2 Generic emission standard for industrial environment. EN50082–1 Generic immunity standard for residential, commercial, and light industry EN50082–2 Generic immunity standard for industrial environment. 7 • Low Voltage Directive Standards Applicable to PLCs EN61010–1 Safety requirements for electrical equipment for measurement, control, and laboratory 10 use. • Product Specific Standard for PLCs EN61131–2 Programmable controllers, equipment requirements and tests. This standard replaces 9 the above generic standards for immunity and safety. However, the generic emissions standards must still be used in conjunction with the following standards: 10 -EN 61000-3-2 Harmonics -EN 61000-3-2 Fluctuations • Warning on Electrostatic Discharge (ESD) J We recommend that all personnel take necessay precautions to avoid the risk of transferring static charges to inside the control cabinet, and clear warnings and instructions should be 12 provided on the cabinet exterior. Such precautions may include, the use of earth straps, simila devices or the powering off of the equipment inside the enclosure before the door is opened. • Warning on Radio Interference (RFI) 13 This is a class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures. 14 General Safety • External switches, circuit breaker or external fusing, are required for thes devices. A • The switch or circuit breaker should be mounted near the PLC equipment. AutomationDirect is currently in the process of changing their testing procedures from the B generic standards to the product specific standards. C D DL06 Micro PLC User Manual, 3rd Edition Rev. A

J-3

Page 345

Appendix J: European Union Directives (CE)

Special Installation Manual The installation requirements to comply with the requirements of the Machinery Directive, 1 EMC Directive and Low Voltage Directive are slightly more complex than the normal installation requirements found in the United States. To help with this, we have published a special manual which you can order: 2 • DA–EU–M – EU Installation Manual that covers special installation requirements to meet the EU Directive requirements. Order this manual to obtain the most up-to-date information. 3 Other Sources of Information Although the EMC Directive gets the most attention, other basic Directives, such as the 4 Machinery Directive and the Low Voltage Directive, also place restrictions on the control panel builder. Because of these additional requirements it is recommended that the following 5 publications be purchased and used as guidelines: • BSI publication TH 42073: February 1996 – covers the safety and electrical aspects of the Machinery Directive H • EN 60204–1:1992 – General electrical requirements for machinery, including Low Voltage and EMC considerations 7 • IEC 1000–5–2: EMC earthing and cabling requirements • IEC 1000–5–1: EMC general considerations 10 It may be possible for you to obtain this information locally; however, the official source of applicable Directives and related standards is: 9 The Office for Official Publications of the European Communities L–2985 Luxembourg; quickest contact is via the World Wide Web at http://euro–op.eu.int/indexn.htm 10 Another source is: British Standards Institution – Sales Department J Linford Wood Milton Keynes 12 MK14 6LE 13 United Kingdom; the quickest contact is via the World Wide Web at http://www.bsi.org.uk 14 Basic EMC Installation Guidelines Enclosures A The simplest way to meet the safety requirements of the Machinery and Low Voltage Directives is to house all control equipment in an industry standard lockable steel enclosure. B This normally has an added benefit because it will also help ensure that the EMC characteristics are well within the requirements of the EMC Directive. Although the RF emissions from the PLC equipment, when measured in the open air, are well below the EMC C Directive limits, certain configurations can increase emission levels. Holes in the enclosure, for the passage of cables or to mount operator interfaces, will often increase emissions. D

J-4

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 346

Appendix J: European Union Directives (CE)

AC Mains Filters The DL305 AC powered base power supplies require extra mains filtering to comply with the EMC Directive on conducted RF emissions. All PLC equipment has been tested with filters from Schaffner, which reduce emissions levels if the filters are properly grounded (earth ground). A filter with a current rating suitable to supply all PLC power supplies and AC input modules should be selected. We suggest the FN2080 for DL305 systems.

1 2 3 4 5 H NOTE: Very few mains filters can reduce problem emissions to negligible levels. In some cases, filters may 7 increase conducted emissions if not properly matched to the problem emissions. 10 Suppression and Fusing In order to comply with the fire risk requirements of the Low Voltage and Machinery 9 Directive electrical standards EN 61010–1, and EN 60204–1, by limiting the power into “unlimited” mains circuits with power leads reversed, it is necessary to fuse both AC and DC supply inputs. You should also install a transient voltage suppressor across the power input 10 connections of the PLC. Choose a suppressor such as a metal oxide varistor, with a rating of 275VAC working voltage for 230V nominal supplies (150VAC working voltage for 115V J supplies) and high energy capacity (eg. 140 joules). Transient suppressors must be protected by fuses and the capacity of the transient suppressor 12 must be greater than the blow characteristics of the fuses or circuit breakers to avoid a fire risk. A recommended AC supply input arrangement for Koyo PLCs is to use twin 3 amp TT fused terminals with fuse blown indication, such as DINnectors DN–F10L terminals, or twin 13 circuit breakers, wired to a Schaffner FN2010 filter or equivalent, with high energy transient suppressor soldered directly across the output terminals of the filter. PLC system inputs 14 should also be protected from voltage impulses by deriving their power from the same fused, filtered, and surge-suppressed supply. A Internal Enclosure Grounding A heavy-duty star earth terminal block should be provided in every cubicle for the connection B of all earth ground straps, protective earth ground connections, mains filter earth ground wires, and mechanical assembly earth ground connections. This should be installed to comply with safety and EMC requirements, local standards, and the requirements found in IEC C 1000–5–2.The Machinery Directive also requires that the common terminals of PLC input modules, and common supply side of loads driven from PLC output modules should be D connected to the protective earth ground terminal. Filter

Schaf fner FN2010

Transient Suppressor

To AC Input Circuitry

Fused Terminals

Earth Terminal

L N

DL06 Micro PLC User Manual, 3rd Edition Rev. A

J-5

Page 347

Appendix J: European Union Directives (CE)

Equi–potential Grounding

1 2 3 4 5 H 7 10 9 10 J 12 13 14 A B C D

Key

Serial Communication Cable Equi-potential Bond

Adequate site earth grounding must be provided for equipment containing modern electronic circuitry. The use of isolated earth electrodes for electronic systems is forbidden in some countries. Make sure you check any requirements for your particular destination. IEC 1000–5–2 covers equi-potential bonding of earth grids adequately, but special attention should be given to apparatus and control cubicles that contain I/O devices, remote I/O racks, or have inter-system communications with the primary PLC system enclosure. An equipotential bond wire must be provided alongside all serial communications cables, and to any separate items of the plant which contain I/O devices connected to the PLC. The diagram shows an example of four physical locations connected by a communications cable.

Communications and Shielded Cables Screened Cable

Conductive Adapter Serial I/O

To Earth Block Equi-potential Bond Control Cubicle

Good quality 24 AWG minimum twisted-pair shielded cables, with overall foil and braid shields are recommended for analog cabling and communications cabling outside of the PLC enclosure. To date it has been a common practice to only provide an earth ground for one end of the cable shield in order to minimize the risk of noise caused by earth ground loop currents between apparatus. The procedure of only grounding one end, which primarily originated as a result of trying to reduce hum in audio systems, is no longer applicable to the complex industrial environment. Shielded cables are also efficient emitters of RF noise from the PLC system, and can interact in a parasitic manner in networks and between multiple sources of interference.

J-6

DL06 Micro PLC User Manual, 3rd Edition Rev. A

Page 348

Appendix J: European Union Directives (CE) The recommendation is to use shielded cables as electrostatic “pipes” between apparatus and systems, and to run heavy gauge equi-potential bond wires alongside all shielded cables. When a shielded cable runs through the metallic wall of an enclosure or machine, it is recommended in IEC 1000–5–2 that the shield should be connected over its full perimeter to the wall, preferably using a conducting adapter, and not via a pigtail wire connection to an earth ground bolt. Shields must be connected to every enclosure wall or machine cover that they pass through.

1 2 3 Analog and RS232 Cables Providing an earth ground for both ends of the shield for analog circuits provides the perfect 4 electrical environment for the twisted pair cable as the loop consists of signal and return, in a perfectly balanced circuit arrangement, with connection to the common of the input circuitry made at the module terminals. RS232 cables are handled in the same way. 5 Multidrop Cables H RS422 twin twisted pair, and RS485 single twisted pair cables also require a 0V link, which has often been provided in the past by the cable shield. It is now recommended that you use triple twisted pair cabling for RS422 links, and twin twisted pair cable for RS485 links. This 7 is because the extra pair can be used as the 0V inter-system link. With loop DC power supplies earth grounded in both systems, earth loops are created in this manner via the inter10 system 0v link. The installation guides encourage earth loops, which are maintained at a low impedance by using heavy equi-potential bond wires. To account for non–European installations using single-end earth grounds, and sites with far from ideal earth ground 9 characteristics, we recommend the addition of 100 ohm resistors at each 0V link connection in network and communications cables. 10 J 12 13 Shielded Cables within Enclosures When you run cables between PLC items within an enclosure which also contains susceptible electronic equipment from other manufacturers, remember that these cables may be a source 14 of RF emissions. There are ways to minimize this risk. Standard data cables connecting PLCs and/or operator interfaces should be routed well away from other equipment and their A associated cabling. You can make special serial cables where the cable shield is connected to the enclosure’s earth ground at both ends, the same way as external cables are connected. B C D Last Slave

TXD 0V RXD + – + –

100 ⏲

Slave n

Master

TXD 0V RXD + – + –

RXD 0V TXD + – + –

100 ⏲

100 ⏲

Termination

Termination

DL06 Micro PLC User Manual, 3rd Edition Rev. A

J-7

Page 349

Appendix J: European Union Directives (CE)

Analog Modules and RF Interference All Automationdirect products are tested to withstand field strength levels up to 10V/m, which is the maximum required by the relevant EU standards. While all products passs this test, analog modules will typically exhibit deviations of their readings. This is quite normal, however, systems designers should be aware of this and plan accordingly. When assembling a control system using analog modules, these issues must be adhered to and should be integrated into the system design. This is the responsibility of the system builder/commissioner.

1 2 3 4 5 H 7 10 9 10 J 12 13 14 A B C D

Network Isolation For safety reasons, it is a specific requirement of the Machinery Directive that a keyswitch must be provided that isolates any network input signal during maintenance, so that remote commands cannot be received that could result in the operation of the machinery. The FA–ISONET does not have a keyswitch! Use a keylock and switch on your enclosure which when open removes power from the FA–ISONET. To avoid the introduction of noise into the system, any keyswitch assembly should be housed in its own earth grounded steel box and the integrity of the shielded cable must be maintained. Again, for further information on EU directives we recommend that you get a copy of our EU Installation Manual (DA–EU–M). Also, if you are connected to the World Wide Web, you can check the EU Commision’s official site at: http://ec.europa.eu/index_en.htm.

DC Powered Versions Due to slightly higher emissions radiated by the DC powered versions of the DL06, and the differing emissions performance for different DC supply voltages, the following stipulations must be met: • The PLC must be housed within a metallic enclosure with a minimum amount of orifices. • I/O and communications cabling exiting the cabinet must be contained within metallic conduit/trunking.

1.5" 38mm min

1.5" 38mm min

1.5" 38mm min

J-8

DL06 Micro PLC User Manual, 3rd Edition Rev. A