NFO Sinus AB6200-B Pro FIdrive Example Optimal Instruction Manual
- June 1, 2024
- NFO Sinus
Table of Contents
NFO Sinus AB6200-B Pro FIdrive Example Optimal
Introduction
This manual provides information on how to communicate with NFO Sinus inverters through Profinet/Profibus using TIA portal to configure and set up the system. This manual has been tested with TIA portal v15.1 and a Siemens CPU 1212C DC/DC/DC (212‐1AE40‐0XB0). As Profibus DP‐Master a CM1243‐5 (243‐5DX30‐0XE0) was used.
GSD/GSDML File
To configure a device in TIA portal you need a GSD file for that device. GSD
files contain information about the basic capabilities of a device. GSDML
files are XMLbased GSD files and are used with profinet devices. To import a
GSD file to TIA portal, go to Options > Manage general station description
files (GSD) and navigate to the folder that contains the GSD file. You can
find the devices in the catalog by searching for their GSD file name, see
Figure 1. Add the device to the project by dragging and dropping it into
network view. Which GSD file you need depends on which inverter and Anybus
module you have, refer to table 1 for profibus and table 2 for profinet.
Please contact NFO Drives AB for GSD/GSDML files.
Inverter | Anybus Module | GSD file |
---|---|---|
NFO Sinus G2 | M30 / AB6270‐B | HMSA1812.gsd |
NFO Sinus Optimal | M30 / AB6200‐B | HMSB1811.gsd |
NFO Sinus Optimal | M40 / AB6600‐C | HMSA1815.gsd |
Table 1, GSD‐files used with Profibus.
Inverter | Anybus Module | GSDML file |
---|---|---|
NFO Sinus Optimal | M40 / AB6605‐C |
gsdml‐v2.34‐nfo_drives_ab‐optimal‐20211116.xml
Table 2, GSDML‐file list used with Profinet.
Configure drive
Connect
For the program to communicate with the drive it needs to be correctly
configured. Connect drive and PLC/master in network view through
profinet/profibus by dragging from one interface to another, see figure 2
.
Profibus address
The profibus address for the drive in TIA portal must match the address
parameter in the NFO sinus inverter. Check/change the address for NFO Sinus
optimal through Communication > ABCC > Address, and for NFO Sinus G2 through
Serial > Address. In TIA portal select the module for the drive and go to
Properties > PROFIBUS address > Parameters, see Figure 3.
Profinet address and name
Profinet devices identify each other by names, therefor the name of the device
and the PROFINETinterface need to match. You can open Accessible devices from
the toolbar to search for devices on the network and see their name, see
figure 4. By default, the PROFINET interface name matches the name of the
module, which can be changed in Properties > General, see figure 5. To change
the name of the PROFINET interface without matching name with the module,
select the module and go to Properties > PROFINET Interface > Ethernet
Addresses > Profinet and disable “Generate PROFINET device name automatically”
then enter PROFINET device name, see figure 6.
The device name can be changed to match the PROFINET interface name by right clicking the PROFINET interface in the Network view and select “Assign device name” from the context menu. Then find the device and click “Assign name”, see figure 7. Set the IP address for the module under Properties > PROFINET interface > Ethernet addresses > IP Protocol, see figure 6. You can see the IP address of the device by opening Accessible devices, see figure 4.
Telegrams
Configuration
Profinet/profibus uses telegrams to communicate between devices, the telegrams
are 16‐bit words or values. These telegrams need to be set up in the device.
NFO Sinus inverters uses telegram 1. Double click the inverter in Network view
to open the Device view. Drag the correct telegrams from the catalog into the
correct order in the Device overview. See figures 8 and 9 for telegram
configuration for NFO Sinus G2 with Profibus and NFO Sinus Optimal with
Profinet respectively. PLC tags are set up in the same way for G2 and optimal,
the tags addresses are based on the addresses of the telegrams. For optimal
each telegram module corresponds to a PLC tag with the same starting address.
Figure 10 shows how to create PLC tags for the telegrams.
Usage
Actual and Setpoint values are scaled so that the range ‐8192 – +8192 corresponds to either ‐50Hz – +50Hz (when in Frequency mode), or ‐Nnom – +Nnom, e.g. ‐1500 rpm – +1500 rpm for a four‐pole motor (when in Speed mode). A negative number corresponds to reverse rotation. Maximum range is ‐24576 – +24576 ( 150Hz or 3 Nnom). To control the inverter (Start/Stop, etc) from a fieldbus interface, the run signal (terminal DIN1) must be active. A common installation would be to strap the run signal to +24V and set parameter Autostart = Off. Then the inverter will not start by itself when powered on, but it allows control from bus. NFO Sinus Optimal and NFO Sinus G2 have slightly different bit fields, see below.
G2 Example : To “connect” to the NFO we use Control word = 0x047E. To reset fault/alarm, change bit 7 to one and back to zero (0x047E ‐> 0x0480 ‐> 0x047E). To start operation, set bit 1 to one (0x047E ‐> 0x047F). Note that the setpoint should first have been given a value different from zero, so that there is a value to accelerate up to.
Optimal Example: Master sets the PLC control bit and then waits for inverter to respond with Control requested bit in status word. Then bus master sets the Enable bit and waits for inverter to respond with Enabled. Now the bus master may start the motor using the Switch on command bit, and inverter will respond with bit Operating. When master clears the Switch on bit, inverter will decelerate towards a stop. When fully stopped, the Operating bit will be cleared. Motor is now stopped, and inverter is ready for a new start command. For other status bits and their meaning, see table above.
Example LAD program
This example program is made for G2 and uses LAD (ladder logic). The program
simply utilizes a switch at terminal 0.0 on the PLC to turn on/off the motor
at a pre‐set speed. First create a new Data Block in the Project Tree by
clicking “Add new block” under your PLC’s Program blocks folder. Select Data
block and click ok. Create two new entries as seen on figure 11, the values
are taken from the G2 Example under chapter “4.2. Usage”.
Next add another new block, select Organization block and then from the list of organization blocks select Startup, make sure the language is set to LAD and click ok. The setpoint for the inverter must be set in order for the drive to start, in this small program we simply set the setpoint at start, then we “connect” the drive by sending/moving our Idle word from our data block to our Control PLC tag, see Figure 12.
Lastly, open the Main [OB1] block, this block runs many times per second (~1000 times per second, depending on settings and PLC). Here we listen for a change in the Digital Input %I0.0 on the PLC and then either send Start or Idle depending on if the signal from the input is on or not. P_TRIG are used to ensure that the next block only triggers once after the value of the input changes. See figure 13 for the program.