Home
Manual
Contents
1. SERIAL COMMUNICATION INTERFACE FOR INDUSTRIAL AUTOMATION ADAM 4541 Fiber Optic to RS 232 422 485 Converter ADAM 4542 Single modeFiber Optic to RS 232 422 485 Converter Introduction Fiber optic transmission offers the benefits of wide bandwidth immunity to EMI RFI interference and secure data transmission The ADAM 4541 ADAM 4542 can be used as an RS 232 422 485 point to point or point to multipointconnection for transmitting and converting full half duplex signals and their equivalentswithin a fiber optic environment Fiber optics are the perfect solution for applications where the transmission medium must be protected from electrical exposure lightning atmospheric conditions or chemical corrosion The ADAM 4541 4542is specifically designed to link various machinery equipped with RS 232 422 485 communication ports Such as computer systems or manufacturing machines Using standard ST connectors the module sfiber optic ports can accommodate a wide range of fiber optic cable sizes including 62 5 125 9 125 m F eatures Compact size economizes space Direct plug and play Easilymounted on a DIN rail panelor piggyback Transmission speeds of up to 115 2 kbps Optical fibers enabletransmission of 2 5 km for ADAM 4541 and 15 km for ADAM 4542 Half Full duplex bidirectionaltransmission mode Avoids lightningstrikes and EMI RFI interference Prevents damage from electrostaticdischarg
2. 2f8 static char rec 160 static char cmd 160 void main f int i timeout char rflag tflag bioscom 0 0xE3 0 Set COM1 as follows Baud Rate 9600 Data Bits 8 printf nInput string Parity none Stop Bits 1 gets cmd while cmd 0 g amp amp cmd 0 Q cmd strlen cmd 0x0d i 0 tflag 1 while tflag Send data outportb base0 cmd i while inportb base0 5 amp 32 32 rflag 1 timeout TIME_OUT while rflag Check received data if inportb base0 5 amp 1 0 Receive data rec i inporthb base0 if rec i 0x0d rec itl 0 printf nReceived data s n rec tflag 0 rflag 0 else Check timeout timeout if timeout 0 printf Timeout error rec i l 0 rflag 0 tflag 0 i printf nInput command gets cmd ADAM 454114542 User s Manual Troubleshootino Possible reasons for malfunction y The TX and RX connection5 are rever5ed Solution Make 5ure the fiber connection i5 made 50o that the TX of one end i5 connected to the RX of the other Poor connection between the ADAM 454114542 and the communication port Solution Make 5ure the ADAM 454114542i5 5ecurelyp1uggedinto the communi cation port aK i m F Attenuation on the fiber cau5e5the 5igna1 1evel to d
3. e Stable and error free data transmission Automatic internalRS 485 bus supervision No external flow control signalsrequired for RS 485 Transient Suppression and over current protection on RS 422 485 data lines Reserved space for termination resistors LED for power and data flow indication Power requirement 10 30 Vic ADAM and the ADAM logo are trademarks of Advantech Specifications ADAM 4541 ADAM 4542 Fiber Optics multi mode single mode Wavelength 820 nm 1310 nm Transmission Distance 2 5 km 15 km Optical Power Budget attenuation 12 5 dB 9 dB 1 W typical 1 6 W typical P ower Consumption 1 5 W max 2 1W max Casing ABS with captive mounting hardware Communication mode Asynchronous Connector Plug inscrew terminal Fiber port ST Transmission mode Full Half duplex bidirectional Transmission rate Up to 115 2 kbps Operating temperature 10 70 C 14 158 F Operating humidity 5 95 non condensing Accessories included Nylon DIN rail mounting adapter SECC panel mounting bracket Note Fiber optics are designed for industrial applications 50 125 m 62 5 125 m and 100 140 m are commonlyused for multi mode 9 125 m are commonlyfor single mode Installation Unpacking The ADAM 4541 4542 package includesthe following e 1 ADAM 4541 or ADAM 4542 module e 1 mou
4. er The baud rate and data format are set using SW1 and SW2 in the converter The defaultsettings are Default settings Function Setting Baud rate 9600 bps Data format 10 bits The following tablesillustrate the switch settings for the ADAM 454114542 ADAM 4541 4542 data format settings SW1 Data Format 1 Z 9 bits O O 10 bits O 11 bits O 12 bits C 2 Off O0On Default ADAM 4541 4542 baudrate settings SW2 Baud Rate 1 Z 3 4 5 6 7 8 9 1200 bps O O OU OU GO UU oO 2400 bps O Co OO te Ue 4800bps O CO OO O00 0 9600bps O O 060 00000 19 2 kbps O O O O O OOO 38 4 kbps OOOO 08 CO 0 O 57 6 kbps O O O O O O O O 115 2kbs O O O O O O O O RS 2321422 O O O O O O O O O Off On Default Block Diagram RS 232 Fiber RS 422 er Optic pa _ RS 485 ee 4 a Fiber Repeating ADAM 5000 485 ADAM 454114542 User s Manual Example Program The following program can be used as a diagnostic test for the ADAM 4541 14542 It will transmit a string to COM1 and also receive a string from COM1 of the computer a loop backtest Program LOOPBACK C Signal Wiring Sse When you run the eXample program connect include lt dos h gt the ADAM 454114542terminalsas follows include lt io h gt include lt stdio h gt include lt conio h gt define TIME OUT 4000 static int base0 0x3f8 static int basel 0x
5. nting bracket e 1 User s Manual e 1 3P to DB 9 cable Red RX white TX Black GND Part No 2000000330 1st Edition Printed in Taiwan May 1999 Switch and jumper Settings Switch Settings The ADAM 454114542converter has two DIP switches which set the data format number of bits and baud rate for the ADAM network Pleaseremember to configure the 110 modules in the network via software commands Your program and the PC s serial port shouldmatch the settings of the converter and repeater modules SW1 Switch 1 controls the data format Data can be 9 10 11 or 12 bits The factory defaultis 10 bits one start bit eight data bits one stop bit and no parity bit When using the converter in combination with other ADAM modules do not change the default setting of the converter since ADAM modules have a fixed data format of ten data bits The option of changing to 9 11 or 12 bitsis for use with other modules other than ADAM modules that have different data formats Should you change the ADAM module sdata format be aware that you willalso have to change the data format settings on al the other modulesin the network SW2 Switch 2 sets the baud rate The options range from 1200 bps to 115 2 kbps The factory defaultis 9600 bps Be aware that when you change the baud rate you also have to change the baud rate for all the connected modulesaccordingly Default settings The ADAM 454114542is not addressableby the host comput
6. rop below the accepted tevel Solution Reduce the attenuation by reducing connector 1055 tran5mi55iondi5tance5 etc 7 The connection between the communication port5 i5 neither DTE to DTE nor DCE to DCE connection Solution Add a converter to one of the opticat modem5 50 that the pin a55ignment5 from the communication port to the modem are from pin 2 to pin 3 and from pin 3 to pin 2 The fiber ha5 been damaged Solution Repair or rep1acethe fiber ft The ADAM 454114542ha5 been damaged Solution U5e the 5upptied5oftware to perform a 100p backte5dt of the optica1 modem Thi5 wii detect if the modute i5 damaged ary m ag Tt For the ea5e of ude in indudtrial environments the ADAM modutedare dedigned to accept industry Standard 24 V e unregulated power Operation i5 guaranteed when uding any power Supptlybetween 10 and 30 V Power ripp1e5 mudt be 1limitedto 5 V peak to peak whilethe voltagein aii ca5e5 mudt be maintained between 10 and 30 Ve All power Supply5pecificationS are referenced at the moduieconnector The power cabie55hou1dbe 5e1ectedaccording to the number of modute5connected and the 1ength of the power 1ine5 When u5ing a network with long cabie5 we advide the ude of thicker wire to limit line voltagedrop In addition to 5eriou5 voltagedrop5 1ong voltage 1ine5 can a150 cau5e interference with communication wired i J B GND 10 re Power supply 10 30 V We advi5e tha
7. t the following 5tandard co1or5 a5 indicated on the modu1e5 be u5ed for power 1ine5 V5 R Red GND 4 B Black ADAM 454114542 U5er 5 Manuat
Download Pdf Manuals
Related Search
Manual manual manualslib manual car manual timesheet manual transmission manuale digitale manually meaning manual wheelchair manual arts high school manually update your device drivers windows manual labor manual definition manual for courts martial manual muscle testing manual muscle testing grades manually register devices with autopilot manual keyboard manual blood pressure cuff manualidades manual lawn mower manual transfer switch manual transmission cars for sale manual therapy cpt code manual libs manual autopilot enrollment
Related Contents
AFG3000 Series Quick Start User Manual D-Link DWA-140 Tri Power X33 Mod HP Pattex Résist` A Tout - Colle Haute résistance Samsung 2233BW Korisničko uputstvo Reportage Collège Voltaire Sorgues 84 Addolcitore d`Acqua Water Softener Adoucisseur d`Eau Manual de instrucciones TERMÓMETRO DIGITAL NEWヒノレソ ー取扱説明書 Untitled - elkarlibbuk.elkar.com Copyright © All rights reserved.
Failed to retrieve file