background image

 

RA0002 - Technical Information Manual 

17 

Using Ion R4300P GPIO Interface 

This paragraph describes how to manage the GPI/O of the Ion R4300P reader. 

The  Ion  R4300P  reader  has  13  general  purpose  input  and  output  (GPIO)  interfaces,  but  to  control  RA0002  you  need 
only 9 signal.  

The GPIO lines can be managed directly from the console Linux shell of the reader. Looking into the 

/dev

 directory, 

you can find an inner dedicated directory for each GPIO line: 

root@ion:~# ls –d /dev/gpio*  
/dev/gpio0   /dev/gpio11  /dev/gpio3  /dev/gpio6  /dev/gpio9 
/dev/gpio1   /dev/gpio12  /dev/gpio4  /dev/gpio7 
/dev/gpio10  /dev/gpio2   /dev/gpio5  /dev/gpio8 

For instance, the first GPIO line is mapped to the gpio0 directory and, looking into it, you’ll find the following pseudo-
files: 

root@ion:~# ls /dev/gpio0/ 
device 

direction  power  subsystem  uevent  value 

using the pseudo-file 

direction

 you can configure the GPIO line as an input or as an output while using the pseudo-file 

value

 you can get/set the GPIO line level. 

For instance, to know the configuration of the first GPIO line you can perform the following commands: 

root@ion:~# cat /dev/gpio0/direction  
in 

To get the level of the first GPIO line you can perform the following commands: 

root@ion:~# cat /dev/gpio0/value 

Since all the GPIO lines are configured as input lines by default at the startup, in order to set a GPIO line to a specified 
level you have to configure it as an output line before. Let consider the following example where we set the GPIO line 0 
to the low level: 

root@ion:~# echo out > /dev/gpio0/direction 
root@ion:~# cat /dev/gpio0/direction 
out 
root@ion:~# echo 0 > /dev/gpio0/value 

 

For technical information on Ion GPIO ports please refer to 

Ion R4300P Technical Information Manual

.

 

 

 

 

Содержание RA0002

Страница 1: ...RA0002 Digital I O Interface Unit Technical Information Manual Revision n 01 22 10 2013 Authorized Reseller RFID4UStore www rfid4ustore com 1 408 739 3500 sales rfid4ustore com...

Страница 2: ...rfid com www caenrfid com CAEN RFID srl 2013 Disclaimer No part of this manual may be reproduced in any form or by any means electronic mechanical recording or otherwise without the prior written perm...

Страница 3: ...ed Signal Tower to RA0002 24 How to Use Relay Output 26 4 RA0002 Technical Specifications 27 Technical Specifications Table 28 External Connections 29 DB15 female connector 29 RA0002 power connector 3...

Страница 4: ...of Tables Tab 2 1 Correspondence between the DB15 GPI O and RA0002 GPI O 9 Tab 2 2 Startup GPI O configuration 11 Tab 4 1 RA0002 Technical Specifications 28 Tab 4 2 GPIO DB15 socket connector pinout...

Страница 5: ...l Information Manual 5 1 Introduction This Chapter gives general information about the RA0002 Digital I O Interface Unit It contains these topics General Information Ordering Options Accessories Insta...

Страница 6: ...larms The RA0002 GPIO connector is dedicated for the R4300P ION reader while for the others CAEN RFID readers it is necessary to wire the connector Fig 1 1 RA0002 Digital I O Interface Unit Ordering O...

Страница 7: ...the 4 hooks on the RA0002 vertically or horizontally see Fig 1 2 RA0002 Wall Mounting pag 7 Fig 1 2 RA0002 Wall Mounting To hang the RA0002 on the wall fix the hooks to the wall using 4 rawlplugs 3 mm...

Страница 8: ...his Chapter gives information about the RA0002 Digital I O Interface Unit functional aspects It contains these topics General Description Power Supply Startup Input Electrical Description Output Elect...

Страница 9: ...he reader are visible through the LEDs on the front of the box The following table shows the correspondence between the DB15 female connector GPI O and the RA0002 GPI O DB15 GPI O RA0002 GPI O IN OUT...

Страница 10: ...RA0002 can be powered through the DB15 connector or with its own dedicated power supply when is required more than 500mA total output current The input power and ground are also shown on the RA0002 de...

Страница 11: ...GPI3 INPUT LOW ON GPO0 ACTIVE LOW ON GPO1 ACTIVE LOW ON GPO2 ACTIVE HIGH OFF GPO3 ACTIVE HIGH OFF RELAY OUT NC OFF Tab 2 2 Startup GPI O configuration Warning During the boot process a device connect...

Страница 12: ...s V GPI0 RTN are the card s interface toward the external devices Providing a voltage level between 5 36 V on GPI 0 the result is a signal that activates the low level GPI O 0 of the reader connected...

Страница 13: ...Information Manual 13 Isolated input interface In the following example an external isolated power supply is used to enable the GPI O via the command given by the switch Fig 2 5 Isolated input interfa...

Страница 14: ...he card s interface toward the external devices When the GPI O 4 is at the high level the mosfet N is active while the mosfet P is interdicted When the GPI O 4 is at the low level the mosfet P is acti...

Страница 15: ...ad is powered Note In this case the LED indicator is off when the output is active and turned on when the output is not active Switching P mos using external power Fig 2 9 Switching P mos using extern...

Страница 16: ...current of 4 outputs GPO0 GPO1 GPO2 GPO3 is limited by 4 resettable fuses 0 75 A For the fuses response time see the following figure Fig 2 10 Response time of resettable fuse The fuse properly restor...

Страница 17: ...dev gpio0 device direction power subsystem uevent value using the pseudo file direction you can configure the GPIO line as an input or as an output while using the pseudo file value you can get set t...

Страница 18: ...e RA0002 This Chapter gives some examples of usage of the RA0002 Digital I O Interface Unit It contains these topics Connect a Photo Electric Sensor to RA0002 Connect an Alarm Sounder to RA0002 Connec...

Страница 19: ...oto electric sensor model XUK1ARCNL2 R4300P RA0002 Db15 connector 10 poles connector V RTN VDC GND 5V COM NC NO VDC GND 24 poles connector V GPI0 RTN V GPI1 RTN V GPI2 RTN BU BN Relay common N O When...

Страница 20: ...the RA0002 module receives a valid input from the photo electric sensor the connected GPI enables its correspondent GPI O to low level V GPI0 RTN V GPI1 RTN V GPI2 RTN When the RA0002 module receive a...

Страница 21: ...002 Db15 connector 10 poles connector V RTN VDC GND 5V COM NC NO VDC GND 24 poles connector V GPI0 RTN V GPI1 RTN V GPI2 RTN BU BN OUT For example using CAEN RFID Easy Controller software when the RA0...

Страница 22: ...F1DC24R H R4300P RA0002 Db15 connector 10 poles connector V RTN VDC GND 5V COM NC NO VDC GND 24 poles connector V GPO 0 RTN V RTN V RTN GPO 1 GPO 2 Example n 1 using CAEN RFID Easy Controller software...

Страница 23: ...ve to connect the sounder as illustrated in the pictures below When you enable high the right GPI O from the R4300P the RA0002 module receives a valid output and powers up the alarm sounder 10 poles c...

Страница 24: ...d Signal Tower to RA0002 RA0002 is powered by R4300P Led signal tower model WERMA 69300055 R4300P RA0002 Db15 connector 10 poles connector V RTN VDC GND 5V COM NC NO VDC GND 24 poles connector V GPO 0...

Страница 25: ...ware when you enable low the right GPI O from the R4300P the RA0002 module receives a valid output and power up the led signal tower In this setup all the 3 lights are on Note In case of shared ground...

Страница 26: ...00P R4300P RA0002 Db15 connector V RTN VDC GND 5V COM NC NO VDC GND 10 poles connector Example of a typical connection For example using CAEN RFID Easy Controller software when you enable low the GPI...

Страница 27: ...RA0002 Technical Specifications This Chapter describes the technical specifications of the RA0002 Digital I O Interface Unit It contains these topics Technical Specifications Table External Connectio...

Страница 28: ...overall for all external loads Output breakdown voltage 60 Vdc Input Output isolation 750 Vrms Relay nominal 5A 240 VAC Relay Max Switching Voltage 400 VAC Relay Expected Life Mechanical 15x10 6 cycl...

Страница 29: ...e IO 4 4 GPIO6 General purpose IO 6 5 GPIO8 General purpose IO 8 6 GPIO10 General purpose IO 10 7 GPIO12 General purpose IO 12 8 GND Ground 9 GPIO1 General purpose IO 1 10 GPIO3 General purpose IO 3 1...

Страница 30: ...connector of the Ion R4300P reader 10 pin terminal block with quick coupling for power and address signals Pin Pin name Range 1 V 36 Vdc max 2 RTN 3 VDC 9 36 Vdc 4 VDC 9 36 Vdc 5 GND 6 GND 7 5VOUT 5...

Страница 31: ...dc max 5 GPI1 Input 5 36 Vdc 6 RTN 7 V 36 Vdc max 8 GPI2 Input 5 36 Vdc 9 RTN 10 V 36 Vdc max 11 GPI3 Input 5 36 Vdc 12 RTN 13 V 36 Vdc max 14 GPO0 Output Push pull 0 500 mA 15 RTN 16 V 36 Vdc max 17...

Страница 32: ...en LED INPUT GPI0 GPI0 activeted Yellow LED GPI1 GPI1 activeted Yellow LED GPI2 GPI2 activeted Yellow LED GPI3 GPI3 activeted Yellow LED OUTPUT GPO0 GPO0 activeted Yellow LED GPO1 GPO1 activeted Yello...

Страница 33: ...Mechanical Drawings The mechanical drawings of RA0002 are shown in the figure below All dimensions are in millimeters 1 3 2 0 1 00 5 3 9 5 64 0 50 4 3 7 9 3 4 4 Fig 4 3 RA0002 Mechanical Drawings 1 3...

Отзывы: