PN Communication between Smart 200 and G120

1 Software Settings

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




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