USER GUIDE PLC Arduino ARDBOX 20 I/Os Analog HF Modbus Cat.
Page 2
PLC Arduino ARDBOX 20 I/Os Analog HF User Guide Revised August 2018 Page 3 This user guide is for version PLC Arduino ARDBOX 20 I/Os Analog HF, ABOX-103-001-72 with Reference name Ref.IS.AB20AN-HF only. For older versions refer to user guide with Cat. No.
Preface This User Guide is been implemented by Boot & Work, S.L. working under the name Industrial Shields. Purpose of the manual The 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 Audience This User Guide is intended for the following audience: Persons in charge of introducing automation devices. Persons who design automation systems.
Application Considerations and Warranty Read and Understand this Manual Please read and understand this manual before using the product. Please consult your comments or questions to Industrial Shields before using the product. Application Consideration THE 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.
Disclaimers Weights and Dimensions Dimensions and weights are nominal and they are not used for manufacturing purposes, even when tolerances are shown. Performance Data The 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.
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. INDUSTRIAL SHIELDS MAKES NO REPRESENTATION OR WARRANTY, EXPRESS OR IMPLIED, REGARDING MERCHANABILITY, NON-INFRINGEMENT, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
Table of Contents Preface…………………………………………………………………………………........................................... 4 1. 2. Ardbox Analog HF: General Features .......................................................................... 9 Precautions ............................................................................................................... 10 Arduino Board ................................................................................................... 10 Intended Audience .............................
1. Ardbox Analog HF: General Features A compact PLC based in Open Source Hardware technology. With different Input/Outputs Units. COMPACT PLC ARDUINO ARDBOX 20I/Os ANALOG HF Supply Voltage 12 to 24Vdc Max. current consumption 1,5A Size 100x45x115 Clock Speed 16MHz 32KB of which 4KB are used by bootloader 2.5KB Flash Memory SRAM EEPROM Communications 1KB I2C -- USB -- RS232 -- RS485 -SPI -- TTL TOTAL Input points 10 TOTAL Output points 10 INPUTS Fuse protection (2.
Analog 8 bits PWM Isolated 8bit Expandability 7 0 to 10 Vdc I max: 40 mA Separated PCB ground 6 of 10 Digital isolated Output 5 to 24 Vdc I max: 0.3 A Galvanic INSULATION Diode Protected for Relay I2C – RS232 – RS485 – SPI – TTL Reference IS.AB20ANA.HF 2. Precautions Arduino Board All Ardbox family PLCs include Arduino LEONARDO board. Intended Audience This manual is intended for technicians, which must have knowledge on electrical systems.
General Specifications: Power supply voltage DC power supply 12 to 24Vdc Operating voltage range DC power supply 11.4 to 25.4Vdc Power consumption DC power supply 30VAC max. Power supply voltage 12 to 24Vdc Power supply output capacity 1.3A External power supply 20MΩ min. at 500Vdc between the AC terminals and the protective ground terminal. Insulation resistance Dielectric strength 2.300 VAC at 50 to 60 Hz for one minute with a leakage current of 10mA max.
Clock Speed 16MHz 4. 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. 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.
4. Go to: Tools -> Board: … -> Boards Manager 5. Search for industrialshields on the searcher. Page 13 6. Click install (selecting the latest version).
Once it is selected the Ardbox Family or M-Duino family an extra option will appear on Tools: There, it can be selected the exact model for every family. Also there are some examples of programming in File -> Examples -> Ardbox Family. Page 14 Furthermore there are some extra libraries that can be found in Industrial Shields github. https://github.com/IndustrialShields/ 5.
- Connect USB port from PLC to PC. NOTE: Ardbox Family uses micro USB cable. - Open Arduino IDE interface: - Select Industrial Shields boards -> Ardbox Family - Select the correct Ardbox Analog Board.
- Select correct port. Now everything is set up to upload a sketch to Ardbox Relay HF Page 16 6. How to connect PLC to power supply - Ardbox Family PLCs are 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 suppliers * Not recommended for industrial applications. The Jack connector needs to be removed and use the live and GND connectors. Din RAIL Power Supply, ac-dc, 30W, 1 Output 1.3A at 24Vdc 7. Ardbox Analog I/O pinout: 1. Din RAIL Zone Connections LEFT ZONE Switch config* (see section 8 for Communications configuration. Enabling Communications disables some I/Os) 17 Function Arduino Pin Ardbox Connector LEFT ZONE Page Power Supply, ac-dc, 30W, 1 Output 1.3A at 24Vdc A0.
LEFT ZONE A+1,2 B-1,2 Y+1,2 Z-1,2 SCL-PIN31 SDA-PIN21 TX-RS2321,2 RX-RS2321,2 5V RESET SCK MOSI MISO I0.9 I0.8 I0.7 I0.6 I0.5 I0.4 I0.31 I0.21 I0.1 I0.01 3 2 0 1 18 19 20 21 22 23 0 1 7 2 3 2 4 8 18 19 20 21 22 23 0 1 7 2 Function Arduino Pin RS485 HS* Arduino Pin RS232 HS* Ardbox Connector RIGHT ZONE Switch config* (see section 8 for Communications configuration.
NOTE: Although in the TOP ZONE serigraphy it is shown Q0.9 & Q0.8 pins, in the reality they are I0.3 I0.2 pins respectively. Additionally although the serigraphy only is expressed for the RS485 it is also the same for the RS232. So if it is desired to enable any of the Hardware Serial connection this is the function of these switches. See chapter 8 for more information I0.3 RS485/RS232 HS I0.2 RS485/RS232 HS 8. Switch configuration General Switches Configuration LEFT ZONE.
TOP ZONE. TOP ZONE SWITCH OFF ON I0.3 RS485/RS232 HS I0.3 RS485/RS232 HS I0.3 RS485/RS232 HS I0.2 RS485/RS232 HS I0.2 RS485/RS232 HS I0.2 RS485/RS232 HS NOTE: Although in the TOP ZONE serigraphy it is shown Q0.9 & Q0.8 pins, in the reality they are I0.3 I0.2 pins respectively. Additionally although the serigraphy only is expressed for the RS485 it is also the same for the RS232. So if it is desired to enable any of the Hardware Serial connection this is the function of these switches.
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. Although the switch serigraphy is only referenced to RS-485 it is also the for the RS-232. TOP ZONE SWITCH MODE I0.3 OFF RS485 HS ON I0.2 OFF RS485 HS ON Having this setup, the I0.3 & I0.2 are disabled LEFT ZONE SWITCH CONFIGURATION SWITCH MODE DE-RS485 ON D10/A0.2-Q0.2 OFF RE-RS485 ON D11/A0.1-Q0.1 OFF SDA-D2/I0.0 - SCL-D3/Q0.
I2C Switch configuration LEFT ZONE TOP ZONE SWITCH MODE SWITCH MODE I0.3 - DE-RS485 - RS485/RS232 HS - D10/A0.2-Q0.2 - I0.2 - RE-RS485 - RS485/RS232 HS - D11/A0.1-Q0.1 - SDA-D2/I0.0 OFF SCL-D3/Q0.6 OFF I2C: Enable SCL and SDA connections (direct Arduino pins) with configuration switches. I0.0 and Q0.6 will not be available. In order to implement this communication a 4.7kΩ pull-up resistor (IS.ACI2C-4.7K) is required. 9.
10. Hardware Serial RS-232 & RS-485 Configuration Hardware Serial RS-485 In order to enable the Hardware Serial RS-485 the total configuration of the Ardbox Analog HF will be: Switch configuration: LEFT ZONE Page 23 TOP ZONE SWITCH MODE SWITCH MODE DE-RS485 ON I0.3 OFF D10/A0.2-Q0.2 OFF RS485 HS ON RE-RS485 ON I0.2 OFF D11/A0.1-Q0.1 OFF RS485 HS ON SDA-D2/I0.0 - SCL-D3/Q0.
Jumper configuration: JUMPER ZONE 2 JUMPER ZONE 1 LEFT RIGHT LEFT RIGHT RS-485 RS-485 I0.2 I0.3 D0 D1 D4 D8 - - - - Having configured Ardbox Analog HF as it is shown above, these are the features that are available: o Available communication protocols: Hardware Serial RS-485. I2C *If I2C is active I0.0 & Q0.6 are disabled SPI TTL USB o o o Inputs: 8 out of 10 inputs, I0.0, I0.1 and 10.4 to I0.9. If using I2C I0.0 is also disabled Digital Outputs: All 10 outputs.
Jumper configuration: JUMPER ZONE 1 HALF DUPLEX RIGHT LEFT RIGHT - - I0.2 I0.3 D0 D1 D4 D8 RS-232 RS-232 - - LEFT o Available communication protocols: Hardware Serial RS-232. I2C *If I2C is active I0.0 & Q0.6 are disabled SPI TTL USB o o o Inputs: 8 out of 10 inputs, I0.0, I0.1 and 10.4 to I0.9. If using I2C I0.0 is also disabled Digital Outputs: All 10 outputs. If using I2C Q0.6 is disabled. Analog Outputs: From A0.0 to A0.6. If using I2C A0.6 is disabled 11.
PWM Waveform Analog Out Turn-on Page 26 Analog Out Turn-off
Analog/Digital Input Turn-on Page 27 Analog/Digital Input Turn-off
Page 28 12.
Page 29
Page 30
Page 31
Connector details 13. 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. FK-MC 0,5/10-ST-2,5 Page 32 Connection details: Article reference MC 0,5/10-G-2,5 THT Height 8,1mm Pitch 2,5mm Dimension 22,5mm Pin dimensions 0,8x0,8mm Pin spacing 2,50mm Article reference FK-MC 0,5/10-ST-2,5 Rigid conduit section min.
14. ARDBOX Family Dimensions: 15. DIN rail mounting: 16.
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 Page 34 Mail: industrialshields@industrialshields.