Home

I-7530 RS-232/CAN Converter User`s - Q

image

Contents

1. 21 4 6 C CHK lt CR gt Description Clear the CAN RS 232 FIFO overflows error flag on the module gt Syntax C CHK lt CR gt C Command character gt Response Valid Command No response This will turn the ERR LED off after the ERR LED was turned on as a result of the CAN RS232 FIFO overflow error flag Invalid command lt Error Code gt CHK lt CR gt gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command C lt CR gt 4 7 POBBDSPAE CHkK lt CR gt Description Change the RS 232 configuration on the l 7530 module and then reboot the l 7530 module gt Syntax POBBDSPCE CHK lt CR gt PO Command character BB RS 232 Baud rate D Data bit 0 5 bits Data formation 1 6 bits Data formation 2 7 bits Data formation 3 8 bits Data formation Stop bit 0 1 stop bit 1 2 stop bits Parity 0 None 1 Odd 2 Even Checksum O No 1 Yes Error Response 0 No 1 Yes moO vm l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 22 Table 9 RS 232 baud rate list BB Description 00 110 bps baud rate of RS 232 01 150 bps baud rate of RS 232 02 300 bps baud rate of RS 232 03 600 bps baud rate of RS 232 04 1200 bps baud rate of RS 232 05 2400 bps baud rate of RS 232
2. Reserved OOI PIOND The RS 232 receiver is timeout 5 Troubleshooting If the Error response function on the l 7530 module is set to be Yes that means enable via the l 7530 Utility during the configuration period the l 7530 will send the error code to the RS 232 device of the host PC through the RS 232 media when the l 7530 produces an error message automatically during the operation mode The meanings of these error codes are given below Table 12 Error code table Error d da Description Possible causes amp solutions GAAP AAS The RS 232 command string header is not EPT e E SCP P1 nor RA The data byte of the CAN Message does not match 2 Invalid length the data length of the CAN Message For example Error t001512345 lt CR gt Right t00150102030405 lt CR gt l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 25 The checksum from the RS 232 command string does not matched with the checksum calculated by 3 Invalid checksum _ the l 7530 For example Error t0012112209 lt CR gt Right t00121122FD lt CR gt The ASCII command strings are sent incomplete For example Error T0018 Right T0018 lt CR gt 5 Timeout If the l 7530 CAN baud rate is not the same as the CAN baud rate on the CAN network the data flow LED on the l 7530 will be flash with a constant frequency because the l 7530 cann
3. The l 7530 RS 232 CAN Converter User s Manual Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 1997 by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 1 Table of Contents Te IAtGAdUGNOR sae ek ee ee eb ee ie dd ee ie eg ba ee ie 3 1 1 RS gt i te N N 7 Crier t 4 1 2 Specification Sassena idia aa a tes boat testis ee 4 2 e De eie ie ee eie Se Ee Es sd 5 2 1 Block Diagrami EE Ee EE EE EE Ee 5 2 2 PIN ASSIONINGMks RE RES RD EN N Ee 6 2 3 ge see ie ie ER EE DI 7 2 4 Terminator resistor settings iss ee ee ee nn 8 2 5 Init Normal DIPS WIEG EE iiai aai eai aa i ed eudsbeedket 9 2 6 BED IMGICAIGING es ED AD DE De DE De 10 2 7 Cable selection ice ER Ee seid ee arse snd Seda sit cashes ones acd 11 d
4. t03F61 12233445566 lt CR gt Send a CAN message with a standard data frame ID 03F DLC 6 datal 11 data2 22 data3 33 data4 44 data5 55 and data6 66 A2 TIIIL CHK lt CR gt Description Send or receive a standard CAN remote frame gt Syntax TIIL CHK lt CR gt T Represents a standard 2 0A remote frame lll 11 bits Identifier 000 7FF L Data length 0 8 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the host PC l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 18 gt Example Command T2E88 lt CR gt Send a CAN message with a standard remote frame ID 2E8 DLC 8 4 3 ell lIIINILDD CHK lt CR gt Description Send or receive an extended CAN data frame gt Syntax ellllIIIILDD CHK lt CR gt e Stands for the extended 2 0B data frame II 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 DD Input data frame value according to the data length 00 FF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command e1234
5. 13 The 9 command formats are given in the following table More detailed information related to of the each command will be described in the following sub sections Table 5 Command list table Command Description tlIILDD CHK lt CR gt Send or receive a standard data frame TIIL CHK lt CR gt Send or receive a standard remote frame ell INNILDD CHK lt CR gt Send or receive an extended data frame EIII NINL CHK lt CR gt Send or receive an extended remote frame S CHK lt CR gt Read the status value of l 7530 C CHK lt CR gt Clear CAN RS232 FIFO error flag of overflow POBBDSPAE CHK lt CR gt Change the RS 232 configuration P1B CHK lt CR gt Change the CAN configuration RA CHK lt CR gt Reboot the l 7530 module l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 17 41 tllILDD CHK lt CR gt Description Send or receive a standard CAN data frame gt Syntax tiIILDD CHK lt CR gt t Represent a standard 2 0A data frame lll 11 bits Identifier 000 7FF L Data length 0 8 DD Input data frame value according to the data length OO EF gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the I 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command
6. The pin assignment of the CAN port on the l 7530 DB9 male defined in both the CANopen DS102 profile and in appendix C of the DeviceNet specifications It is the standard pin assignment for CAN CAN 1 7530 DEVICE CAN CAN High CAN High 9 CAN Low CAN Low CAN High Figure 5 CAN connection 2 4 Terminator resistor settings According to the ISO 11898 specifications the CAN Bus network must be terminated by two termination resistances 120Q for proper operation as shown in the below figure NN LA Al L 120 OO CAN_L Figure 6 Terminator resistor l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 8 Therefore the l 7530 module supplies a jumper for users to connect the terminator resistor or not If users want to use this terminator resistor please open the l 7530 cover and use the JP3 jumper to activate the 120 Q terminator resistor built in the system as in the following figure Note that the default setting is active Enable default Activate Disable Deactivate JP3 JP3 ele el e ee Figure 7 JP3 positions 2 5 Init Normal Dip switch On the back of the l 7530 module there is a dip switch used for setting the operation or configuration mode of the module function In the normal situation the user needs to first make a configuration in order to provide the correct function when the module works in the operation mode The following steps show how
7. data flow and error LED indicator for CAN and RS 232 e Built in a Dual Watchdog function in the module 1 2 Specifications RS 232 specs e RS 232 interface connector D sub 9 pin female e RS 232 Baud Rate 110 150 300 600 1200 2400 4800 9600 19200 38400 57600 115200 and 230400 not guaranteed CAN specs e CAN interface connector D sub 9 pin male e CAN Baud Rate 10K 20K 50K 100K 125K 250K 500K 800K and 1M bps e Isolation voltage 3000Vrms on the CAN side Power requirement e Unregulated 10V DC 30V DC e Power reverse protection Over Voltage brown out protection e Power consumption 1W Module specs e Dimensions 123mm x 72mm x 33mm e Operating temperature 25 to 75 C 14 to 185 F l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 4 e Storage temperature 25 to 80 C 13 to 185 F e Humidity 5 to 95 non condensing e LEDs ONLED for power and data flow ERR LED for error Software Utility tool e CAN bus Baud Rate configuration e CAN acceptance filter configuration e Setting for CAN 2 0A or 2 0B working mode e Setting the Baud Rate and data format on RS 232 e Setting the RS 232 communication with checksum function or not e Provides a response message or not when the ERR LED is turned on e Provides a quick testing function for transmitting receiving CAN messages Application e Factory Automation e Building Automati
8. host PC Furthermore all response results are shown in the ASCII format Users need to make an ASCII to hex format transformation in order to understand what the meaning is based on the following table Table 6 CAN baud rate list AsciiToHex C Description 0 10K baud rate of CAN 1 20K baud rate of CAN l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 20 2 50K baud rate of CAN 3 100K baud rate of CAN 4 125K baud rate of CAN 5 250K baud rate of CAN 6 500K baud rate of CAN 7 800K baud rate of CAN 8 1000K baud rate of CAN Table 7 CAN register list Ascii ToHex FF Description Bit 7 Bus Off Mode Bit 6 Error Passive Mode Bit 5 Reserved Bit 4 Overrun Buffer Bit 3 Stuff Error General Bit 2 CRC Error General Bit 1 Form Error General Bit 0 Acknowledgment Error General Table 8 CAN RS 232 FIFO overflow flag list Ascii ToHex O Description Bit 3 Reserved Bit 2 Reserved Bit 1 RS 232 FIFO Overflow Bit 0 CAN FIFO Overflow gt Example Command S lt CR gt Receive 50000000 lt CR gt Obtain some current information on the I 7530 module The response will show the following results CAN baud rate 250K CAN register normal CAN transmit error counter 0 CAN receive error counter 0 and CAN RS232 FIFO normal l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01
9. to use this dip switch 1 Configuration mode Please first set the dip switch to the Init Initial position Then the l 7530 will work in the configuration mode after the power for the module has been turned on In this case users can configure the communication parameters of the l 7530 module by using the l 7530 Utility tool 2 Operation mode After the configuration users need to set the dip l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 9 switch to the Normal position Users need to turn the power off then on again so that they can use the l 7530 in the operation mode Once you have completed your configurations and have switched to the operation mode then messages can pass between the CAN and the RS 232 This transmission process depends on the configuration parameters that the users have configured That is the l 7530 functions as a RS 232 CAN converter Normal Figure 8 Dip switch of l 7530 2 6 LED Indication The l 7530 provides the Converter function between the RS 232 port and the CAN port It can handle both an 11 bit and 29 bit ID format according to whether it is a CAN 2 0A or 2 0B In order to provide high performance when converting data the l 7530 has built in software FIFO queues which include 1000 CAN data frames It also provides two LEDs to indicate to users what situation the l 7530 is in The ON LED indicator establishes the power and operation s
10. transmit or receive CAN messages via the l 7530 module There are two methods for communicating with their CAN The first method check Use CAN Message requires users to understand their CAN specifications And input the correct data in the CAN message format The second method uncheck Use CAN Message allows the use of the command string found in table 5 to transmit messages Both methods require the user to click the Send button to transmit the information into the CAN network l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 16 The CAN message will then automatically be displayed in the Receive list box Besides user can press the Clear button to remove the messages on the list box and then the new CAN messages will be shown on the list box again 4 Command list For easy application we provide 9 command strings to allow users to send and receive commands and responses through the l 7530 It can cover most applications of different requests The general format of the commands for the l 7530 are given below Command Format lt Command gt CHK lt CR gt lt Command gt The RS 232 commands of the l 7530 Converter CHK 2 character checksum value It is effective only if the checksum mechanism is set to enable by using l 7530 Utility lt CR gt All RS 232 commands of the I 7530 Converter must end with the character lt CR gt The ASCII value is
11. 06 4800 bps baud rate of RS 232 07 9600 bps baud rate of RS 232 08 19200 bps baud rate of RS 232 09 38400 bps baud rate of RS 232 OA 57600 bps baud rate of RS 232 OB 115200 bps baud rate of RS 232 OC 230400 bps baud rate of RS 232 gt Response A valid command will write the RS 232 configuration parameters into the EEPROM and then reboot the l 7530 module Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the I 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command POOB30000 lt CR gt Set the RS232 baud rate 115 2K data bit 8 stop bit 1 none parity no checksum and No error responses into the I 7530 module and then reboot the I 7530 module 4 8 P1B CHK lt CR gt Description Change the CAN configuration of l 7530 module and then reboot the I 7530 module gt Syntax P1B CHK lt CR gt P1 Command character B CAN Baud rate l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 23 Table 10 CAN baud rate list Description 10K baud rate of CAN 20K baud rate of CAN 50K baud rate of CAN 100K baud rate of CAN 125K baud rate of CAN 250K baud rate of CAN 500K baud rate of CAN N IO UI POIPD oW BOOK baud rate of CAN 8 1000K baud rate of CAN gt Response A valid command will write the CAN conf
12. 567851 122334455 lt CR gt Send a CAN message with an extended data frame ID 12345678 DLC 5 datal 11 data2 22 data3 33 data4 44 and data5 55 4 4 EIIIIILICHKICR Description Send or receive an extended CAN remote frame gt Syntax EIMIMIL CHK lt CR gt E Stands for the extended 2 0B CAN remote frame TT 29 bits Identifier 00000000 1FFFFFFF L Data length 0 8 l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 19 gt Response Valid command No response Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the I 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command E010156786 lt CR gt Send a CAN message with an extended remote frame ID 01015678 DLC 6 4 5 S CHK lt CR gt Description Read the l 7530 CAN Baud Rate and error flag message gt Syntax S CHK lt CR gt S Command character gt Response Valid Command CFFTTRRO CHK lt CR gt Invalid command lt Error Code gt CHK lt CR gt Delimiter for valid command C current baud rate setting of CAN FF CAN register TT CAN transmit error counter RR CAN receive error counter O CAN RS 232 FIFO Overflow flag gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the
13. Software Utility isss sesse es Ee Ge EER EE Ke LG EG ERA ENE ke Ee see AE RE Ge dee ed 12 3 1 How to configure the module parameters eeeeeeeeeeeeeeeeeeeeeeees 13 3 2 How to test the module transmission performance see 15 4 GOMMANG liSt ss see OE SEEN N SG IE Ee N ad De ewe ae we id de ae ad ee ei 17 4 1 HNED De ICAK ACR GE GE adie here De ec 18 4 2 TINE ds Re sete eee occ EE EE OE EO i i Aai 18 4 3 INNMMMILDD CHK lt CR gt ceeeccccceeeeceeeeeeeeeeeenneeeeeeeeeeeeseseneeeeeeeeees 19 4 4 EMMILGCAK CRS Moses acre Marae Martel ht arctan Seater andes ee hele 19 4 5 DIE HEK ad eae cree IE Cone ete cord ere een R 20 4 6 CI CHIC RS 8E trae fon RE fart titi Stn Sik EE eta east 22 4 7 POBBDSPAEIG KEER savas REDE Ge awash ee 22 4 8 lede de RE tte eee reese 23 4 9 BAIGHKIEE RS side dette ntti ee Ee let dads ee ee 24 4 10 General Error code for all command sesse ee ese ee ee ee 25 5 TROUDIGSHOOUIAG PER EE EE RE EE EE N EE OE N N 25 l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 2 1 Introduction CAN Controller Area Network is a serial bus control protocol especially suited to structure intelligent industry devices networks and build smart automatic control systems Figure 1 shows the application architecture for l 7530 modules The PC can be the CAN host monitor or HMI to access control the CAN device through the CAN network by the I 7530 Converter The p
14. as below ls Set the Init Normal switch to the Init position which is located at the back of the l 7530 module Connect the power source the 10 30 DC volts into the I 7530 module The l 7530 module s ON LED will flash approximately once per second That means the l 7530 module is working in the configuration mode The user must run the I 7530 s Utility software after they have made a wire connection between the PC and the l 7530 via the COM port Click the Settings icon on the l 7530 Utility tool bar in order to select which PC COM port will be used to connect to the l 7530 COM port as shown in the following figure Then click the OK button l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 13 M PC s RS 232 Settings COM Port come 7 Timeout 500 ms 6 Click the Connect icon to bring out the l 7530 configuration window The l 7530 Utility will show the communication information from the l 7530 module in the window as shown in the following figure Ed 17520 Utility File Actions Options Help Tarf Connect Disconnect Settings Exit About Settings Test RS 232 Parameters CAN Parameters RS 232Baudrate 115200 bit sec CAN Specification 204 Data Bit e bit CAN bus Baudrate hask bit sec Stop Bit hoo H bit Acceptance Code Joooooo00 Hex Parity None bit Acceptance Mask oooo0000 Hex Add Check
15. e The CAN L and CAN H Wire start on one end of the total CAN network that a terminator of 120 Ohm is connected between CAN L and CAN H The cable is connected from CAN node to CAN node normally without or with short T connections On the other end of the cable again a 120Q Ohm terminator resistor is connected between the CAN lines How to decide a cable type cable length and terminator depends on the baud rate in the CAN BUS network please refer to the following table 4 amm Figure 10 Un shielded Twisted Pair UTP l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 11 Table 4 Cable selection Cable Bus speed Cable type TE EE Terminator Bus Length 0 75 0 8mm2 150 300 50k bit s at 1000m 18AWG 70 mOhm Ohm 600 1000m 0 5 0 6 mm2 150 300 100k bit s at 500m 20AWG lt 60 mOhm Ohm 300 600m 0 34 0 6mm2 500k bit s at 100m 22AWG lt 40 mOhm 127 Ohm 40 300m 20AWG 0 25 0 34mm2 1000k bit s at 40m 23AWG lt 40 mOhm 124 Ohm 0 40m 22AWG Note The AWG means a standard method used to measure wire The numbering system works backwards from what people would think the thicker heavier the wire the lower the number For example a 24AWG wire is thicker heavier than a 26AWG wire 3 Software Utility Users can download l 7530 Utility software from the ICP DAS web site http www icpdas com products 7Z000 i 7530 htm or get this information from the ICP DAS compa
16. iguration baud rate into the EEPROM and then reboot the l 7530 module Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the host PC gt Example Command P14 lt CR gt Set the CAN baud rate 125K into the I 7530 module and then reboot the I 7530 module 4 9 RA CHK lt CR gt Description Reboot the l 7530 module If the module is displaying on but the CAN bus is off users can use this command to reboot the module in order to allow it to work in order again gt Syntax RA CHK lt CR gt RA Command character gt Response Valid command will reboot the l 7530 module Invalid command lt Error Code gt lt CR gt gt Note It is necessary to enable the Error Response function in the l 7530 Utility in order to receive Syntax and or communication error information at the host PC l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 24 gt Example Command RA lt CR gt The I 7530 module will reboot after it had received this command 4 10 General Error code for all command Table 11 Error code table Ascii ToHex Error code Description The head character of the command string is invalid The length of the command string is invalid The checksum of the command string is invalid
17. ituation simultaneously If the module is working in the operation mode the ON LED is always turned on However when the module is working in the configuration mode the ON LED will flash approximately once per second The ERR LED is used for demonstrating an error that has occurred That is the ERR LED is normally turned off when the module works in a good condition On the other hand when the BUS OFF error indicator of the CAN controller has been alerted the ERR LED will turn on In this case users can only reboot the l 7530 module in order to turn off the ERR LED If the CAN RS232 FIFO overflows the ERR LED will also be turned on l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 10 Furthermore If users want to check what the error situation is they must send the command string S CHK lt CR gt Depending on the result users will need to either reboot the l 7530 or use the command string C CHK lt CR gt to clear the FIFO flag which will then turn off the ERR LED Figure 9 LED position Table 3 LED indication LED Name l 7530 Condition LED Status ON LED Configuration Mode Flashes once per second Operation Mode Always turned on ERR LED Some errors occurred Always turned on 2 7 Cable selection The CAN bus is a Balanced differential 2 wire interface running over either a Shielded Twisted Pair STP Un shielded Twisted Pair UTP or Ribbon cabl
18. module Connect the I 7530 s CAN port into the CAN network which must at least have one CAN device on the network Supply the 10 30 volts DC source into the l 7530 module through the power terminal The ON LED on the l 7530 module will be turned on That means the l 7530 is working in the operation mode Run the l 7530 Utility software after there is a wire connection as shown in Section 1 5 Click the Settings icon on the tool bar in the l 7530 Utility to configure the PC COM port which will be used to connect to the COM port of the l 7530 l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 15 PC s RS 232 Settings COM Port come 7 Timeout 500 ms Figure 14 COM port setting 7 Click the Connect icon to connect to the I 7530 s testing mode Then the l 7530 Utility will show the test tab in the window as can be seen in the below figure Ea 1 7530 Utility File Actions Options Help gH es 4 Connect Disconnect Settings Exit About Settings Test Receive CAN Message ID Hex MODE ATR DLC ma el ele D1 D3 D4 DS DB foo fafa EE EE M Use CAN Message Interval 500 Get gt Send if Clear Ver 1 02 Copyright c 2004 ICP DAS Co LTD Figure 15 Connect to the operation mode of l 7530 f Connected to COM2 Operation Mode 8 Select the Test tab Users will then be able to
19. nion CD ROM The l 7530 Utility tool can be used to configure the operation condition between the CAN and RS 232 communications Also it can be used to transmit or receive a CAN message for simple testing of the module s functions To start the l 7530 Utility please run the 17530 exe file The screenshot of the startup screen for this Utility is given in the below figure Connect the 7530 s COM port with the PC s COM port via a RS 232 cable Then the user can connect the CAN interface into the CAN network based on the CAN specifications For further information related to this please refer to section 1 5 of this manual on how to make a hardware connection l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 12 ka 1 7530 Utility File Actions Options Help a Connect Disconnect Settings Exit About PEN Beososossesooososeessso RS 232 Parameters CAN Parameters RS 232 Baudrate g bit sec CAN Specification a Data Bit g bit CAN bus Baudrate yd bit sec Stop Bit bit Hex Parity bit Hex AddCheeksum gt Error Response g lel Defaults Not connected Copyright c 2004 ICP DAS Co LTD Figure 11 l 7530 Utility 3 1 How to configure the module parameters The following procedure will guide you on how to configure the communication parameters for the CAN and RS 232 interface The configuration steps are depicted
20. on e Home Automation e Control system e Monitor system e Vehicle Automation 2 Hardware 2 1 Block Diagram Figure 2 is a block diagram illustrating the functions on the l 7530 module It provides the 3000Vrms Isolation in the CAN interface site And hardware media in RS 232 interface is only adopted 3 wire connection l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 5 2 2 Isolation lock Diagram of 1 7530 Figure 2 Block diagram of l 7530 Pin Assignment Table 1 RS 232 DB9 Female Connector CN1 Terminal 3 wire RS 232 1 Not Connect 2 TXD 3 RXD 4 Not Connect 5 GND 6 7 3 Not Connect 9 Table 2 CAN DB9 Male Connector CN2 Terminal 2 wire CAN 1 Not Connect 2 CAN Low 3 4 5 Not Connect 6 7 CAN High 8 Not Connect l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 n oa DO eeee gt 1 40 Ca yA Nn rd S R Vs a B GND 19 N Figure 3 Pin Assignment on the l 7530 2 3 Hardware connection The RS 232 port on the l 7530 DB9 female is inserted directly into a PC s COM serial port or via a cable to the Host system PC Host 1 7530 COM1 COM2 RS 232 Figure 4 RS 232 connection l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 7
21. ot send any CAN messages to the CAN network Therefore users will need to read the l 7530 status by using the command S CHK lt CR gt in the section 4 5 to help users understand what is going in the module In general the following errors could occur CAN media connection problem terminal resistor problem different baud rate configuration with CAN network and the like l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 26
22. rogrammable RS 232 device For example l 841 1 l 8431 I 881 1 l 8831 W 8031 W 8331 W 8731 embedded controller can use the serial port to connect to the CAN network via the l 7530 module PC Programmable RS232 Device ss i We ry S I RS 232 II RS 232 1 7530 2 l 7530 U li AN NETWORK g T 5 ec MK Figure 1 Application of l 7530 In order to use the CAN network with traditional RS 232 devices we provide a way to achieve this goal Therefore l 7530 is designed to unleash the power of the CAN bus via the RS 232 communication method It accurately converts messages between CAN and RS 232 networks It also allows users to communicate with CAN devices easily through any PC or devices with a RS 232 interface The main features and specification of this are described as below l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 3 1 1 Features Microprocessor inside with 20MHZz CAN interface connector D Sub 9 pin Phillip 820250 CAN transceiver Provide One CAN and RS 232 Port Built in CAN RS 232 Converter firmware Max transmission speed up to 1M bps for CAN and 115 2K bps for RS 232 interface Provide Software configuration for CAN and RS 232 communication e Max transmission distance over 1000m based on CAN specification sec section 2 7 e Support both CAN 2 0A and CAN 2 0B e Build in jumper to provide 120 ohm terminal resistor or not in CAN network e Provide power
23. sum No v Eror Response No hd Ja Defaults Connected to COM2 Configuration Mode Yer 1 02 Copyright c 2004 ICP DAS Co LTD Figure 13 Connect to the configuration mode of the l 7530 7 Choose the Settings tab to open the configuration window for the CAN and the RS 232 communication parameters of the l 7530 Once users have finished changing the parameter settings please click the Setting button to store the communication parameters into the EEPROM on the l 7530 Note If users click the Defaults icon all of the CAN and RS 232 communication parameters on the l 7530 will be set to the default l 7530 RS 232 CAN Converter User s Manual Version 1 0 Aug 2004 7PH 021 01 14 values which are RS232 RS 232 Baudrate 115200 Data Bit 8 Stop Bit Parity None Add Checksum No Error Response No CAN CAN Specification 2 0A CAN bus Baudrate 125K Acceptance Code 00000000 Acceptance Mask 00000000 3 2 How to test the module transmission performance The following procedure will guide you to learning how to transmit receive CAN messages to from other devices PCs by using the I 7530 converter Note that users can only employ this test function for the system if they are using the default communication parameters for the RS 232 as provided above 1 2 Set the Init Normal switch to the Normal position which is found at the back of the l 7530

Download Pdf Manuals

image

Related Search

Related Contents

幅広いレンジアビリティを コンパクトボディに搭載  Générateur de caractères Manuel d`utilisation  ENG - Koolant Koolers  Viewsonic LED LCD VA1928wm  KOHLER K-R72509-CP Installation Guide  29 Importante  EVBUM2078 - NB4N840MMNEVB Evaluation Board User`s Manual  Dustless Technologies 15505 Use and Care Manual  PdF (730 ko) - Programme Solidarité Eau  Siemens LC64GB522B cooker hood  

Copyright © All rights reserved.
Failed to retrieve file