K-WANG



Basic Framework and Security Standards
1. Positioning and safety warning
Scope: Covering the entire range of SIMATIC Drive Controllers, including CPU 1504D TF/1507D TF and SINAMICS Integrated, providing full process guidance from planning to maintenance, suitable for Motion Control scenarios such as multi axis machine tools, packaging machinery, printing equipment, etc.
Security level classification:
Warning type risk description example scenario
DANGER Fatal/Serious Personal Injury Contact with Live Parts, Undischarged Capacitors
Warning: May cause fatal/serious injury. Equipment damage may lead to electrical leakage, and wireless devices may interfere with safety functions
CAUTION Minor personal injury, electrostatic discharge damage to components
NOTICE property loss, wiring error leading to module failure
Qualification requirements: Only personnel with "industrial automation qualification" are allowed to operate, and they must be familiar with standards such as IEC 61131-2 and EN 60204.
2. Industrial network security (new core chapter added)
Protection strategy: Adopting the "Defense in Depth" framework, divided into 3 layers of protection:
Physical security: Lock the control cabinet door and manage access permissions (password/fingerprint)
Network security: network segmentation, firewall VPN、 Disable unused ports (such as NTP/PUT/GET)
System integrity: firmware updates, configuration verification, data backup
Key measures:
Regular firmware updates (via TIA Portal/memory card/web server)
Syslog log: CPU local cache security events (such as password errors, configuration tampering) can be forwarded to the server (UDP port 514/TLS port 6514)
Data destruction: Before retiring the device, a "factory reset" (SINAMICS first, CPU later) must be performed to format the storage card or physically destroy it
System Overview and Core Components
1. Comparison of Core Parameters of Controllers
Component model: CPU 1504D TF (for small and medium-sized applications) CPU 1507D TF (for high-end applications) Key differences
Code working memory 4 MB 15 MB 1507D supports more complex programs
Data working memory 6 MB 40 MB 1507D can store more real-time data
Number of positioning axes (maximum) 40 160 1507D Supports multi axis synchronization
Motion Control resources 3200 12800 1507D handle higher loads
Minimum cycle 500 μ s 250 μ s 1507D supports higher real-time performance
Integrated I/O 8 DI/DQ (X142) 8 DI/DQ (X142) Consistent
2. SINAMICS Integrated Function
Control mode:
Servo control: Maximum dynamic response, supports Dynamic Servo Control (DSC, 125 μ s cycle)
Vector control: maximum torque accuracy, 250 μ s current controller cycle
U/f control: suitable for fan/pump loads, 500 μ s cycle
Security function:
Basic functions: STO (Safe Torque Shutdown), SS1 (Safe Stop 1)
Extended functions: SS2 (Safety Stop 2), SBC (Safety Braking Control)
Advanced features: SLS (Safety Speed Limit), SLA (Safety Distance Limit), requiring 1 license per axis
Restrictions: Free Function Blocks (FBLOCKS) and SIMOTION CX32-2 extensions are not supported, only partial technical extensions (such as POLYGON/SETPGEN) are supported

Application planning and installation wiring
1. Hardware configuration rules
Power configuration:
System power supply: 24V DC PELV (such as SITOP smart), no-load current 1.7A, maximum load 13.1A
Drive power supply: SINAMICS Line Module (generates DC link voltage), Motor Module takes power from the DC link
Communication configuration:
PROFINET IO IRT (X150): Supports isochronous mode, IRT level, synchronous multi drive
PROFIBUS DP (X126): Maximum of 12 I/O modules, does not support isochronous coupling
DRIVE CLiQ: 4 interfaces, each with 450mA power supply, connected to Motor Module/Encoder/Sensor Module (SMC)
2. Installation and wiring specifications
Installation requirements:
Guide rail: TH 35 standard guide rail (length 160-2000mm), fixed with M6 screws (torque 6Nm)
Gap: Top/bottom ≥ 80mm (heat dissipation), vertical installation (only allowed in the vertical direction)
Wiring rules:
Interface type wiring requirements, wire specifications
24V DC power supply 4-pin connector, distinguishing L+/M, stripping length 7-8mm 0.25-2.5mm ² (multi strand without sleeve)
PROFINET uses FastConnect cable, requires 8-core wire for 1000Mbps, and the 145 ° connector only supports 100Mbps CAT5e and above
DRIVE CLiQ shielded cable, the shielding layer is grounded through a metal bracket, with a maximum length of 100m Siemens specific DRIVE CLiQ cable
Digital I/O (X142) 24V DC, DI input delay 1 μ s/125 μ s, DQ high speed output (0.4A) Stripping length 10-11mm 0.25-1.5mm ²
Configuration and Debugging Process
1. Software configuration (TIA Portal+Startdrive)
Basic steps:
Create a project and add a Drive Controller (automatically generating CPU and SINAMICS Integrated devices)
Hardware configuration: Assign PROFINET device name/IP, configure SINAMICS driver object (Line Module/Motor Module)
Message configuration: default PROFIdrive message 393 (X122/X132 I/O), 105 (drive shaft)
Technical object configuration: Create positioning axis/synchronization axis/output cam, bind Drive Controller I/O (such as X142 Timer DI/DQ)
Isochronous mode configuration:
Coupling objects: PROFINET X150+X142 I/O+SINAMICS Integrated
Cycle setting: minimum 250 μ s (1507D TF), requiring allocation of OB 91 (MC Servo)
Synchronization mechanism: IRT clock synchronization ensures driver/IO/CPU cycle consistency
2. Key debugging steps
First power on:
Check wiring (power/ground/DRIVE CLiQ), insert SIMATIC memory card (24MB-2GB)
After power on, the CPU performs a self-test (LED flashing → STOP yellow light on), and the SINAMICS Integrated RDY light turns green
Download project: First download the CPU hardware configuration, then download the SINAMICS driver configuration (requires CPU STOP mode)
IO testing:
Scan PROFINET network using PRONETA tool and test I/O wiring
Monitor variables through STEP 7 "Watch&Force Tables" or force peripheral I/O through CPU web server
Program Execution and Security Protection
1. Fundamentals of Program Processing
Organizational Block (OB):
Description of OB Number Triggering Event Priority Function
OB 1 loop program 1 main loop executes user program
OB 91 MC Servo Interrupt 26 Processing Motion Control Task (Equal Time Mode)
OB 80 time error 22 triggered when cycle time exceeds the limit
OB 121 programming error 7 triggered when there is a syntax error in the program
Asynchronous instruction:
Representative instructions: MC_SoveAbsolute (absolute positioning), MC_GearIn (gear synchronization)
Resource limitations: CPU 1504D TF supports 6400 asynchronous instructions to be executed simultaneously, 1507D TF has no explicit restrictions
2. Security protection mechanism
Access control:
Level 4 permissions: Full access (no password), Read access (read configuration only), HMI access (HMI operation only), No access (fully protected)
Local User Management (TIA V19+): Create users/roles, assign CPU functional permissions (such as web server access/OPC UA permissions)
Data Protection:
Know how protection: Set password for OB/FB/DB, only display interfaces and comments
Copy protection: Bind programs to CPU/storage card serial numbers to prevent piracy
Integrity protection: Verify firmware/configuration data, detect tampering (such as storage card data corruption)
Maintenance and Diagnosis
1. Daily maintenance
Module replacement:
CPU: Replace after power failure, need to download configuration again (keep IP address)
Memory card: Only allows insertion and removal when CPU STOP/POWER is OFF, and memory reset is required after replacement
DRIVE CLiQ component: topology detection needs to be performed again after replacement (SINAMICS Integrated automatic recognition)
Firmware update:
CPU: via TIA Portal/memory card/web server (with correct FW file format)
SINAMICS Integrated: Matching FW version (such as V5.2 SP3 HF10+) through CPU web server
2. Fault diagnosis
Diagnostic tool:
Diagnostic buffer: records CPU/SINAMICS faults (such as power overload, topology errors), which can be read through STEP 7/Web server
Trace function: Record CPU tags (16 signals), SINAMICS parameters (8 signals), support triggering conditions (such as value exceeding threshold)
Service data: Export DUMP.S7S file for Siemens technical support analysis
Technical Parameters and Appendices
1. Core technical parameters
Environmental parameters:
Parameter Type Range Remarks
When the operating temperature exceeds 0-60 ℃ (horizontal)/0-40 ℃ (vertical), the display screen will automatically turn off
Storage temperature -40-80 ℃ under original packaging conditions
EMC performance EN 61000-6-2/4 electrostatic discharge ± 8kV (air)/± 6kV (contact)
Electrical parameters:
Parameter Type Range Remarks
24V DC power supply 19.2-28.8V DC PELV rating
Insulation voltage 600V in accordance with IEC 60664-1
Digital I/O (X142) 24V DC, DI input current 2.5mA, DQ output current 0.4A (high speed)
2. Appendix Resources
Accessories list: including DRIVE CLiQ cable (6SL3060 series), front connector (6ES7592 series), shielding bracket (6ES7590 series)
Migration Guide: Steps for migrating from SIMOTION D4x5-2 to Drive Controller (such as replacing technical objects, adjusting messages)
Open source software information: Open source software licenses (such as GPL license) can be read through CPU QR codes or memory cards
