Introduction: Technological Evolution of Distributed I/O and HSL System Positioning
With the development of modular and flexible production line equipment, the traditional PLC centralized control mode has exposed problems such as complex wiring, difficult expansion, and high maintenance costs when dealing with a large number of sensors and actuators distributed over long distances. Distributed I/O installs input/output modules nearby the device and communicates with the main controller through a high-speed bus, becoming the standard architecture for modern intelligent manufacturing.
The Linghua Technology HSL system is a high-performance master-slave fieldbus based on RS-422 physical layer improvement. Its design goals are very clear: time determinism (accurate and computable scan cycles), high throughput (up to 12 Mbps transmission rate), and easy deployment (using standard Ethernet cables and RJ-45 connectors). The system core control card (PCI-7853/7854 or PMC-7852/G) is responsible for polling all slave modules and mapping I/O status to onboard SRAM. User applications can directly read and write memory through the PCI/PMC bus without processing underlying protocols.
HSL-DO32-M-N/P is a high-density digital output module in the HSL slave family, providing 32 transistor outputs (NPN or PNP type), occupying 2 slave indexes, suitable for driving actuators such as relays, solenoid valves, indicator lights, etc. Its aluminum alloy shell (M series) enhances heat dissipation and mechanical protection capabilities, and when combined with a dedicated terminal base (HSL-TB32-M-DIN), enables quick wiring and hot swappable replacement.
HSL system architecture and communication principles
2.1 master-slave polling mechanism
HSL adopts a single master multi slave command/response communication model. The main controller sequentially sends command frames to each slave station, including output data settings and input data requests. After receiving a command that matches its own address, the slave station immediately updates the output channel status and returns the current input status. This combination of "setting output+reading input" is completed within one command response cycle, greatly improving efficiency.
In the manual, the metaphor of "teacher student" is used: the master station calls on the teacher one by one (slave station number), releases output values, and requires answers to input status. After the students answer, the teacher records the answers on the blackboard (SRAM). After one round of roll call is completed, all slave outputs have been refreshed, and the main station memory has also saved the latest input data.
2.2 Physical Layer and Transmission Rate
Electrical standard: Improved RS-422 Multi drop, with full duplex or half duplex options.
Connection medium: Standard shielded Cat-5e Ethernet cable, RJ-45 interface.
Transmission speed: The software can be set to 3 Mbps, 6 Mbps (default), and 12 Mbps.
Port design: Each controller provides 2 physical ports (RJ-45), and each port can connect up to 32 slave modules in series. Two ports have the same signal (sending), but the receiving circuit is independent and supports redundant or partitioned wiring.
2.3 Slave Index and Address Mapping
Each slave module sets the starting address (1~63, address 0 reserved) in the system through a 6-digit DIP switch. Different modules occupy different numbers of indexes:
Single index module: such as HSL-DI16DO16 (16 in/16 out) occupies one index.
Dual index module: such as HSL-DO32-M-N/P, which occupies two consecutive indexes starting from odd numbers. For example, if DIP is set to 3, it will occupy indices 3 and 4.
Special modules: Analog or motion control modules may occupy skip indexes (even jumps in full duplex mode).
The main controller supports a maximum of 63 indexes, so theoretically it can mount 31 HSL-DO32-M modules (31 × 2=62 indexes) and achieve 992 digital outputs.
Detailed specifications and selection points of HSL-DO32-M-N/P module
3.1 Model Definition
HSL-DO32-M-N: PNN type (leakage type output), with one end of the load connected to a positive power supply, providing a ground circuit when the output tube is conductive.
HSL-DO32-M-P: PNP type (source output), with one end of the load grounded, providing positive voltage when the output tube is conducting.
3.2 Electrical characteristics (excerpted from the manual)
Parameter NPN type PNP type
Number of output channels 32 32
Switch capacity -50 mA/channel (@ 24VDC)+50 mA/channel (@ 24VDC)
Isolation method: Optocoupler isolation, 2500 VRMS optocoupler isolation, 2500 VRMS
Response time (on → off) 68 μ s (typical) 68 μ s (typical)
Response time (off → on) 1.1 μ s (typical) 1.1 μ s (typical)
Working voltage 24 VDC (nominal) 24 VDC (nominal)
Attention: The total output current is limited by the module PCB routing and terminal capacity. In actual use, please refer to the derating curve (not listed in the manual, it is recommended in engineering that the total power consumption does not exceed the maximum allowable value of the module).