2.3 Card ID (SW5) setting
When installing multiple PCIe-833x cards in the system, a unique ID (0-15) needs to be assigned to each card through SW5 dialing. For example, dialing "1000" corresponds to ID=1. This ID is used to specify the operation object (such as APS_open (1)) in the APS function library. Be sure to toggle the switch while the power is off, and record the correspondence between each card ID and the physical slot to avoid confusion in software calls.
Practical application of digital I/O and pulse input
3.1 Isolated Digital Output (DO)
The 4-channel DO (DO0~DO3) is an NPN type with a maximum current of 90mA, which can directly drive small relays, solenoid valves, or indicator lights. When connecting, an external 24V power supply (via E24V_ and EGND terminals) is required. Note that one end of the load is connected to the DO pin, and the other end is connected to 24V+. If driving an inductive load (such as a relay coil), it is necessary to parallel freewheeling diodes (such as 1N4007) at both ends of the load, otherwise the back electromotive force when turning off may break down the output transistor.
3.2 Switching between digital input and pulse input modes
DI0~DI3 are source type inputs (24V+needs to be provided externally to the DI terminal, and the DI is internally connected to EGND through optocouplers). DI2/DI3 can be switched to the pulse input common terminal (PCOM_5V), while DI0/DI1 becomes the pulse signal input terminal (PA_5V, PB_5V).
Typical application: When connecting a hand cranked pulse generator (MPG), connect the A/B phase outputs of the MPG to PA_5V/PB_5V, connect the common terminal to PCOM_5V, and select the AB phase 4x mode to obtain 4 counts corresponding to each physical pulse, thereby improving manual alignment accuracy. Note that the maximum frequency of the pulse input is 1MHz, and the input level is 5V (not 24V). Before wiring, confirm the output specifications of the generator and install level conversion if necessary.
3.3 Emergency stop (EMG) safety circuit
The EMG input (CN5) is compatible with 24V and has internal optocoupler isolation. The logic is: when 24V is applied between EMG and COM, the system works normally; Disconnecting (or 0V) triggers an emergency stop. It is recommended to connect the EMG in series to the normally closed contact of the external emergency stop button, as well as the alarm output of each servo drive (in series), to achieve hard wire protection of "stopping at any link failure". After triggering, all axes immediately decelerate and stop (deceleration can be set), but EtherCAT communication is maintained for the upper computer to read fault records.

EtherCAT network debugging and performance optimization
4.1 Slave scanning and topology recognition
Execute 'Scan EtherCAT Slaves' in MotionCreatorPro 2, and the tool will automatically enumerate all slaves and display their Vendor ID, Product Code, and serial number. If the scanning result is less than the actual quantity, the possible reasons may be:
The network cable is disconnected or has poor contact (check if the Link LED is lit).
Insufficient power supply from the substation (especially for multi axis drives that require confirmation of power capacity).
The terminal resistance is not enabled at the end slave station ("Termination ON" needs to be set on the last slave station).
4.2 Cycle time and synchronous jitter
Although the minimum period of 250 μ s is tempting, not all slave stations can respond stably. All slave stations can be synchronized to the master station clock through the "Distributed Clock (DC)" mode, and the measured jitter is usually less than 1 μ s. If the shaking exceeds the standard, try:
Upgrade the firmware of the slave station to support more precise synchronization mechanisms.
Reduce the cycle to 500 μ s or 1ms, sacrificing some response speed for stability.
Check if the PCIe channel of the PC is competing with other high-speed devices such as graphics cards and NVMe SSDs, and if necessary, move the card to a separate slot.
4.3 Data frame loss and watchdog
EtherCAT Communication Watchdog (WDT) monitors whether data frames have timed out. If continuous frame loss is caused by interference or high CPU load, the board will automatically enter a "Safe State" and stop moving. resolvent:
Add WDT timeout threshold in the software (default 100ms, adjustable to 200ms).
Optimize the priority of the upper computer's motion threads to ensure that APS-Uupdate() is called at least once every cycle.
Use shielded network cables and ensure grounding to avoid harmonic interference from the frequency converter.
Common fault phenomena and systematic diagnosis
5.1 Axis motion unable to enable or error message 'Slave Not Operational'
Check EtherCAT state machine: The ideal state is "OP" (Operational). If it stops at "Pre OP" or "Safe OP", it is usually due to a parameter configuration error in the slave station (such as PDO mapping mismatch). Use the ESI (EtherCAT Slave Information) file provided by the slave manufacturer to regenerate the ENI (EtherCAT Network Information) configuration file and download it again.