Home

Hardware Manual V1.2

image

Contents

1. 0 X X IGNORED byte word mode ignored DIP SW SETTING 280H A9 A8 AT AG 5 AM 2 9 2 ADDRESSING MODE SETTING JP2 are used for addressing mode settings Addressing Data width JP1 JP2 mode Direct 8Bit Byte short short Direct I O 16Bit Word short open Indirect Index 16Bit Word open open 10 OPERATIONS 10 1 10 2 BASICS 10 1 1 10 1 2 10 1 3 8 Bit direct output input mode CPU direct read write data width 8 bit from to input output port 16 Bit direct output input mode CPU direct read write data width 16 bit from to input output port 16 Bit indirect output input mode CPU read write data width 16 bit from to input output port through index addressing Ref sec 10 5 DEFINITIONS 10 2 1 10 2 2 Index Reg l 0 Index register 2 bit long Index register for read write I O s in index mode This card has 64 bit I O which are grouped as portO 0 15 port1 16 31 port2 32 47 port3 48 63 WORDJ 3 0 15 0 Input Output WORD 3 0 means group i e WORD 3 WORDJ O0 and 15 0 means data width Data width is 16 bits 10 3 OPERATION OF 8 BIT DIRECT OUTPUT INPUT MODE 10 3 1 Hardware setting mode 2 8 Bit direct output input mode short short 10 3 2 Address bus and data bus ma
2. noise immunity makes this card very stable in the noisy environment and you don t worry about computer down by external noise we wish the card that will be helpful to your project DIO 2232 has 32 outputs and 32 inputs which are photo isolated on the main card In the wiring board output is amplified with POWER MOS to fill different application requirements This card also provides 3 addressing mode Byte Word Index for easy programming and downward compatibility This card may take as a upgrade of our 9000 series DIO card and as usual it is good match to work with our other cards Our DIO series card is your best choice Other DIO series products DIO 9201 2 16IN 16OUT digital card DIO 2248248IN 160UT digital card DIO 2264 64IN digital Input card Any comment is welcome please visit our website www automation com tw for the up to date information 2 PACKING LIST 2 1 DIO2232 main card 2 2 02232 wiring board 23 SCSIII68 PINCABLE 1 5m 2 4 Accessories 2 5 DEMOCD om E 3 FEATURES 3 1 2 2 3 3 3 4 3 5 3 6 3 7 mapped with system interface through ISA Bus All of inputs with photo coupler isolation LEDs for corresponding status indication 8 digits per I O group with Green LED at first digit Pluggable connector easy hook external wire Jumper selectable address mode Index mode occupied 4 I O location Byte Word mode occupied 8 I O location Power MOS type
3. one common terminal Different common for different positive power terminal Output capacity POWER MOS output continuous 120 DC MOS max 24 DC P MOS max Operation temperature 0 to 55 Operation humidity RH5 95 non condensed Dimension 155 W 107 H mm 5 LAYOUT 5 1 DIO2232 MAIN CARD LAYOUT 9 9 JS AUTOMATION CORP 9 8513 pois ls esses 0102232 V1 2 SVi2 eje e e e 9 LB mim m m m min 51222221 JP1JP Madeselect JP3 Don t Care I O base address setting 52 DIN RAIL MOUNTED WIRING BOARD LAYOUT MOS SIE 6 o o o o c o o o i sel EERE EEEE lt EERE 88 Km 00000001 00000006 00000706 14884444419 00000006 000000 08 eos EEFE TERE T TT oe o ee o o 00725 one 000
4. output drive high speed DC load 4 SPECIFICATIONS 4 1 4 2 DIO 2232 MAIN CARD 4 1 4 2 4 1 3 4 4 4 1 5 4 1 6 4 7 4 1 8 4 1 9 4 1 10 4 1 11 4 1 12 4 1 13 4 1 14 4 1 15 4 1 16 Input photo coupler isolation voltage 2500Vac 1Min Insulation resistance 100M Ohm min at 1000Vdc Data width Jumper selectable for 8 bits or 16 bits Per I O addressing 4 locations for Index mode 8 locations for byte word direct I O mode Base address with range 100H to 3FFH increment by 4 for Index mode increment by 8 for direct i o mode Input channel 32 ea of ON OFF switching Output channel 32 ea of ON OFF switching Switching speed 2 2KHZ max with on board debounce circuit Input ON state 2 8V max 4 5ma min Input OFF state 8 3ma max connector 68 pin female mini scsi connector Wiring board 1 with round cable hook to main card External supply DC 24 4V Operation temperature 0 to 70 Operation humidity RH5 95 non condensed Dimension 183 W 122 H mm DIN RAIL MOUNTED WIRING BOARD 4 2 1 4 2 2 4 2 3 4 2 4 4 2 5 4 2 6 4 2 7 4 2 8 4 2 9 External supply DC 24V 4V Input status indicator 32 LED 8 digit per group with Green LED at first digit Output status indicator 32 LED 8 digit per group with Green LED at first digit Power indicator Red LED Terminal Tiny screw clamp connectors every 4 has
5. then copy this buffer to output getch wait for printf Bellow read input30 status input INPUT30 outpw 0x280 0x01 setup index to 1 input port2 in buffer inpw 0x282 read data in buffer in buffer gt gt 14 shift IN30 to bit in buffer in buffer amp 0x0001 mask off other bits printf Input30 status buffer print at screen program end 13 DIMENSIONS DIO2232 MAIN CARD DIMENSION 13 1 183mm 132 DIN RAIL MOUNTED WIRING BOARD DIMENSION 3 mm 2 NOO 3 5 8 E 5 h B tle b e gt softy T k lt te 201 gt 20 14 ORDER INFORMATION PRODUCT DESCRIPTIONS DIO 2232 Main card 32 In and 32 Out with photo coupler isolated DIO 2232 DMO Demo program of DIO 2232 card for DOS free with user manual DIO 2232 WIN DII VB VC C Builder of DIO 2232 card for Win95 98 NT DIO 2232 LBV Vi of DIO 2232 card for LabVIEW i DIO 2232 DIN DIN rail mounted wiring board for 32 inputs and 32 Power MOS output 21
6. 18 one ovna 919 COM OUTO OUT CUTS OUT4 01075 OUTS OUT JS AUTOMATION CORP SSS 3 5 5 9 DAD See MOS ADAFTER YLO SVEO 9 689000 000969690 INB INO 002 my 1424 me 4 Nc noo marg 9000000 0 20e ee 2 25 2 5 5 V SESE SEES 2 2 2 2 2288 SESS 0000000000 00000 eoo ho ah AAAA 0000000000 20200000000 A elle A e e e e e e e e 00 01 02 04 08 06 07 5 3 DIN RAIL MOUNTED WIRING BOARD LAYOUT P MOS be b b b b Ww Ne un un un un 6 96 qi A e gt xP 4 A B un qs o lo a lo lo n n rm n im d 4 gu a 9 am P BS eEXIGe e e e e e EXIG 00 01 02 EXTG 04 05 06 07 EXIG 6 PIN DEFINITIONS FRONT VIEW OF CONNECTOR 6 2 les m g
7. DIO 2232 DIGITAL I O CARD USER S MANUAL V1 2 P JS AUTOMATION CORP oa 0005 61 6F NO 100 CHUNG SHIN RD SHI TSU TAIPELTAIWAN R O C TEL 886 2 2647 6936 FAX 886 2 2647 6940 http www automation com tw E mail jsnet automation com tw jservice automation com tw Export control cards automation com tw Contents 5 2 2 2 Eb 3 4 SEECIFICATIONS 25200 4 VAIN CARD sca 4 4 2 DIN RAIL MOUNTED WIRING BOARD ettet 4 om EA OUR tete d 5 Sup MAIN CARD AY OUT to or edo dee 5 52 DIN RAIL MOUNTED WIRING BOARD LAYOUT 5 53 DIN RAIL MOUNTED WIRING BOARD LAYOUT P MOS 6 7 6 1 FRONT VIEW OF CONNECTOR 7 2 DE NITION qtd EA desi ts 7 IN TEREA GE DIAGRAM E 8 INPUT DIAGRAM tan ian tne ia aA Denm 8 722 OUTPUT DIAGRAM dtf 8 73 WIRING BOARD OUTPUT DIAGRAM 5 8 74 WIRING BOARD OUTPUT DIAGRAM P 5 9 8 EXTERNAL WIRING 10 81 EXTERNAL WIRING DIAGRAM MOS 10 8 2 EXTERNAL WIRING DIA
8. GRAM 5 11 9 PEE 12 Od JDOBASEADDRESS SETTINGS aa pudenda 12 92 ADDRESSING MODE 12 OPERATIONS tene mE IEEE 13 I ME e 13 10 2 DERIN TIONS di 13 103 OPERATION OF 8 BIT DIRECT OUTPUT INPUT 14 10 4 OPERATION OF 8 BIT DIRECT OUTPUT INPUT MODE 14 10 5 OPERATION OF 16 BIT INDEX INPUT OUTPUT 15 APPEICATIONS 16 12 PROGRAMMING EXAMPLES 17 12 1 BYTE MODE OUTPUT EXAMPLE 17 122 WORD MODE OUTPUT EXAMPLE 18 12 3 INDEX MODE OUTPUT EXAMPLE tenens 19 13 DIMENSIONS unite 20 13 1 DIO2232 MAIN CARD 20 13 2 DIN RAIL MOUNTED WIRING BOARD DIMENSION ceres 20 14 ORDER INFORMATION ottenere hene ime 21 1 FORWARD Thank you for your selection of JAC s product DIO 2232 DIGITAL I O card for IBM compatible industrial PC In the field of industrial control digital I O is generally controlled under a microprocessor and owing to their specific consideration of industrial environment it is quite different from the laboratory requirement This card is a FPGA based design and our experience in the
9. IN5 External Input 5 38 EXT IN7 External Input 7 39 EXT INO External Input 9 40 EXT INII External Input 11 41 EXT INI13 External Input 13 42 EXT 1315 External Input 15 43 EXT INI7 External Input 17 44 EXT 1319 External Input 19 45 EXT IN21 External Input 21 46 EXT IN23 External Input 23 47 EXT IN25 External Input 25 48 EXT IN27 External Input 27 49 EXT IN29 External Input 29 50 EXT IN31 External Input 31 EXT OUT24 External Output 24 EXT OUT26 External Output 26 1 51 EXT OUT External Output 1 52 EXT OUT External Output 3 53 EXT 5 External Output 5 54 EXT OUT7 External Output 7 55 EXT OUT External Output 9 56 EXT OUTII External Output 11 57 EXT_OUT13 External Output 13 58 EXT_OUT15 External Output 15 59 EXT_OUT17 External Output 17 60 EXT_OUT19 External Output 19 61 EXT OUT21 External Output 21 62 EXT 00723 External Output 23 63 EXT OUT25 External Output 25 64 EXT OUT27 External Output 27 65 EXT OUT29 External Output 29 66 EXT OUT31 External Output 31 67 24V External DC24V power 68 24V External DC24V power 7 INTERFACE DIAGRAM 7 1 INPUT DIAGRAM I CARD ADAPTER uve EXT IN 24 7 2 OUTPUT DIAGRAM CARD ADAPTER DCS5V DC120V 5 24Ve extV
10. ellow set outputO ative n active outport 0x284 0x01 Write to base 4 to activate OUTPUTO and OUTPUTI to OUTPUT not activate Note If only one bit say OUTPUTO to change state but other don t you may keep a output buffer CHAR BUFFER and operate the change bit with the buffer then copy this buffer to output getch wait for printf Bellow read input30 status n INPUT30 in buffer inport 0x283 read base 3 for IN30 to input buffer in buffer in buffer gt gt 6 shift IN30 to bit O in buffer in buffer amp 0x01 mask off other bits printf Input30 status d in_buffer print at screen program end 122 WORD MODE OUTPUT EXAMPLE C LANGUAGE source of D32 WORD C Use Word mode of DIO 2232 to output OUTO and read IN30 to display CRT include lt dos h gt include lt conio h gt include lt ctype h gt include lt stdio h gt void main begin unsigned int in_buffer declare input buffer clrscr clear screen printf Please short JP1 open JP2 for switch to WORD MODE control n JP1 short JP2 open for WORD mode printf Please set base address 280h n card base address at 280H printf Bellow set outputO ative n OUTPUTO active outpw 0x284 0x0001 Write to base 4 to activate OUTPUTO and OUTPUTI to 5 not activate Note If only one bit say OUTPUTO to change state but o
11. n EXT IN 24 7 3 WIRING BOARD OUTPUT DIAGRAM MOS Lo 5 MOSFETOUIPUT 3 lt 4 outputs with one NURU common extV penai CON Pes 0 7 4 WIRING BOARD OUTPUT DIAGRAM P MOS 24Ve b 4 tA 8 EXTERNAL WIRING DIAGRAM 8 1 EXTERNAL WIRING DIAGRAM MOS OUTPUT EXAMPLE INPUT EXAMPLE 00 Load 4 Ol Load 02 Load Load eV M 120vde 0102232 lun e ADAPTER 5Vdc DC24V 9 If different group of output use different voltage source please make sure to connect the V together to the ground of external DC24V power supply 8 2 EXTERNAL WIRING DIAGRAM P MOS INPUT EXAMPLE OUTPUT EXAMPLE 24Vdc Load 11 9 HARDWARE SETTINGS 9 1 BASE ADDRESS SETTINGS Refer to sec 5 1 main card layout the DIP SW for I O base address setting There are 3 addressing mode for DIO2232 but only 4 locations for index addressing mode and 8 locations for byte or word I O addressing mode The DIP 1 for A9 DIP 2 for 8 so forth DIP switch upside mean 0 and down side means 1 For example to set I O address at 280H DIP 1 DIP 2 DIP 3 DIP 4 DIP 5 DIP 6 DIP 7 DIP 8 A9 8 7 6 5 4 2 1 0 1 0 0 0
12. pping In 8 Bit Byte direct I O mode the Bus 15 8 is tri state I O address data I O bit I O Base 0 BYTE 0 7 0 IN_7 IN_O input X 1 BYTE 1 7 0 IN 15 IN 8 input X Base 2 7 0 IN 23 IN 16 input X 3 BYTE 3 7 0 31 IN_24 input X 4 BYTE 4 7 0 OUT 7 OUT 0 Read Back output 5 BYTE 5 7 0 OUT 15 OUT 8 Read Back output Base 6 BYTE 6 7 0 OUT 23 OUT 16 Read Back output Base 7 BYTE 7 7 0 OUT_31 OUT_24 Read Back Output 10 4 OPERATION OF 8 BIT DIRECT OUTPUT INPUT MODE 10 4 1 Hardware setting mode 2 16 direct output input mode short open 10 4 2 Address bus and data bus mapping I O address data I O bit I O Base 0 WORDIO0 15 0 IN 15 IN_O input X Base 2 WORD 1 15 0 IN 31 IN 16 input X 4 WORD 2 15 0 OUT_15 OUT_0 Read Back Output Base 6 WORDJ 3 15 0 OUT 31 OUT 16 Read Back output 105 OPERATION OF 16 BIT INDEX INPUT OUTPUT MODE 10 5 1 Hardware setting mode 2 16 Bit index input output mode open open 10 5 2 Operation diagram of index mode DATA S i DATA BASE 0 INDEX REG DATA ADDRESS INTERNAL DATA BUS 15 0 yo BUFFER BASE42 10 5 3 Index register write only registe
13. r at address base 0 the data written as address of the I O port Address Data write to index I O register 0 Data 0 input X 0 Data 1 input X 0 Data 2 X Base 0 Data 3 X output 10 5 4 Operation of 16 Bit index input output mode Data in index register I O address Data I O bit I O Index Reg 0 2 WORDYI 0 15 0 IN 15 IN_O input X Index Reg 1 Base 2 IWORD 1 15 0 IN 31 IN 16 input X Index Reg 2 2 WORD 2 15 0 15 OUT 0 Read Back output Index 3 2 WORD 3 15 0 OUT 31 OUT 16 Read Back output 11 APPLICATIONS 11 1 Accept P B M S EMG Contact Start Stop Limit swith sensor Interlock selective Sw Proximity switch Aux contact of transducer detector 11 2 of S W PLC Controller 12 PROGRAMMING EXAMPLES DEMO 12 1 BYTE MODE OUTPUT EXAMPLE C LANGUAGE Source of D32 BYTE C Use Byte mode of DIO 2232 to output OUTO read 1330 to display CRT include lt dos h gt include lt conio h gt include lt ctype h gt include lt stdio h gt void main begin char in_buffer declare input buffer clrscr clear screen printf Please short JP1 JP2 for switch to BYTE MODE control n JP1 JP2 short for BYTE mode printf Please set base address 280h n card base address at 280H printf B
14. t DI BY OO NO Qi BY Go bo 2 1 3 25 25 2725 25 24 22 24 2 20 ne pe ze s a io 1 19 a s e a 32 67 66 65 64 6261 eo 59 sel sse ss a 52 51 so 49 e arp span eap adeo eor aq PIN DEFINITIONS Descriptions EXT INO External Input 0 N2 External Input 2 4 External Input 4 N6 External Input 6 N8 External Input 8 N10 External Input 10 N12 External Input 12 N14 External Input 14 N16 External Input 16 N18 External Input 18 N20 External Input 20 N22 External Input 22 N24 External Input 24 N26 External Input 26 _IN28 External Input 28 XT IN30 External Input 30 EXT OUT External Output 0 XT OUT2 External Output 2 XT 0 4 External Output 4 EXT OUT6 External Output 6 EXT OUTS8 External Output 8 EXT OUT10 External Output 10 EXT OUTI12 External Output 12 EXT OUT A External Output 14 EXT OUT16 External Output 16 EXT OUTI18 External Output 18 EXT OUT20 External Output 20 EXT OUT22 External Output 22 tri gt Hd tri dd tri gt tri gt 4 tri gt EX X P lt P lt PS tr Descriptions 35 EXT INI External Input 1 36 EXT IN External Input 3 37 EXT
15. ther don t you may keep a output buffer unsigned int BUFFER and operate the change bit with the buffer then copy this buffer to output getch wait for printf Bellow read input30 status input INPUT30 in_buffer inpw 0x282 read base 2 for IN30 to input buffe in_buffer in_buffer gt gt 14 shift IN30 to bit in_buffer in_buffer amp 0 0001 mask off other bits printf Input30 status d in_buffer print at screen program end 12 3 INDEX MODE OUTPUT EXAMPLE C LANGUAGE Source of D32 INDEX C Use Index mode of DIO 2232 to output OUTO and read 1330 to display CRT include lt dos h gt include lt conio h gt include lt ctype h gt include lt stdio h gt void main begin unsigned int in_buffer declare input buffer clrscr clear screen printf Please open JP1 amp JP2 for switch to WORD MODE control n JP1 JP2 open for Index mode printf Please set base address 2801 card base address at 280H printf Bellow set outputO ative n OUTPUTO active outpw 0x280 0x02 write to 280H to setup index register to port2 outpw 0x282 0x0001 OUTPUTO active Write to base 2 to activate OUTPUTO and OUTPUTI to 5 not activate Note If only one bit say OUTPUTO to change state but other don t you may keep a output buffer unsigned int BUFFER and operate the change bit with the buffer

Download Pdf Manuals

image

Related Search

Related Contents

DATA-MANSHRT_DX1000_ITL_Rev. A.p65  Using the Software Package Mathcad As a Tool to Teach Soil Physics  USER GUIDE - Retail Plus  galaxy 34 vacuum tube stereo integrated/power  UM1876 User manual - STMicroelectronics    Model 5194 User`s Manual - Precision Control Systems, Inc.  Nitrogen generator model N2-Bora User`s manual  

Copyright © All rights reserved.
Failed to retrieve file