Home
FA-DUINO-24RA User`s Manual
Contents
1. Comfile Technology MPR 1 2 3 4 www comfiletech com FA DUINO 24RA User s Manual EET 7373 aS 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 INPUT 20 Zu 24VDC FA DUINO 24RA Mega2560Q ce RS233 CH Gy 040 dY JM DOMI T COMFILE OUTPUT uw g RELAT E on g EET EC NC EC CC ECCE REC BEER 255 CHA For instruments with risk to life or property e g nuclear power control medical equipment vehicles railways aviation combustion equipment recreation equipment safety devices etc always employ adequate fail safe mechanisms Risk of fire personal injury and or property damage Always mount to a panel Do not attempt to repair inspect or wire while power is applied Do not attempt to alter or repair Refer to a qualified technician Confirm all electrical connections Do not use outdoors Always use the product within its specifications and ratings Risk of fire and shortening of product s life Do not exceed ratings of relay switching contacts Does not use in environments with flammable or explosive materials moisture direct sunlight radiation vibration and or shock Keep product free of dust and debris Make connections correctly and confirm polarity by measuring at the appropriate terminals Overview The FA DUINO is an Arduino based industrial controller It has features similar to those found in other Arduino p
2. 24VDC SENSOR OOOCOOOCO DC24V Input DC 3 Wire Model NPN type Sensor output connected in reverse 24VDC SENSOR NPN type 10KQ www gt DC24V Input Digital I O Specifications Input Specifications Number of Inputs 16 Input Voltage Range 20VDC 28VDC Recommended Operating Voltage 24VDC On Off Switching Speed 10ms Ladder Scan Time is 10ms Input Impedance 2 2kQ 24VDC Output Relay Specifications Number of Outputs 8 Input Voltage Range 5 30VDC 4 264VAC Recommended Operating Voltage 6 27VDC 6 240VAC On Off frequency 10Hz 10 times per second Maximum Current 10A per relay Minimum Current 100mA per relay Analog I O Specifications Analog Current Input 0 3 Specification Resolution and Error 10 bit 2 Input Current Range OmA 22mA Recommended Operating Current 4mA 20mA Type Non isolated Built in LPF Analog Voltage Input 4 7 Specifications Resolution and Error 10 bit 2 Input Voltage Range 0 5VDC 10 5VDC Don t connect series resistance Operating Voltage OVDC 10VDC Type Non isolated Built in LPF Communication Specifications Communication Port Specifications Type RS 232 10VDC Flow Control No RTS Flow Control Maximum Baud Rate 11520
3. ed Ser lali baud rate 115200 uif clear Clear the display delay 20 wit BE E delavy 20 backlight on uit buzzer 1 delay 20 27 7 Buzzer on delay TOO urn locate U 0 seriall print SU 1280 cce cies DB seriali print comfiletech com JENNA 2202002 Seriali print COUNTER E LAUNE dug Le erce 255 Serial BURTON delay 100 int ent 05 void 1 S Ser ale print cnt DEC delay 100 che counter Apud tne count Seriali Seriall Seriall T write write write write N RE EE en Ox1b 0x4C Turn the buzzer on 1 or ofE 0 O Ee e a xn equ qued Serrallt wrvte 0x5a Seel une S oun SE seriallEvent void seriallEvent Display the value of the button pressed while Seriall available char inChar char Seriall read Seriali print Display 1 or hide 0 the cursor void uii cesron unsigned char on off Seriali wi tere ys Seriali write 0x53 3 else Serlall write 0x1b Clear the display OH uq Seriall write Oxlb Seriall write 0x43 Turn the backlight on 1 or orff 0 Oo e Kun r Osis
4. 0 Maximum Distance 2 meters Simple Examples Example 1 Flashing the Status LED Const ine StkatusLED 13 void setup StacusLaD OUTPUT vorid Loop 1 1000 NOM 1 1000 Example 2 Toggling a Relay const int Relay22 22 void setup pinMode Relay22 OUTPUT void Loop digitalWrite Relay22 HIGH delay 1000 digitalWrite Relay22 LOW delay 1000 Example 3 Input and Output Control 13 const int Relay22 22 Cons irain void setup pLinMoce StacusLiD OUTPUT pinMode Relay22 OUTPUT pinMode Input 30 INPUT vord Loop Input 30 dlgatalWrice SEaEUSLED HIGH digitalWrite Relay22 HIGH else digitalWrite StatusLED LOW digitalWrite Relay22 LOW Example 4 Analog Input with the Serial Monitor inte ADI Value int ADV Value4 void setup Serial begin 9600 void 1 ADI Valine analogReac A0 s delay 100 ADV Value4 analogRead A4 delay 100 Serial print CH O W Serial print ADI Serial print E Serial princ CH 4 y Serial print ADY AZER Serial print yaya delay 200 Interfacing with the UIF 5K The UIF 5K is a 5 key character LCD pa
5. 0x42 0x4C on of Sena adde Seriall write Seriall write Seriali write r m E Sert Ehe cursor Bo the given x Coordinates void aai locate hari unsigned 0215 8724 00 x y Seriall write seriali write Sem add write Seriali write R R R an T ra the ULE Sr LED omn 1 or off 0 ve e Tetas oL eed Serial write s CAFE 7 Turn one of the UNE SR bitten Ss LEDS on 1 or off 0 cn az number zum orm e ONE E Gallon number OLL g seriall write Seriall write 1 weite Seriall write the buzzer on 1 or 0 MOSE har Seriali write Osis Seriali write a We Eie Interfacing to a Character LCD CLCD i PYWA ee ee WWW PWN WWW T canolog Ni EEE KO ee SES SE JI EA CA um ee Lx 180 LM PW KW NW NY W WWW LAG e Besen Weg BE Connect the FA DUINO to the CLCD via RS 232 as shown in the image below Set all the dip switches on the CLCD to the ON position The baudrate should be 115200 E 1 CLCDA20B i i void setup baud rare 115200 elear the screen Seriali begin 115200 eleezel ar delay 20 HEos t on the Cursor elec L
6. 9a Arduino 1 0 5 r2 File Edit Sketch Tools Help sketch_aug193 Upload const int StatusLED 13 void setup pinMode 5tatusLED OUTPUT digitalWrite StatusLED HIGH delay 1000 diqitalWrite 5tatusLEP delay 1000 LOW 048 byte maximum Binary sketch aize 1 624 bytes Arduino 2560 Abk on COMMS IO Map Direction Pins Input Voltage Description Input 30 945 00r24VDC 20 28V 24V Logic High is logic high OV Logic Low Output 2229 10 Relay Outputs Logic High On Logic Low Off Analog Input 097 013 0 20 VA analogRead A0 Read channel 0 477 0 10V VA analogRead A4 Read channel 4 Example int val 0 Digital input variable int AD val 0 Read ADC value pinMode 22 OUTPUT 22 ouput val digitalRead 30 Read from digital 0 22 val Set digital output to same value as digital input AD val analogRead A0 Read ADC channel 0 Status LED The FA DUINO has a programmable status LED on pin 13 for providing visual indication to the operator Example cdigLcalwrLce 13 MIGE Turn status LED ON delay 1000 Delay for second cdigicalwrice 13 LOW 5 Turn status LED Off delay 1000 Delay for 1 second Connecting the Upload Cable PE SPIN MALE RX N UPLOAD DTR RS232 RX1
7. CH1 GND AD A1 AD a3 0 20mA GND A4 AD AG AT 0 10V DC GND monan annnm Groan Physical Connections Screw terminal block P d for input Led display Screw terminal block for output Mounting feet FA DUINO 24RA COMFILE _0000000000000000X 05 amp X RK GND rl RS485 CH3 RS232 CH2 GW GND a Download port RS232C channel 1 port 0 20mA Analog input port 0 10VDC Analog input port Rs485 Ch3 Rs232 Ch2 DC24V power input Digital IO Connections POWER C2 STATUS M L 22 DOODOOCODODOOOOOOOOD O 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 NPT oi Q0 OC FA DUINO 24RA COMFILE OUTPUT RELAY 10A 25 24V 24VDC 00 oo 00 00 OO oo ee ee eT SC PC RS232 PC USB USB to R3232 RS485 Device 4 SV GND OR RX TX GND MODBUS MASTER RS2 2 Device Using Proximity Sensors Proximity sensors can be used to detect the existence movement and displacement of objects without any physical contact with the object They are used quite often in the field of automation DC 2 Wire Model Sensor output connected in reverse 24VDC we e DC24V Input DC 3 Wire Model PNP type Sensor output connected in reverse
8. nel that can be used in conjunction with the FA DUINO to add a simple user interface COMFILE technology Front View Description 1 LED Indicator 2 Character LCD Characters Numbers and Symbols 3 Key Value for RS 232 Communication F1 0x01 1 byte F2 0x02 1 byte F3 0x03 1 byte F4 0x04 1 byte F5 0x05 1 byte Rear View Backlight Brightness Setting RS 232 TX Level 12V RX Level 12V GND PWR lt GND lt VIN DC 9 24 V The following shows how to connect the two together The UIF 5k must be powered separately with a 9V 24V supply Example 1 The following source code will output text to the UIF 5K s display TES FA DUINO 24RA void setup Seriali begin 115200 Baud rate 115200 Example 2 The following example will display the result of a button press on the UIF 5K s display UIF 5K TESI com filetech com COUNTER 3 BOTTON void setup Lie Clear the display delay 20 1018 lolli were eden 20 buzzer on re ore E OO Sera print SS a EST em delay WIN Zee A Seriall print FA DUINO 24RA delay 100 MOTO Loop 1 Clear the display oa Seriall write 0x1b Seriall write 0x43 Bet the cursor the giyen x amp y COOrdinates PO aee n n
9. o Mega 2560 option from the Tools gt Board menu sketch_aug19a Arduino 0 5 r2 0 0 E File Edit Sketch Tools Help Auto Format Ctrl T Archive Sketch sketch_augt 93 Fix Encoding amp Reload Serial Monitor Ctrl Shift M Board 4 Arduino Uno Serial Port gt Arduino Duemilanove w ATmega328 Arduino Diecimila or Duemilanove w ATmegal68 Programmer Arduino Nano w ATmega328 Burn Bootloader Arduino Nano w ATmegal68 Arduino Mega 2560 or Mega ADK Arduino Mega 1280 Arduino Leonardo Arduino Esplora Arduino Micro Arduino Mini w ATmega328 Arduino Mini w ATmegal68 Select the PC COM port that the FA DUINO is connected to from the Tools gt Serial Port menu You can find the COM port number in Windows Device Manager r E a Device Manager sketch augi9a Arduino 1 0 5 r2 gt mis Ne File Edit Sketch Help Auto Format Ctrl T emisit Archive Sketch 2 7 Ports COM amp LPT sketch_aug19 Fix Encoding amp Reload gt USB Serial Port COM11 Serial Monitor Ctrl Shift M 17 USB Serial Port COM12 iced z USB Serial Port COM2 Serial Port 7 COM2 USB Serial Port COM5 COMS Processors Programmer 4 COMI1 amp Sound video and game controllers Burn Bootloader COMI2 lt gt Storage controllers m Write your program and click the Upload icon to compile the program and upload to the FA DUINO sketch aug1
10. ocate 0 0 Seriall print CLCD Test delay 100 elec Locate 2 1 s Seriall print FPASDUTNOSZARA 8 delay 100 void loop Clear the display elec elear Seriall write Oxlb Seriall write 0x43 Move the cursor to the given x amp y Coordinates elec locare unsigned Char x unsigned char y Seriall write 0x1b Seriall write 0x4C Seriall write x Seriall write y 0 0 r r Interfacing to the CN RS235485 CO POWER CO RX 1x Coo CN RS232485 COMEILE 485 485 The CN RS232485 can be used to convert the FA DUINO s RS 232 signal to RS 485 Interfacing to the ML THRT1 The ML THRT1 can be used to measure temperatures from 100 500 C through a PT100 resistance thermometer TX RX exp UPLOAD O POWER CO RX Gsv Gw 485 485 CO TX CN RS232485 COMEILE TX 9 485 ML THRT1 AD COMFILE 0 10V DC For more information please see the ML THRT1 user s manual Dimensions alk AiR A mi FA DUINO 24RA Mega2560 COMFILE LX s KAD zd a gt T 95 35 a R45 CHS RSM2CH2 o MY CHE AT SRE OUTPUT IRELAF 10A 23 2d 25 26 a7 5B m z a 9 25 SIDE VIEW FRONT VIEW SIDE VIEW mm mmm m m m 44 9 44 128 BOTTOM VIEW Unit mm 100 5 MOUNTING VIEW Unit mm 100 5
11. roducts and can be programmed with the Arduino IDE Other Arduino products are not very well suited for fields such as factory automation The FA DUINO has been designed to handle signals of higher voltage and current and remove the burden of external circuit design and fabrication from the user The FA DUINO requires only simple connections to its terminal blocks and headers without the need for external peripherals The FA DUINO 24RA The FA DUINO 24RA has a built in Mega2560 MCU Program memory 256KB e SRAM 8KB EEPROM 4KB Clock Speed 16MHz 16 24VDC Inputs pins 3045 8 10A Relay Outputs pins 22 29 e 2 RS 232C Communication Port e 1 RS 485 Communication Port 4 0 10V Analog Inputs 4 0 20mA Analog Inputs 10 bit ADC 01023 Powered by 24VDC Operating Temperature 0 60 C Operating Humidity 35 85 RH Programming the FA DUINO The FA DUINO can be programmed using the Arduino IDE available from http arduino cc Arduino IDE Arduino 1 0 5 Download Next steps Arduino 1 0 5 release notes hosted by Google Code Getting Started NOTICE Arduino Drivers have been updated to add support for Windows Reference 8 1 you can download the updated IDE version 1 0 5 r2 for Windows from Environment the download links below Examples Foundations FAQ Windows Installer Windows ZIP file for non administrator install MacOSX Linux 32 bit 64 bit source Select the Arduin
Download Pdf Manuals
Related Search
Related Contents
EXC-4000VME and EXC-4000VXI User`s Manual, rev A-3 ALD-2 (CTLO) Instruction Sheet Sony VGC-JS450F/S Marketing Specifications Cours SPIP 3 pour rédacteur 1. Qu`est ce que Spip DSO Communication & Control Software User Manual Copyright © All rights reserved.
Failed to retrieve file