ZLG CANHub-AF2S2 Product User Manual

ZLG CANHub-AF2S2 Product User Manual

Optical can hub

Advertisement

Quick Links

CANHub-AF2S2
Optical CAN Hub
UM01010101
V1.02
Category
Keywords
CANHub-AF2S2, Optical CAN Conversion, Hub
The CANHub-AF2S2 intelligent CAN hub has two optical
fiber interfaces and two electrically isolated CAN bus
twisted pair interfaces. This realizes data
reception/storage/forwarding between four independent
Description
CAN networks of different rates, filters unnecessary CAN
messages, reduces the load of the subnet, CAN network
topology, extends the network communication distance,
and increases the number of nodes and other functions
©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
Date: 2019/03/15
Contents
Product User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CANHub-AF2S2 and is the answer not in the manual?

Questions and answers

Summary of Contents for ZLG CANHub-AF2S2

  • Page 1 Product User Manual Category Contents Keywords CANHub-AF2S2, Optical CAN Conversion, Hub The CANHub-AF2S2 intelligent CAN hub has two optical fiber interfaces and two electrically isolated CAN bus twisted pair interfaces. This realizes data reception/storage/forwarding between four independent Description CAN networks of different rates, filters unnecessary CAN...
  • Page 2 V1.00 December 18, 2014 Created V1.01 March 10, 2015 Added a dimension drawing. Updated the document header and footer and "Sales and V1.02 March 15, 2019. Service Network" content, and added the "Disclaimer" content ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 3: Table Of Contents

    4. Function Configuration ................12 Software Startup Interface ................12 Basic Information ..................... 14 Baud Rate ......................16 Routing ......................19 Filtering ......................20 Status ....................... 21 5. Inspection and Maintenance ..............24 6. Disclaimer ....................27 ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 4: Functions

    CAN bus network. The CANHub-AF2S2 can be used in CAN networks with baud rates up to 1 Mbps. All channels can work at different baud rates. CANHub-AF2S2 complies with CAN specification 2.0A (11-bit CAN identifier) and 2.0B (29-bit CAN identifier).
  • Page 5: Parameters

    ◆ Storage temperature: -40° C to +85° C; 1.3 Typical Applications ● Industrial automation control system; ● Intelligent building control data and broadcasting system; ● Security product; ● Electricity, mining communications; ● Other field control and communication fields; ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 6: Hardware

    Optical CAN Hub User Manual User Manual 2. Hardware 2.1 Product Appearance Figure 2.1 shows the appearance of CANHub-AF2S2 device. Figure 2.1 CANHub-AF2S2 optical CAN hub 2.2 Components and Functions Figure 2.2 and Table 2.1 show CANHub-AF2S2 components. Figure 2.2 CANHub-AF2S2 components...
  • Page 7 CANHub-AF2S2 Optical CAN Hub User Manual User Manual Table 2. 1 Functions of CANHub-AF2S2 components Label Name Description CAN bus twisted pair port Corresponding port: CAN2 CAN bus fiber optic port Corresponding port: Fiber2 CAN bus fiber optic port Corresponding port: Fiber1...
  • Page 8: Device Installation

    User Manual 3. Device Installation This chapter describes how to install a CANHub-AF2S2 device, including device installation and system wiring. Be sure to install it by referring to the instructions. Improper installation may cause equipment malfunction, resulting in damage to the equipment.
  • Page 9: Wiring

    Power supply: TheCANHub-AF2S2 has a rated power of 5 W. But when the current is connected, the inrush current will reach about 5 times this current; Terminals: CANHub-AF2S2 has two power input terminals: two Pin AWG 14-22 plug-in terminals and DC JACK socket. The power cord can be connected to either terminal, but not both power terminals at the same time.
  • Page 10: Connecting To The Pc From Rs-232

    Figure 3.2 CANHub-AF2S2 power interface 3.2.2 Connecting to the PC from RS-232 The CANHub-AF2S2 is configured via the RS-232 interface. Figure 3.3 and Table 3.1 show the pins for the RS-232 interface on this device. Figure 3.3 RS-232 interface of CANHub-AF2S2 Table 3.1 Description of the RS-232 interface pins of CANHub-AF2S2...
  • Page 11: Connecting The Network

    User Manual 3.2.3 Connecting the Network CANHub-AF2S2 provides two twisted pair and two fiber CAN channels. Each channel is peer-to-peer and can be used to connect a CAN network or a device equipped with a CAN interface. The four channels are respectively routed by two 5-pin AWG 14-22 plug-in terminals and two optical fiber interfaces, as shown in Figure 3.4...
  • Page 12 Do not directly insert the communication port of the DeviceNet device into the twisted pair port of the CANHub-AF2S2, although the device port can withstand the voltage of 36 V DC, as shown in Figure 3.6.
  • Page 13 Figure 3. 7 CANHub-AF2S2 optical interface Because the optical fibers are connected point-to-point (several cables cannot be connected together like twisted pairs), each optical fiber interface of the CANHub-AF2S2 has two connectors, TX and RX, for connecting the optical fibers. The TX of the optical fiber interface can only be connected to the RX of another optical fiber interface through the optical fiber.
  • Page 14: Led Indicators

    CANHub-AF2S2. 3.2.4 LED Indicators There are 10 LED indicators on the top panel of the CANHub-AF2S2. After the CAN bus is connected, when the system has no data transmission, the network active status indicator and the network error status Fault indicator should be off. When there is data transfer, all the network active status Active indicator flashes.
  • Page 15: Function Configuration

    CANHub-AF2S2 to meet the actual application requirements. The device configuration includes CAN baud rate, message routing, message filtering, and adaptive baud rate timeout. Connect the CANHub-AF2S2 to a PC via an RS232 cable, and a dedicated configuration program running on the PC completes the settings without any hardware jumper or switch configuration.
  • Page 16 CANHub-AF2S2 Optical CAN Hub User Manual User Manual Figure 4.1 CANCfg startup interface ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 17: Basic Information

    User Manual Figure 4.2 Selecting CANHub-AF2S2 4.2 Basic Information The first tab of CANHub-AF2S2 configuration is basic information, including serial port connection and disconnection, basic information of the device, global settings of the device, and import and export of configuration files.
  • Page 18 Read configuration from CANHub-AF2S2 (including configuration of other tabs). Set All Writes all configurations (including those of other tabs) to the CANHub-AF2S2 device. After configuring the baud rate parameters, routing parameters, and filtering parameters of the device, switch to the "Basic Information" page, and click the "Set All" button to complete all the device configurations.
  • Page 19: Baud Rate

    After setting the baud rate parameters, write these parameters into the CANHub-AF2S2 device. After the self-adaptive baud rate parameters are set, they will take effect after the device is powered on again. ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 20 Range: 1 to 64 BRP = 2 BRP.3+2 BRP.2+2 BRP.1+2 BRP.0+2 BRP.5+2 BRP.4+ BRP.3+2 BRP.2+2 BRP.1+2 BRP.0+1 Sampling mode Register BTR1 SAM = 0: Single sample mode SAM = 1: Three-sampling mode Synchronize jump width Range: 1-4 ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 21 TSEG1 ≥ TSEG2 TSEG2 ≥ SJW Example: CANHub-AF2S2 system clock is 16 MHz. According to the standard baud rate recommended by CiA, the adoption point is about 85%. When the baud rate is 500 kbps, the 32-bit value of the baud rate should be 0x001C0001 (TSEG1=0x0C, TSEG2=0x01, SJW=0x00, SAM=0x00, BRP=0x01).
  • Page 22: Routing

    CAN channel of the bus baud rate successfully detected); if the bus baud rate is not detected successfully, CANHub-AF2S2 will set the baud rate of the channel based on the bus baud rate configured by the user in the previous step.
  • Page 23: Filtering

    Figure 4.6 Routing function 4.5 Filtering CANHub-AF2S2 has a powerful message filter. The filter has 1,024 cells and can hold 1,024 standard identifiers or 512 extended identifiers or a mixture of both types. On the "Filter" tab page, the filter types are divided into four types: Standard Frame Identifier, Standard Frame Group Identifier, Extended Frame Identifier, and Extended Frame Group Identifier.
  • Page 24: Status

    Switch to the basic information interface, and click the "Set All" button to complete the configuration of device packet filtering. 4.6 Status You can view the status of each channel of CANHub-AF2S2 by using the configuration program, as shown in Figure 3.8. ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 25 Data overflow status: Because the data previously transmitted to the CAN controller has not been read out, and the receiving buffer is not released in time, the subsequent information is lost. Blue: no data overflow. Yellow: data overflow. Continued ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 26 Yellow: The CAN controller is not processing/is inhibited from processing bus activity because the value of the send error counter has reached the limit value 255. RXERR Current value of the Rx error counter. TXERR Current value of the Tx error counter. ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 27: Inspection And Maintenance

    User Manual 5. Inspection and Maintenance The main electrical components in the CANHub-AF2S2 are all semiconductor components. Although they have a long service life, they may age rapidly under inappropriate conditions. Periodic inspections should be carried out to ensure that the required conditions are maintained.
  • Page 28 Check that the No looseness Correct any incorrectly cable connector installed connectors is fully inserted and locked ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 29 Check crimp Leave enough Visual inspection. If connectors in space between necessary, adjust the external wiring connectors operating voltage Check for No damage Visual inspection. Replace damage to the cable if necessary external cables ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 30: Disclaimer

    ZLG Electronics does not guarantee the applicability of this document at any time. ZLG Electronics shall reserve the right to update this manual without prior notice. To get the latest version, please visit the official website of ZLG Electronics regularly or contact ZLG Electronics. Thank you!
  • Page 31 DC JACK IN power terminal 2-pin AWG 14-22 pluggable power terminal 5-pin AWG 14-22 pluggable terminal terminal Dual SC pluggable fiber optic interface DB9 serial communication port LED indicator Power (PWR), Running (SYS), Active (Active) (2), Error (Fault) ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
  • Page 32 CANHub-AF2S2 Optical CAN Hub User Manual User Manual Dreams come true with professionalism and dedication. Guangzhou ZLG more details, Welcome call please visit national service hotline Electronics Co., Ltd. www.zlg.cn 400-888-4005 ©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.

Table of Contents