5.3 Bus termination
The two ends of the network must be terminated, typically using a 390 Ω -220 Ω -390 Ω three resistor structure (390 Ω between DATA+and+5V isolation); 220 Ω between DATA+and DATA -; 390 Ω between DATA and GND isolation. Terminating requires power supply to function correctly - forgetting to close the terminating resistor power switch is a classic cause of unstable on-site communication.
5.4 Wiring Integrity
Before connecting PROFIBUS cables, strain relief must be performed to prevent connector damage or accidental cable disconnection - this is particularly important for transmission in vibration environments.
Configuration parameter system: Menu 74 and Menu 75
6.1 Four step universal configuration method
Taking Menu 74 (4002 board switching mode or 4001 board upgrade path) as an example:
Set the network node address (PROFIBUS range 2-126) on P74.02; Traditionally, the main station accounts for 1127 reserved multicast; Once the address is configured, it can only be reconfigured once per power on cycle. To change the address, it must be programmed and powered off before restarting;
Select PPO type on P74.03 (4001 board set to 0=determined by DIP); 4002 board set 1-5);
Configure PROFIBUS reference values and control words in Menu 74;
Set P74.05 to 1 to trigger link configuration. After the firmware configuration is completed, it will automatically write back to 0, and the configuration will only take effect at this time.
Menu 75 system is similar: set node address on P75.02 → configure reference and control words → set 1 on P75.05.
Automatic configuration security warning (Warning): P74.04/P75.04 (Auto Configure/Run On Power Up) allows for automatic configuration and operation of the link when powered on - this feature poses a security risk as network data will be directly transmitted and executed. The default value is 0 (disabled) and is usually enabled as the last step of testing.
6.2 Communication Loss Behavior: Source Loss and Freeze/rollback
Source Loss Action (P74.07/P75.06): 0=Ignore loss and continue running; 1=Set a warning when lost and continue running; 2=Trip when lost. The warning code for Menu 74 path is 106 and the trip code is 204 (manual reset type); The warning code for Menu 75 path is 116 and the trip code is 63 (automatic/manual reset type);
Freeze/rollback action (P74.08/P75.07): freeze=freeze to the last correct received value; Fallback=Copy the corresponding fallback value (even parameter partners in P74.20-74.43/P75.12-75.21) into the reference value. Note that the fallback mechanism only applies to even numbered reference/control parameters; Directly writing the received data of any transmission parameter has no fallback and can only be frozen. Typical application: When communication is lost, set the speed reference fallback to 0 and the control word fallback to 0000H to achieve "safe shutdown upon loss of contact".
In terms of control words, both sets of menus support two 16 bit control words (P74.40/P74.42 and P75.08/P75.10), which can drive a total of 32 control flags (CFSRC 5.000-5.031 corresponds to FBC bits 0-31), and are mapped to the start/stop control bits of the transmission through Menu 33/34. It is strictly prohibited to map two fieldbus parameters to the same transmission parameter, otherwise the results will be unpredictable.
6.3 Scaling
The internal transmission is represented as 100.00% with 10000, while the PROFIDRIVE line gauge can be represented as 100% with 16384- calibration conversion is completed through Menu 60 paired parameters: in each pair of parameters, the first is the transmission equivalent value, the second is the external equivalent value, and the output=parameter value x (external equivalent value ÷ transmission equivalent value). Menu 75's P75.28 (100% reference value, default 10000) and P75.29 (calibration mask, default 001Eh, receive word at the beginning and end is not calibrated by default because it is usually used to control flags) provide character calibration control. The data types cover 15 categories including Speed (%), Speed (rpm), Torque (%), Torque (Nm), Frequency, Current, Volts, etc.
6.4 Data Errors and Data Spy
Data errors are recorded on P74.10-74.13/P75.42-75.45: Error words are indicated bit by bit (Bit 1 write permission denied, Bit 2/3 upper and lower limit clamp, Bit 7 write Stop to edit parameter ignored during operation, Bit 8 read non-existent parameters, Bit 9 read permission denied, etc.). The error counter is reset after each configuration and rewinding is allowed. For example, P75.44=0300H and P75.45=21 indicate that parameters that do not exist have been read and parameters without permission have been read a total of 21 times - directly pointing to the source pointer configuration error.
Data Spy (Menu 89) is a joint debugging tool: P89.00 input PPO area (such as 74.50-74.69=Spy FBC1 RX PPO; 75.30-75.46=Spy TX PPO), starting from P89.01, the raw data transmitted on the bus is displayed in decimal without calibration - software versions 9.00 and later P75.36-75.41 Spy parameters are no longer available and must be switched to Menu 89 mode.