4n-gx-can-RS232-RS485-commands-v4.7 - eng

4n-gx-can-RS232-RS485-commands-v4.7 - eng 4n-gx-can-RS232-RS485-commands-v4.7 - eng

12.07.2015 Views

4.1 CAN ID Filter SetupThe converters accept messages from specific IDs which can be defined by the CAN identifier (CI), theCAN-Acceptance-Code (CAC) and the CAN-Acceptance-Mask (CAM). CAC defines the mandatoryrequired bits of the received ID and the CAM, the bits to ignore. The CAN identifiercan be determined by the choice of converter id to whether either will be accepted ONLY 11bits (id

4.2 CAN ModesThe converter is in Listen Only mode or normal mode to operate.L = 1 Listen Only Mode (read without ACK) L = 0 Normal Mode (read and write)5 Normal ModeIf the converter powered on and the setup mode is not initiated within 5 seconds, it starts innormal mode. In this mode, the communication of the CAN bus can be monitored (chapter:5.2 Receive Data) and data be transmitted to the bus (chapter: 5.1 Sending Data).5.1 Sending DataAll Data, sent from the computer to the COM port, will be output on the CAN bus.The following formats are used:ID CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID without DataID space Data CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID with DataWith the converter setting:CAN-Identifier = 1F000000 (29 Bit CAN-Identifier)the following data is output: (11 and 29 bit messages)InputMeaning7E8_0001020304 CAN ID 7E8 Data 00 01 02 03 04 Data Length 57E8_0 CAN ID 7E8 no Data Data Length 07E8_01_01 CAN ID 7E8 Data 01 Data Length 11FFFFFFF_010203_03 CAN ID 1FFFFFFF Data 0102030 Data Length 310001234_0102_02 CAN ID 10001234 Data 01020 Data Length 2With the setting:CAN-Identifier = 1FF (11 Bit CAN-Identifier)the following data is output: (only 11 bit CAN messages)InputMeaning7E8_0001020304_05 CAN ID 7E8 Data 00 01 02 03 04 Data Length 57E8_0 CAN ID 7E8 no Data Data Length 07E8_01_01 CAN ID 7E8 Data 01 Data Length 1In case of 11 bit ID no 29 bit ID messages will be sent!5.1.1 Send ErrorIf data is sent in the wrong format to the converter through the USB/COM port, it can be recognizedby the converter response "S" (Enter "S" Enter).e.g.: 1FFFFFFF_010Converter response: "S"(incomplete data, 0101 would be correct)

4.2 CAN ModesThe converter is in Listen Only mode or normal mode to operate.L = 1 Listen Only Mode (read without ACK) L = 0 Normal Mode (read and write)5 Normal ModeIf the converter powered on and the setup mode is not initiated within 5 seconds, it starts innormal mode. In this mode, the communication of the CAN bus <strong>can</strong> be monitored (chapter:5.2 Receive Data) and data be transmitted to the bus (chapter: 5.1 Sending Data).5.1 Sending DataAll Data, sent from the computer to the COM port, will be output on the CAN bus.The following formats are used:ID CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID without DataID space Data CR space = $20 (Space "_") CR = $ 0D (Enter "") - ID with DataWith the converter setting:CAN-Identifier = 1F000000 (29 Bit CAN-Identifier)the following data is output: (11 and 29 bit messages)InputMeaning7E8_0001020304 CAN ID 7E8 Data 00 01 02 03 04 Data L<strong>eng</strong>th 57E8_0 CAN ID 7E8 no Data Data L<strong>eng</strong>th 07E8_01_01 CAN ID 7E8 Data 01 Data L<strong>eng</strong>th 11FFFFFFF_010203_03 CAN ID 1FFFFFFF Data 0102030 Data L<strong>eng</strong>th 310001234_0102_02 CAN ID 10001234 Data 01020 Data L<strong>eng</strong>th 2With the setting:CAN-Identifier = 1FF (11 Bit CAN-Identifier)the following data is output: (only 11 bit CAN messages)InputMeaning7E8_0001020304_05 CAN ID 7E8 Data 00 01 02 03 04 Data L<strong>eng</strong>th 57E8_0 CAN ID 7E8 no Data Data L<strong>eng</strong>th 07E8_01_01 CAN ID 7E8 Data 01 Data L<strong>eng</strong>th 1In case of 11 bit ID no 29 bit ID messages will be sent!5.1.1 Send ErrorIf data is sent in the wrong format to the converter through the USB/COM port, it <strong>can</strong> be recognizedby the converter response "S" (Enter "S" Enter).e.g.: 1FFFFFFF_010Converter response: "S"(incomplete data, 0101 would be correct)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!