Spartan Arduino PLC 16RDA User Manual

Spartan Arduino PLC 16RDA

SPARTAN ARDUINO PLC 16RDAPLC ARDUINO SPARTAN

Ref. 017001001300

Rev.0: 23-06-2020

1

Ref. 017001001300

Rev.0: 23-06-2020

SPARTAN ARDUINO PLC RELAY

Revised June 2020This user guide is for version Spartan Arduino PLC 16RDA, with Reference name Ref. 017001001300 .

2

Ref. 017001001300Preface

Rev.0: 23-06-2020

This User Guide is been implemented by Boot & Work, S.L. working under the name Industrial Shields.

Purpose of the manualThe information contained in this manual can be used as a reference to operating, to functions, and to the technical data of the signal modules, power supply modules and interface modules.

Intended AudienceThis User Guide is intended for the following audience:· Persons in charge of introducing automation devices. · Persons who design automation systems. · Persons who install or connect automation devices. · Persons who manage working automation installation.

Warnings:· Unused pins should not be connected. Ignoring the directive may damage the controller.· Improper use of this product may severely damage the controller. · Refer to the controller’s User Guide regarding wiring considerations. · Before using this product, it is the responsibility of the user to read the product’s UserGuide and all accompanying documentation. · Maintenance must be performed by qualified personnel familiarized with theconstruction, operation, and hazards involved with the control. · Maintenance should be performed with the control out of operation anddisconnected from all sources of power. · Care should be taken when servicing electrostatic sensitive components. Themanufacturer’s recommendations for these components should be followed. · The Spartan Arduino Family PLCs are Open Type Controllers. It is required that youinstall the Spartan Arduino PLC in a housing, cabinet, or electric control room. Entry to3

Ref. 017001001300

Rev.0: 23-06-2020

the housing, cabinet, or electric control room should be limited to authorized personnel. Failure to follow these installation requirements could result in severe personal injury and/or property damage. Always follow these requirements when Spartan Arduino family PLCs. · In case of installation or maintenance of the Spartan Arduino PLC please follow the instructions marked in the Installation and Maintenance section. · Do not disconnect equipment when a flammable or combustible atmosphere is present. Disconnection of equipment when a flammable or combustible atmosphere is present may cause a fire or explosion which could result in death, serious injury and/or property damage.

Avertissements:· Les broches non utilisées ne doivent pas être connectées. Ignorer la directive peut endommager le contrôleur.· Une utilisation incorrecte de ce produit peut endommager gravement le contrôleur. · Reportez-vous au Guide de l’utilisateur du contrôleur pour les considérations decâblage. · Avant d’utiliser ce produit, il incombe à l’utilisateur de lire le Guide de l’utilisateur duproduit et la documentation qui l’accompagne. · La maintenance doit être effectuée par personnel qualifié familiarisé avec lafabrication, le fonctionnement et les dangers liés au contrôleur. · La maintenance doit être effectuée avec l’équipement hors service et déconnectée detoutes les sources d’alimentation. · Faites attention lors de l’entretien des composants sensibles à l’électricité statique.Les recommandations du fabricant pour ces composants doivent être suivies. · Les automates de la famille Spartan sont des contrôleurs de type ouvert. Il estnécessaire d’installer l’automate Spartan dans un boîtier, une armoire ou une salle de contrôle électrique. L’accès au boîtier, à l’armoire ou à la salle de commande électrique doit être limité au personnel autorisé. Le non-respect de ces exigences d’installation peut entraîner des blessures graves et/ou des dommages matériels importants. Respectez toujours ces exigences lors de l’installation des automates de la famille Spartan. · En cas d’installation ou de maintenance du Spartan, veuillez suivre les instructions indiquées dans la section Installation et Maintenance. · Ne débranchez pas l’équipement en présence d’une atmosphère inflammable ou combustible. La déconnexion de l’équipement en présence d’une atmosphère inflammable ou combustible peut provoquer un incendie ou une explosion pouvant entraîner la mort, des blessures graves et/ou des dommages matériels.4

Ref. 017001001300

Rev.0: 23-06-2020

Application Considerations and WarrantyRead and Understand this ManualPlease read and understand this manual before using the product. Please consult your comments or questions to Industrial Shields before using the product.

Application ConsiderationTHE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED. THEY SHOULD NOT BE RELIED UPON AS A SAFETY COMPONENT OR PROTECTIVE DEVICE FOR ENSURING SAFETY OF PERSONS, AS THEY ARE NOT RATED OR DESSIGNED FOR SUCH PURPOSES.Please know and observe all prohibitions of use applicable to the products.FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESSIGNED TO ADDRESS THE RISKS, NEVER USE THE INDUSTRIAL SHIELDS PRODUCTS.NEVER USE THE INDUSTRIAL SHIELDS PRODUCTS BEFORE THEY ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.Industrial Shields shall not be responsible for conformity with any codes, regulations or standards that apply to the combination of products in the customer’s application or use of the product.The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses may be suitable for the products:· Systems, machines, and equipment that could present a risk to life or property. · Nuclear energy control systems, combustion systems, railroad systems,aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installation subject to separate industry or government regulations. · Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this document.At the customer’s request, INDUSTRIAL SHIELDS will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the system, machine, end product, or other application or use.

5

Ref. 017001001300

Rev.0: 23-06-2020

Intended use or of Industrial Shields productsConsider the following:Industrial Shields products should only be used for the cases of application foreseen in the catalogue and the associated technical documentation. If third-party products and components are used, they must have been recommended or approved by Industrial Shields.The correct and safe operation of the products requires that your transport, storage, installation, assembly, operation and maintenance have been carried out in a correct It must respect the permissible ambient conditions. You should also follow the indications and warnings that appear in the associated documentation.The product / system dealt with in this documentation should only be handled or manipulated by qualified personnel for the task entrusted and observing what is indicated in the documentation corresponding to it, particularly the safety instructions and warnings included in it. Due to their training and experience, qualified personnel are in a position to recognize risks resulting from the handling or manipulation of such products / systems and to avoid possible hazards.DisclaimersWeights and DimensionsDimensions and weights are nominal and they are not used for manufacturing purposes, even when tolerances are shown.Performance DataThe performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of INDUSTRIAL SHIELDS’s test conditions, and the users most correlate it to actual application requirements. Actual performance is subject to the INDUSTRIAL SHIELDS Warranty and Limitations of Liability.Change in SpecificationsProduct specifications and accessories may be changed at any time based on improvements and other reasons.It is our practice to change model numbers when features are changed, or published ratings or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special numbers may be assigned to fix or stablish key specifications for your application on your request. Please consult with your INDUSTRIAL SHIELDS representative at any time to confirm actual specifications of purchased products.

6

Ref. 017001001300

Rev.0: 23-06-2020

Errors and OmissionsThe information in this document has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.Residual RisksThe control and drive components of an Industrial Shields PLC are approved for industrial and commercial use in industrial line supplies. Their use in public line supplies requires a different configuration and/or additional measures. These components may only be operated in closed housings or in higher-level control cabinets with protective covers that are closed, and when all of the protective devices are used. These components may only be handled by qualified and trained technical personnel who are knowledgeable and observe all of the safety information and instructions on the components and in the associated technical user documentation. When carrying out a risk assessment of a machine in accordance with the EU Machinery Directive, the machine manufacturer must consider the following residual risks associated with the control and drive components of a PDS.1. Unintentional movements of driven machine components during commissioning, operation, maintenance, and repairs caused by, for example: – Hardware defects and/or software errors in the sensors, controllers, actuators, and connection technology – Response times of the controller and drive – Operating and/or ambient conditions not within the scope of the specification – Condensation / conductive contamination – Parameterization, programming, cabling, and installation errors – Use of radio devices / cellular phones in the immediate vicinity of the controller – External influences / damage.2. Exceptional temperatures as well as emissions of noise, particles, or gas caused by, for example: – Component malfunctions – Software errors – Operating and/or ambient conditions not within the scope of the specification – External influences / damage.3. Hazardous shock voltages caused by, for example: – Component malfunctions – Influence of electrostatic charging – Induction of voltages in moving motors – Operating and/or ambient conditions not within the scope of the specification – Condensation / conductive contamination – External influences / damage4. Electrical, magnetic and electromagnetic fields generated in operation that can pose a risk to people with a pacemaker, implants or metal replacement joints, etc. if they are too close.5. Release of environmental pollutants or emissions as a result of improper operation of the system and/or failure to dispose of components safely and correctly.

7

Ref. 017001001300

Rev.0: 23-06-2020

Warranty and Limitations of LiabilityWarrantyIndustrial Shields’s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by Industrial Shields.INDUSTRIAL SHIELDS MAKES NO REPRESENTATION OR WARRANTY, EXPRESSED OR IMPLIED, REGARDING MERCHANABILITY, NONINFRINGEMENT, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. INDUSTRIAL SHIELDS DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIEDLimitations of LiabilityINDUSTRIAL SHIELDS SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.IN NO EVENT SHALL INDUSTRIAL SHIELDS BE RESPONISBLE FOR WARRANTY, REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS INDUSTRIAL SHIELDS’S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPIATE MODIFICATION OR REPAIR.

8

Ref. 017001001300

Rev.0: 23-06-2020

Table of Contents1. Spartan Arduino PLC 16RDA: General Features……………………………………………….. 10 2. Technical Specifications ……………………………………………………………………………….. 11 2.1. General Specifications:………………………………………………………………………….. 112.2. Performance Specification: ……………………………………………………………………. 112.3. Symbology …………………………………………………………………………………………… 123. Precautions ………………………………………………………………………………………………… 13 3.1 Arduino Board ……………………………………………………………………………………… 133.2 Intended Audience ……………………………………………………………………………….. 133.3 General Precautions ……………………………………………………………………………… 134 Software interface……………………………………………………………………………………….. 14 5 How to connect PLC Arduino to PC ………………………………………………………………… 17 6 How to connect PLC to power supply …………………………………………………………….. 18 7 Spartan Arduino PLC 16RDA I/O pinout: …………………………………………………………. 19 7.1 Zone Connections…………………………………………………………………………………. 198 Switch configuration ……………………………………………………………………………………. 22 8.1 General Switches Configurations ……………………………………………………………. 228.2 RS- 485 Switch configuration …………………………………………………………………. 238.3 I2C Switch configuration ……………………………………………………………………….. 249 Spartan – Arduino I/Os 5V pins……………………………………………………………………… 25 9.1 I2C pins ­ SDA/SCL ……………………………………………………………………………….. 25 9.2 Pin 2/Pin 3 …………………………………………………………………………………………… 2510 I/0 technical details ……………………………………………………………………………………… 26 11 Typical Connections …………………………………………………………………………………….. 29 12 Connector details ………………………………………………………………………………………… 33 13 Spartan Family Dimensions:………………………………………………………………………….. 34 14 Installation and Maintenance ……………………………………………………………………….. 35 15 Revision Table …………………………………………………………………………………………….. 38

9

Ref. 017001001300

Rev.0: 23-06-2020

1. Spartan Arduino PLC 16RDA: General Features

SPARTAN ARUDINO PLC 16RDA

Input Voltage

12 to 24Vdc

Fuse protection (2.5A) Polarity protection

Input rated voltageRated Power I Max. SizeClock Speed Flash MemorySRAM EEPROM Communications TOTAL Input points TOTAL Output pointsAn/Dig Input 10bit (0-10Vcc)

24 Vdc30 W1,5A100x45x115 16MHz32KB of which 4KB are used by bootloader 2.5KB1KB I2C — USB — RS485 (Half Duplex)– SPI ­ TTL(by Software)880 to 10Vac Input Impedance: 39K Separated PCB ground Rated Voltage: 10Vac7 to 24Vdc I min: 2 to 12 mA Galvanic Isolation Rated Voltage: 24 Vdc

RS485

* Interrupt isolated Input HS(24Vcc)Analog Output 8bit(0-10Vcc)Digital Isolated Output RelayPWM Isolated Output 8bit (24Vcc)

7 to 24Vdc I min: 2 to 12 mA Galvanic Isolation Rated Voltage: 24Vdc0 to 10Vac I max: 20 mA Separated PCB ground Rated Voltage: 10Vac220V Vdc Galvanic Isolation Diode protected for Relay5 to 24Vdc I max: 70 mA Galvanic Isolation Diode Protected for Relay Rated Voltage: 24Vdc

7 to 24Vdc I min: 3/6 mA Separated PCB groundImax: 5APWM Isolated Output 8bit (24Vcc)

Expandability Reference

I2C ­ RS485 ­ SPI ­ TTL017001001200

10

Ref. 017001001300

Rev.0: 23-06-2020

2. Technical Specifications2.1. General Specifications:

Power supply voltageOperating voltage rangePower consumption

DC power supply DC power supply DC power supply

12 to 24Vdc 11.4 to 25.4Vdc 30VAC max.

External power supply

Power supply voltagePower supply output capacity

Insulation resistance

Dielectric strength

24Vdc700 mA20M min. at 500Vdc between the AC terminals and the protective ground terminal.2.300 VAC at 50/ 60 Hz for one minute with a leakage current of 10mA max. Between all the external AC terminals and the protective earth terminal.

Shock resistance

80m/s2 in the X, Y and Z direction 2 times each.

Ambient temperature (operating)

0º to 60ºC

Ambient humidity (operating)

10% to 90% (no condensation)

Ambient environment (operating)

With no corrosive gas

Ambient temperature (storage)

-20º to 60ºC

Power supply holding time

2ms min.

Weight

350g max.

2.2. Performance Specification:

Arduino Board Control method I/O control method Programming language Microcontroller Flash Memory Program capacity (SRAM)EEPROM Clock Speed

ARDUINO LEONARDOStored program methodCombination of the cyclic scan and immediate refresh processing methods. Arduino IDE. Based on wiring (Wiring is an Open Source electronics platform composed of a programming language. “similar to the C”. http://arduino.cc/en/Tutorial/HomePage ATmega32u432KB of which 4KB are used by bootloader2.5KB1KB16MHz

11

Ref. 017001001300

Rev.0: 23-06-2020

2.3. Symbology

Table that includes all the symbology that is used in the serigraph of the Spartan Arduino PLC 16RDA.

Symbol

Standard No. / Standard TitleIEC 60417 / Graphical symbolsfor use on equipment

Standard Reference No. /Symbol Title5031 / Direct Current

Symbol MeaningIndicates that the equipment is suitable for direct current only; to identify relevant terminals

IEC 60417 / Graphical symbolsfor use on equipment

5032 / Alternating Current

Indicates that the equipment is suitable for alternating currentonly; to identify relevant terminals

IEC 60417 / Graphical symbolsfor use on equipmentIEC 60417 / Graphical symbolsfor use on equipment

5130 / Pulse General5017 / Earth, Ground

To identify the control by which a pulse is started.To identify an earth (ground) terminal in cases whereneither the symbol 5018 nor 5019 is explicily required.

IEC 60417 / Graphical symbolsfor use on equipment

5115 / SIgnal lamp

To identify the switch by means of which the signal lamp(s) is (are) switched on oroff.

Medical Devices Directive 93/42/EEC

CE Marking

CE marking indicates that a product complies withapplicable European Union regulations

ISO 7000/ Graphical symbolsfor use on equipment

0434B / Warning symbol

Indicates a potentially hazardous situation which, if not avoided, could result indeath or serious injury

ISO 7000/ Graphical symbolsfor use on equipment

5036 / Dangerous Voltage

To indicate hazards arising from dangerous voltages

12

Ref. 017001001300

Rev.0: 23-06-2020

3. PrecautionsRead this manual before attempting to use the Spartan Arduino PLC 16RDA and follow its descriptions for reference during operation.3.1 Arduino BoardThe Spartan Arduino PLC 16RDA PLCs include Arduino Leonardo Board as controller.3.2 Intended AudienceThis manual is intended for technicians, which must have knowledge on electrical systems.3.3 General PrecautionsThe user must operate Spartan according to the performance specifications described in this manual.Before using Spartan Arduino PLC 16RDA under different conditions from what has been specified in this manual or integrating Spartan Arduino PLC 16RDA to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your INDUSTRIAL SHIELDS representative. Ensure that the rating and performance characteristics of Spartan are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment double safety mechanisms. This manual provides information for programming and operating the Spartan.

13

Ref. 017001001300

Rev.0: 23-06-2020

4 Software interfaceIndustrial Shields PLC are programmed using Arduino IDE, which is a software based on the C language. They can also be programmed using directly C but it is much easier working with Arduino IDE as it provides lots of libraries that helps in the programming.Furthermore Industrial Shields provides boards for programming the PLCs much easier. Basically it is no needed to define the pins and if that pins are inputs or outputs. Everything is set up automatically if using the boards.In order to install Industrial Shields boards, these are the steps that must be followed.

Requirements: Arduino IDE 1.8.0 or above (better to have always the latest version). Steps:1. Open Arduino IDE and go to: “File -> Preferences” located in the top left corner.

2. In Additional Boards URLs write the following: http://apps.industrialshields.com/main/arduino/boards/package_industrialshields_index.json3. Press OK to save the changes.14

Ref. 017001001300 4. Go to: Tools -> Board: … -> Boards Manager

Rev.0: 23-06-2020

5. Search for industrialshields.

15

Ref. 017001001300

Rev.0: 23-06-2020

6. Click install (selecting the latest version). Following this steps you will be able to use now the Industrial Shields Boards:

Also there are some examples of programming in File -> Examples -> Spartan Arduino Family. Furthermore there are some extra libraries that can be found in Industrial Shields github.https://github.com/IndustrialShields/16

Ref. 0170010013005 How to connect PLC Arduino to PC– Connect USB port from PLC to PC. NOTE: Spartan Family uses micro USB cable.– Open Arduino IDE interface: – Select Industrial Shields boards -> Spartan Family – Select correct port.

Rev.0: 23-06-2020

17

Ref. 017001001300

Rev.0: 23-06-2020

6 How to connect PLC to power supply– Spartan Arduino PLC is 12-24Vdc supplied. IMPORTANT: The polarity IS NOT REVERSAL!– Make sure that the live and GND connector of the power supply match the PLC. – Make sure that the power supply mains output is not higher than 24Vdc.

– Suggested power suppliersCompact DIN rail power supply. Assembled on 35mm DIN Rail: -12Vdc / 24Vdc -2.5A -30WIndustrial Shields power supplies provide parallel operation, overvoltage protection, and overcurrent protection. There is a LED inductor for power status, the power supply is certified according to UL.The standard, Part 1 of IEC 61010, sets the general safety requirements for the following types of electrical devices and their accessories, regardless of where use of the device is intended.The equipment must be powered from an external power source in accordance with IEC 61010-1, whose output is MBTS and is limited in power according to section 9.4 of IEC 610101.WARINING: Once the equipment is installed inside an electrical cabinet, the MTBS cables of the equipment must be separated from the dangerous voltage cables.

18

Ref. 0170010013007 Spartan Arduino PLC 16RDA I/O pinout:7.1 Zone Connections

Rev.0: 23-06-2020

LEFT ZONE

Spartan Arduino PLC Connector Arduino Pin Function

MISO

14

MOSI

16

SCK

15

RESET

5Vdc

GND

NC

NC

SDL-PIN2

2

SDA-PIN3

3

SPI-MISO SPI-MOSI SPI-CLOCK SPI-RESET 5V OutputGND Not Connected Not ConnectedI2C/SPI SS I2C/SPI SS

LEFT ZONESwitch config* (see section 8 for Communications configuration. Enabling Communications disables some I/Os)Communications pins

R1

10

Relay 1 out

R2

9

Relay 2 out

R3

6

Relay 3 out

GNDCOM

24VCOM

GND Power Supply

HS*: Hardware Serial SS*: Software Serial

Relay OutputsPower supply connectors (24Vdc ­ GND)

19

Ref. 017001001300RIGHT ZONE

Spartan Arduino PLC Connector Arduino Pin RS-485 HD* Function

B-

RS485

A+

RS485

NC

Not Connected

NC

Not Connected

R4

5

R5

3

Relay 4 Out Relay 5 Out

I0.7 I0.6 I0.51 I0.41 NC NC I0.32 I0.22 I0.1 I0.01R6

21

Analog/Digital Input

20

Analog/Digital Input

19

Analog/Digital Input

18

Analog/Digital Input

Not Connected

Not Connected

8

Digital Input

4

Digital Input

12

Digital Input

2

Digital Input/ Interrupt

7

Relay 6 Out

NC

Not Connected

NC

Not Connected

Rev.0: 23-06-2020RIGHT ZONE RS-485 pins Analog Outputs Pins Relay OutputsDigital/Analog Inputs pinsRelay Output

NOTE: These Pins are not connected .DEFAULT SERIGRAPHY SDA-PIN2 NC NC GND

CORRECT SERIGRAPHY SDA-PIN2 NC NC GND

20

Ref. 017001001300

Rev.0: 23-06-2020

Config switch * (see section 8 for communications configuration)

Input / Output LED Power LED Arduino Reset button

21

Ref. 017001001300

Rev.0: 23-06-2020

8 Switch configuration8.1 General Switches Configurations

LEFT ZONE. Communications and inputs/outputs can not work simultaneously.

LEFT ZONE

SWITCHNC ON R5 I0.0/Pin2 – SCL ON OFF ON OFF

ONSelectedR5 I0.0 SelectedSelected–

OFFPin3-SCL Pin2-SDA Selected Selected

1. NC ­ Not Connected 2. Always at ON position.

3. R5-SCL – Choosing between SCL (I2C) and R5. If the switch is OFF, the R5 will be enabled and the SCL will be disabled. If the switch is ON, SCL will be now enabled.

4. I0.0/Pin2-SDA – Choosing between SDA (I2C) and I0.0. If the switch is OFF, the I0.0 will be enabled and the SDA will be disabled. If the switch is ON, SDA will be now enabled.

1. Always at ON position. 2. Always at OFF position. 3. Always at ON position. 4. Always at OFF position.

TOP ZONE.Note: Don’t change the switch position4. Always in ON position. 3. Always in OFF position. 2. Always in ON position. 1. Always in OFF position.

22

Ref. 017001001300

Rev.0: 23-06-2020

8.2 RS- 485 Switch configuration

TOP ZONE MODEON

RS-485 TOP ZONE: In order to enable the RS-485 protocol the TOP ZONE must be configured as it is shown in the table.

OFF

ON

OFF

MODEONON

RS-485 LEFT ZONE: In order to enable the RS-485 communication protocol it is necessary that the switches of the left zone are configured as it is showed in the table.The ones marked with “-” mean that they don’t affect the RS-485 communication protocol.

OFF ON

OFF* To enable the RS-485 communication it is needed to configure also the jumpers, see Section 9

23

Ref. 017001001300

Rev.0: 23-06-2020

8.3 I2C Switch configuration

TOP ZONE MODE––––

LEFT ZONE MODEON ON –

To enable I2C configuration the switches SCL/R5 & SDA/I0.0 must be set to ON. As they are in ON mode R5 & I0.0 are disabled.The switches marked as ” ­ ” don’t interfere with the I2C communication protocol.

24

Ref. 017001001300

Rev.0: 23-06-2020

9 Spartan – Arduino I/Os 5V pinsThe Spartan has some of the Leonardo board pins available. These pins can be programmed according to Arduino features such as I/Os operating at 5V or any additional features present in the pins (for example I2C communication in pins SCL and SDA). As this pins are directly connected to the Arduino Leonardo board they are not as well protect as the normal inputs. These pins are mainly meant to be used as prototyping.

Spartan terminal SCL ­ Pin 3 SDA ­ Pin 2 MISO SCK MOSI

Arduino pin 3 2 14 15 16

*IMPORTANT: Do not connect the terminals in the chart above to voltages higher than 5V. These terminals provide direct access to the Leonardo board.A part from the switch configuration there are some special conditions depending on these 5V. Now it is going to be shown the considerations to operate with these pins.

9.1 I2C pins ­ SDA/SCLThe I2C protocol is meant to work in a pull-up configuration. The I2C pins in the Arduino Leonardo are not pull-up, so in order to work with the I2C an external pull-up resistor is required. If it is meant to work as a GPIO at 5V, the switches must be set as I2C, (section 8).These pins are not stablished with a pull-up or a pull-down configuration. The state of these pins is unknown. If these pins must be used they require a pull-up or a pull-down configuration. The Arduino board allows the pins to be set in a pull-up configuration. If not it must be stablished an external pull-up or pull-down circuit in order to correctly work with these pins.9.2 Pin 2/Pin 3These pins are only referred to the inputs I0.5/I0.6. If the switch configuration is in OFF position the pins Pin 2/Pin 3 will be available.These pins are not stablished with a pull-up or a pull-down configuration. The state of these pins is unknown. If these pins must be used, they require a pull-up or a pull-down configuration. The Arduino board allows the pins to be set in a pull-up configuration. If not it must be stablished an external pull-up or pull-down circuit in order to correctly work with these pins.

25

Ref. 01700100130010 I/0 technical detailsDigital Output Waveform

Rev.0: 23-06-2020

Digital Output Turn-off

26

Ref. 017001001300PWM WaveformAnalog Out Turn-onAnalog Out Turn-off

Rev.0: 23-06-2020

27

Ref. 017001001300Analog/Digital Input Turn-onAnalog/Digital Input Turn-off

Rev.0: 23-06-2020

28

Ref. 01700100130011 Typical Connections

Rev.0: 23-06-2020

29

Ref. 017001001300

Rev.0: 23-06-2020

30

Ref. 017001001300

Rev.0: 23-06-2020

31

Ref. 017001001300

Rev.0: 23-06-2020

32

Ref. 01700100130012 Connector details

Rev.0: 23-06-2020

The connector inside the PLCs that mounts on the PCB is MC 0,5/10-G-2,5 THT ­ 1963502 from Phoenix contact. MC0,5/10-G-2,5THTFor I/O and power supply there is a FK-MC 0,5/10-ST-2,5 – 1881406 connector from Phoenix contact. FK-MC 0,5/10-ST-2,5Connection details:

Article reference MC 0,5/10-G-2,5 THT

Height

8,1mm

Pitch

2,5mm

Dimension

22,5mm

Pin dimensions

0,8×0,8mm

Pin spacing

2,50mm

Article reference

FK-MC 0,5/10-ST-2,5

Rigid conduit section min.

0,14 mm²

Rigid conduit section max.

0,5 mm²

Flexible conduit section min.

0,14 mm²

Flexible conduit section max.

0,5 mm²

Conduit section AWG/kcmil min.

26

Conduit section AWG/kcmil max.

20

33

Ref. 01700100130013 Spartan Family Dimensions:45mm width– DIN rail mounting:

Rev.0: 23-06-2020

34

Ref. 01700100130014 Installation and Maintenance

Rev.0: 23-06-2020

Notes for installation:– The installation position should be free from the following: dust or oil smoke, conductive dust, corrosive or flammable gas, high temperature, condensation, and rain.– Besides, vibration and impact also affect the PLC normal operation and shorten its lifespan; electric shock, fire or misact also damages the product. During drilling or wiring, prevent the metal particles or wire segments from falling into the PLC casing, which may cause fire, fault or misact.– After the PLC installation, clean the ventilation duct to prevent blocking, which may cause bad ventilation, or even fire, faults or misact.– Do not online connect, plug or unplug cables, which is apt to cause electric shock or damage the circuit. Installation and wire connection must be firm and reliable. Poor connection could cause misact.– Use shielded twisted pair for the I/O of high frequency signal and analog signal to improve system IMS.The installation environment should be free from dust, oil smoke, conductive particle, corrosive or flammable gases, high temperature, condensation, and rain.Besides, vibration and impact also affect the PLC normal operation and shorten its lifespan. It is recommended to install the PLC, together with the matching switches and contactors, in a dedicated electric cabinet and keep the cabinet ventilated. If the location has high ambient temperature or heat generating equipment nearby, install forced convection devices on top or sides of the cabinet to avoid over-temperature. During drilling or wiring, prevent the metal particles or wire segments from falling into the PLC casing, which may cause fire, fault or misact. After the PLC installation, clean the ventilation duct to prevent blocking, which may cause bad ventilation, or even fire, faults or misact.The only way to disconnect the equipment from the electrical network is by removing the connectors that feed the equipment. Once installed in the electrical cabinet it is very important to ensure the power connectors for proper operation.Separate the Spartan Arduino PLC 16 RDA heat, high voltaje and eletrical noise:Always separate the devices that generate high voltage and high electrical noise from the Spartan Arduino PLC 16RDA. When configuring the layout of Spartan Arduino PLC 16RDA inside your panel, consider the heat-generating devices and locate the electronic-type devices in the cooler areas of your cabinet. Reducing the exposure to a high-temperature environment will extend the operating life of any electronic device. Consider also the routing of the wiring for the devices in the electric cabinet. Avoid placing low-voltage signal wires and communications cables in the same tray with AC power wiring and highenergy, rapidly-switched DC wiring.

35

Ref. 017001001300

Rev.0: 23-06-2020

Provide adequate clearance for cooling and wiring Spartan Arduino PLC 16RDA. Is designed for natural convection cooling. For proper cooling, you must provide a clearance of at least 25 cm above and below the devices. Also, allow at least 25 cm of depth between the front of the modules and the inside of the enclosure.Notes for maintenance:A well-planned and executed maintenance program is essential to the satisfactory operation of solid-state electrical equipment. The kind and frequency of the maintenance operation will vary with the kind and complexity of the equipment as well as with the nature of the operating conditions. Maintenance recommendations of the manufacturer or appropriate product standards should be followed.The following factors should be considered when formulating a maintenance program:– Maintenance must be performed by qualified personnel familiar with the construction, operation, and hazards involved with the control.– Maintenance should be performed with the control out of operation and disconnected from all sources of power.– Care should be taken when servicing electrostatic sensitive components. The manufacturer’s recommendations for these components should be followed.– Ventilation passages should be kept open. If the equipment depends upon auxiliary cooling, e.g., air, water, or oil, periodic inspection (with filter replacement when necessary) should be made of these systems.– The means employed for grounding or insulating the equipment from ground should be checked to assure its integrity.– Accumulations of dust and dirt on all parts, including on semiconductor heat sinks, should be removed according to the manufacturer’s instructions, if provided; otherwise, the manufacturer should be consulted. Care must be taken to avoid damaging any delicate components and to avoid displacing dust, dirt, or debris in a way that permits it to enter or settle into parts of the control equipment.– Enclosures should be inspected for evidence of deterioration. Accumulated dust and dirt should be removed from the top of the enclosures before opening doors or removing covers.– Certain hazardous materials removed as part of maintenance or repair procedure (e.g., polychlorinated biphenyls (PCBs) found in some liquidfilled capacitors) must be disposed of as described in Federal regulations.Safety rules for maintenance personnelConsider the following steps to follow. A false manoeuvre could be the cause of an accident or material damage. Do not disassemble or modify the modules. This could lead to breakdowns or malfunctions and could lead to injuries or fire.– All types of radio communication devices, including mobile phones and personal handy-phone systems (PHS), must be kept more than 25cm away from the PLC in all directions. Failure to observe this precaution exposes malfunctions caused by excess of temperature.

36

Ref. 017001001300

Rev.0: 23-06-2020

– Disconnect the external power supply of the system (on all phases) before connecting or disconnecting a module. Failure to observe this precaution may cause faults or malfunctions of the module. – Tighten the screws of the terminal ports and the screws of the connectors within the prescribed tightening torque. Insufficient tightening can lead to loose parts or wires and cause malfunctions. Excessive tightening can damage the screws and / or the module, with the risk of falling, short circuits and malfunctions. – Before handling a module, dispose of the electrostatic charge accumulated by the human body by touching a suitable conductive object. Failure to observe this precaution may cause faults or malfunctions of the module.Repair note:If the equipment is suitable to be repaired, it must be verified that the equipment remains in a safe state after repair.

37

Ref. 01700100130015 Revision Table

Revision Number 0

Date 23 / 06 / 2020

Rev.0: 23-06-2020Changes It was first implemented

38

Ref. 017001001300

Rev.0: 23-06-2020

report this ad

About Industrial Shields:Direction: Fàbrica del Pont, 1-11 Zip/Postal Code: 08272 City: Sant Fruitós de Bages (Barcelona) Country: Spain Telephone: (+34) 938 760 191 / (+34) 635 693 611 Mail: 39

References

[xyz-ips snippet=”download-snippet”]


Posted

in

by