When using Smart 200 for PN communication, the debugging software of PLC and MiroWIN SMART need to be upgraded to V2.4.
1.1 Install GSDML file
Blob.png
Select "GSDML Management" to install the corresponding version of GSDML file of G120 which needs communication.
1.2 PROFINET wizard configuration
(1) Activate PROFINET controller and click next.
Blob.png
(2) Enter the IP address and subnet mask of the PLC; add the GSDML file of the G120 slave station that needs to be controlled, and pay attention to the consistency with the actual version of the frequency converter; Enter the IP address and device name of the newly added G120 device, and note that the address and name entered here need the current IP address device name of the actual G120. Consistent; finally click "next".
Blob.png
(3) Select the desired message and click "Add". Set the starting address for sending and receiving the message. Since standard message 1 is required to use SINA_SPEED block, add "Standard telegram 1, PZD-2/2" here.
Blob.png
(4) The last step of the wizard will summarize some communication parameters of the current slave station, and finally click "Generate".
Blob.png
2 Controlling Inverter with SINA_SPEED
2.1 SINA_SPEED pin definition
parameter
Input/Output
Data Type Description
EnableAxis
IN
BOOL
"Enable Axis" = 1 - > Start Driver
AckError
IN
BOOL
Confirmation of faults for 1:00
SpeedSp
IN
REAL
Speed setting value. The speed setting value will change with the change of reference speed.
For example, the reference speed is 1000rpm, and the range of speed setting values is (0,1000rpm)
Refspeed
IN
REAL
Drive the reference speed. The numerical range is (6,210,000 rpm)
ConfigAxis
IN
WORD
There is no one-way input defined directly in the block; refer specifically to the details of "ConfigAxis" (default value is 0)
Starting_I_add
IN
DWORD
PROFINET IO: Pointer Start Address to I Storage
Starting_Q_add
IN
DWORD
PROFINET IO: Pointer Start Address to Q Storage
AxisEnabled
OUT
BOOL
Drive enabled
Lockout
OUT
BOOL
1= connection
ActVelocity
OUT
REAL
The actual speed is related to the reference speed.
Error
OUT
BOOL
1 = group error
2.1.1 ConfigAxis Bit Definition
ConfigAxis Meaning
Bit0 OFF2
Bit1 OFF3
Bit2 Enables Operation
Bit3 Enabling Slope Function Generator
Bit4 Continuous Slope Function Generator
Bit5 enabling speed setting value
Bit6 Operating Direction
Bit7 Forced Opening of Gate
Bit8
MOP Settings Increased
Bit9 MOP Settings Reduced
Bit10 reservation
Bit11 reservation
Bit12 reservation
Bit13 reservation
Bit14 reservation
Bit15 reservation
2.2 SINA_SPEED Application Example-Control Inverter Start-up and Speed Setting
Parameter pins, parameter values, descriptions
SpeedSp 200 Set Speed
RefSpeed 1500 Reference Speed
ConfigAxis 16 F
Starting_I_add & IB128 I Storage Start Address Pointer
The other parameters remain unchanged, and the EnableAxis is set to 1. After that, the frequency converter will start running, and the actual speed will rise to the set speed according to the set slope. As can be seen in the figure below, when the actual speed reaches the set speed, ActVelocity shows 199.8596 rpm.