Page 3
Ref. 017001001200 Rev.0: 06-04-20 SPARTAN ARDUINO PLC User Guide Revised March 2020 This user guide is for version Spartan Arduino PLC, with Reference name Ref. 017001001200 .
Page 4
Care should be taken when servicing electrostatic sensitive components. The manufacturer's recommendations for these components should be followed. The Spartan Arduino PLC is Open Type Controller. It is required that you install the Spartan Arduino PLC in a housing, cabinet, or electric control room. Entry to the...
Page 5
L’automate Spartan Arduino PLC cest contrôleur de type ouvert. Il est nécessaire d'installer l'automate Spartan Arduino PLC 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é...
Page 6
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.
Page 7
Intended use or of Industrial Shields products Consider 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.
Page 8
Residual Risks The 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...
Page 9
Warranty and Limitations of Liability Warranty Industrial 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.
Ref. 017001001200 Rev.0: 06-04-20 Spartan Arduino PLC: General Features COMPACT SPARTAN ARDUINO PLC Fuse protection (2.5A) Input Voltage 12 to 24Vdc Polarity protection Input rated voltage 24 Vdc Rated Power 30 W I Max. 1,5A Size 100x45x115 Clock Speed 16MHz...
Ref. 017001001200 Rev.0: 06-04-20 Technical Specifications General Specifications: Power supply DC power supply 12 to 24Vdc voltage Operating DC power supply 11.4 to 25.4Vdc voltage range Power DC power supply 30VAC max. consumption Power supply voltage 24Vdc External power supply Power supply output 700 mA capacity...
Ref. 017001001200 Rev.0: 06-04-20 Symbology Table that includes all the symbology that is used in the serigraph of the Spartan Arduino PLC : Standard No. / Standard Symbol Standard Title Reference No. / Symbol Meaning Symbol Title IEC 60417 /...
Ref. 017001001200 Rev.0: 06-04-20 Precautions Read this manual before attempting to use the Spartan Arduino PLC and follow its descriptions for reference during operation. Arduino Board The Spartan Arduino PLC include Arduino Leonardo Board as controller. Intended Audience This manual is intended for technicians, which must have knowledge on electrical systems.
Rev.0: 06-04-20 Software interface Industrial 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.
Page 16
Ref. 017001001200 Rev.0: 06-04-20 4. Go to: Tools -> Board: … -> Boards Manager 5. Search for industrialshields.
Page 17
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 PLC. Furthermore there are some extra libraries that can be found in Industrial Shields github.
Ref. 017001001200 Rev.0: 06-04-20 How to connect PLC Arduino to PC Connect USB port from PLC to PC. NOTE: Ardbox Family uses micro USB cable. Open Arduino IDE interface: Select Industrial Shields boards -> Spartan Arduino PLC Select correct port.
Rev.0: 06-04-20 How to connect PLC to power supply Spartan Arduino PLC 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.
Ref. 017001001200 Rev.0: 06-04-20 Ardbox Analog I/O pinout: Zone Connections LEFT ZONE LEFT ZONE Switch config* (see section 8 for Communications configuration. Enabling Communications A0.4 Analog Out disables some I/Os) A0.3 Analog Out A0.2 Analog Out A0.1 Analog Out Not Connected Not Connected A0.0 Analog Out...
Page 21
Ref. 017001001200 Rev.0: 06-04-20 RIGHT ZONE See section 8 to enable these connections RS485(A) RS485(B) See section 9 to enable these connections Not Connected Not Connected SCL-PIN3 SCL(I2C) SDA-PIN2 SDA(I2C) Not Connected Not Connected 5Vout DC RESET RESET MOSI MISO I0.7 Analog/Digital Input I0.6...
Page 22
Ref. 017001001200 Rev.0: 06-04-20 RIGHT ZONE LEFT ZONE Switch config* Switch config* (see section 8 for Communications (see section 8 for Communications configuration. Enabling Communications configuration. Enabling Communications disables some I/Os) disables some I/Os) Communications pins Communications pins Digital/Analog Inputs Digital/Analog Inputs...
Page 23
Ref. 017001001200 Rev.0: 06-04-20 HS*: Hardware Serial SS*: Software Serial See section 8 to enable these connections See section 9 to enable these connections NOTE: These Pins are not connected. DEFAULT SERIGRAPHY CORRECT SERIGRAPHY SDA-PIN2 SDA-PIN2 Config switch * Input / Output Power LED Arduino Reset (see section 8 for communications...
Ref. 017001001200 Rev.0: 06-04-20 Switch configuration General Switches Configuration LEFT ZONE. Communications and inputs/outputs can not work simultaneously. LEFT ZONE SWITCH RS-485 DE D19/I0.8 DE-RS485 D19/I0.8 RS-485 DE D19/I0.8 RS-485 RE D18/I0.9 RE-RS485 D18/I0.9 RE-RS485 D18/I0.9 SDA-D2/I0.0* SDA-D2 I0.0 SCL-D3/Q0.6* SCL-D3 Q0.6 *I2C switch serigraphy is turned around.
Page 25
Ref. 017001001200 Rev.0: 06-04-20 TOP ZONE Note: Don’t change the switch position 4. Always in OFF position. 3. Always in ON position. 2. Always in OFF position. 1. Always in ON position. RIGHT ZONE SWITCH In function of the switch position you can select for ON Digital Output and for OFF Analog Output.
Ref. 017001001200 Rev.0: 06-04-20 RS- 485 Switch configuration 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. ZONE MODE Although the switch serigraphy is only referenced to RS-485. Having this setup, the I0.3 &...
Ref. 017001001200 Rev.0: 06-04-20 Ardbox - Arduino I/Os 5V pins The Ardbox 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).
Ref. 017001001200 Rev.0: 06-04-20 Connector details 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,5THT For I/O and power supply there is a FK-MC 0,5/10-ST-2,5 - 1881406 connector from Phoenix contact.
Always separate the devices that generate high voltage and high electrical noise from the Spartan Arduino PLC. When configuring the layout of the Spartan Arduino PLC inside your panel, consider the heat-generating devices and locate the electronic-type devices in the cooler areas of your cabinet.
Page 38
Ref. 017001001200 Rev.0: 06-04-20 Provide adequate clearance for cooling and wiring Spartan Arduino PLC. 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.
Page 39
Ref. 017001001200 Rev.0: 06-04-20 - 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.