Вы находитесь на странице: 1из 22

Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 1 / 22

Project Name :
Example Solar 2 Axis ACS3XX Program
Architecture Document
TABLE OF CONTENTS:
1.  INTRODUCTION ........................................................................................................................ 2 
1.1  Scope of the document .................................................................................................... 2 
1.2  Example Solar 2 Axis Program Overview ....................................................................... 2 
1.3  Compatibility ..................................................................................................................... 2 
1.4  Safety Instructions ............................................................................................................ 2 
1.5  Reader.............................................................................................................................. 2 
1.6  Contents ........................................................................................................................... 2 
1.7  Related Documents and Program .................................................................................... 3 
2.  Configuration ............................................................................................................................ 4 
2.1  What this chapter contains ............................................................................................... 4 
2.2  Installing ABB Control Builder Plus AC500 ...................................................................... 4 
2.3  ACS355 drive configuration.............................................................................................. 4 
3.  Customization ........................................................................................................................... 5 
3.1  What this chapter contains ............................................................................................... 5 
3.2  Getting Help...................................................................................................................... 5 
3.3  Configuring the Modbus setting of the AC500 ................................................................. 5 
3.4  Configuring the slave address of the drive....................................................................... 6 
3.5  Adding another drive ........................................................................................................ 7 
3.6  Configuring parameters to be read from the drive ........................................................... 7 
3.7  Configuration of read parameters..................................................................................... 8 
4.  Function Blocks and Program structure................................................................................ 9 
4.1  What this chapter contains ............................................................................................... 9 
4.2  Architecture of Example Solar 2 Axis ACS3XX Program................................................. 9 
4.3  Function Block programming overview ............................................................................ 10 
4.4  Basic building blocks ........................................................................................................ 11 
4.5  Position Function blocks................................................................................................... 12 
4.6  Axis Function blocks......................................................................................................... 13 
4.7  Axis backtracking Function block ..................................................................................... 14 
4.8  Mode Manager and MODE Function blocks .................................................................... 15 
4.9  Actuator Function blocks .................................................................................................. 16 
4.10  TRACK Function blocks ................................................................................................... 18 
4.11  Visualization ..................................................................................................................... 20 
4.12  ExamplePM564_Solar_2Axis_ACS3XX Program............................................................ 21 
5.  REVISION HISTORY.................................................................................................................. 22 

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 2 / 22

1. INTRODUCTION

1.1 Scope of the document

This document describes the software architecture of the Solar application designed for the
Control Builder Plus V2.2.0 software. Functional description of the Solar library is available in
Solar_AC500_App_V21 (Beta3-internal version) document [1].

1.2 Example Solar 2 Axis Program Overview

Example Solar 2 Axis ACS3XX program is designed for controlling and monitoring of Solar
trackers. Solar trackers track the sun by 1 or 2 Dimensional movement (1 or 2 axes) of large
photovoltaic panels or mirrors for thermo solar plant types. Serial communication (MODBUS
RTU) is used to transfer and receive data between AC500 PLC and ACS355 Drives.

1.3 Compatibility

This manual is intended to be used with Example Solar 2 Axis program in AC500 PLC and
ACS355 drives. AC500-eCo can be used with Example Pm564 Solar 2 Axis ACS3XX
program with NOOA algorithm.

1.4 Safety Instructions

Follow all safety instructions delivered with the Solar example program:
• Read the complete safety instructions for the ACS355 drive before you install commission or
use the drive. The complete safety instructions are given at the beginning of the ACS355
user’s manual (3AUA0000066143 [English]).
• Read all safety instructions of the AC500 PLC. See System description AC500
(2CDC125015M0201 [English]) or the online help in CoDeSys (Help > Contents >Target
System > AC500 / S500 > Introduction > Overview > Regulations).

1.5 Reader

The manual is intended for people responsible for configuring and using the Example Solar 2
Axis ACS3XX program.

1.6 Contents

The manual consists of the following chapters:


• Configuration describes how to install and configure the software needed for using the

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 3 / 22

ACS355 drive with the AC500 PLC.


• Customization describes optional configuration and customization options.
• Function blocks and program structure describes the structure of the example program.

The manual is intended for people responsible for configuring and using the Example Solar 2
Axis ACS3XX program.

1.7 Related Documents and Program

• Quick installation guide which describes the mechanical and electrical installation of
the CBP.
• ACS355 user’s manual which describes the ACS355 drive.
• System description AC500 which contains the safety instructions for the AC500 PLC.
• AC500 installation instructions which describes the installation of the
AC500 PLC.
• The online help in the CoDeSys program (see Using the online help in CoDeSys on
Page 15.)
• FMBA-01 user’s manual which describes the FMBA-01 Modbus adapter module.
• Drives Window Light 2 Software
• Solar Library Functional description manual Solar_AC500_App_V21 (Beta3-internal version)
• ACS Drives Library PS553 and its user manual
• Example Solar 2 Axis ACS3XX.Pro
• ExamplePM564 Solar 2 Axis ACS3XX.Pro
• ACS355_NS_Axis_Drive_Data.dwp and ACS355_EW_Axis_Sec_Drive_Data.dwp. These
are drives parameter list and Drives window light 2 software is required for it.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 4 / 22

2. Configuration

2.1 What this chapter contains

This chapter describes how to install ABB PS501 Control Builder Plus on your computer, and
how to configure the ACS355 drive and AC500 PLC for use.
The instructions in this chapter are intended to be used after the mechanical and electrical
Installation has been completed, as explained in AC500 and ACS355 quick
Installation guide.
Instructions for optional configuration and customization are given in chapter
Customization.

2.2 Installing ABB Control Builder Plus AC500

This section describes how to install the Control Builder Plus


1. Insert the installation CD of ABB PS501 Control Builder Plus.
The CD automatically starts the installation program. A new window opens.
2. Click Installation PS501.
The installation begins.
3. Follow the steps in the installation wizard.
Once the installation is finished, you return to the main menu.

2.3 ACS355 drive configuration

Drives window light 2 Software is used to configure ACS355 drives. User needs to install this
software for configuration. Drives window light 2 software can be downloaded from www.
(Exact location needs to be updated). Drive keypad can be used for configuration.

Solar NS Axis primary and Solar EW Axis secondary drive parameter list are attached.
ACS355 Drive parameter list are saved as ACS355_NS_Axis_Drive_Data .dwp and
ACS355_EW_Axis_Sec_Drive_Data .dwp. User can use this parameter list to set up drive
parameters. All motor related parameters must have to be configured by the user as per actual
configuration. User can decide FMBA station ID and set it accordingly in drive.
User can set ACS355 drive parameters for the Modbus communication using drive window
light 2 or keypad. ACS355 drive parameter list and values are as follows
Parameter Name Value
1001 EXT1 COMMANDS COMM (10)
1102 EXT1/EXT2 SEL COMM (8)
1103 REF1 SEL COMM (8)
1604 FAULT RESET SEL COMM (8)
2201 ACC/DEC 1/2 SEL NOT SEL (0)
3018 COMM FAULT FUNC FAULT (1)
5302 EFB STATION ID 2 This parameter indicates slave
ID and needs to be changed for
each slave.
5303 EFB BAUD RATE 19.2kbit/s (192)
5304 EFB PARITY 8 NONE 1 (1)
5305 EFB CTRL PROFILE ABB DRV FULL (2)
5310 EFB PAR 10 101
5311 EFB PAR 10 303
5312 EFB PAR 10 305

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 5 / 22

9802 COMM PROT SEL STD MODBUS (1)

3. Customization

3.1 What this chapter contains

This chapter describes how to add ACS355 drives,


customize the program further in
CoDeSys and work with visualizations.

3.2 Getting Help

Using the online help in CoDeSys


To open the online help, click Help > Contents….
See the sections below for more detailed information
on AC500 help topics.
Getting started AC500
In the Contents tab, expand Target System > AC500
/ S500 > Introduction > Getting Started and open
Getting started AC500.
AC500 ACS Drives Libraries topics
In the Contents tab, expand Target System > AC500
/ S500 > ACS Drives Libraries.
Under ACS Drives Libraries you can see the help
topics related to the ACS Drives Libraries.

Getting help on a specific function block


In CoDeSys, select the title of the function block and
Press F1.
The library view also contains information on the
function blocks and their inputs and outputs. Press
Alt + Enter to enter the library view.

3.3 Configuring the Modbus setting of the AC500

For Example solar 2 axis ACS3XX program is using ACS Drives Library PS553 for Modbus
communication with drives,
User can change the Modbus settings, but they have to be identical in the drive and the
AC500.
1. Select the Interfaces from left hand panel from CBP.
2. Right Click COM1 and select Plug Device. A new window will open and then select COM1 –
Modbus.
3. In the right pane (Module parameters), configure the following parameters:

Name Value
RTS control Telegram
Baud Rate 19.2kbit/s

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 6 / 22

Parity None
Data Bits 8
Stop Bits 1
Operation Mode Master
Address 0

Note: For AC500 PLCs with firmware version 2.0 or higher, use ABB Control Builder Plus to
set
up the bus parameters. To open ABB Control Builder Plus, go to the Windows Start menu and
open Programs > ABB > ABB Control Builder Plus.

3.4 Configuring the slave address of the drive

The default slave address of the drive is 2, but if several drives are used, the address must
be unique in each drive.
On the drive side, you can choose the slave address in ACS3xx drives with parameter
53.02 EFB STATION ID. You can use the control panel for changing the parameter value.
For instructions, see chapter Control panels in ACS355 user’s manual (3AUA0000066143
[English]).
To configure the slave address in CoDeSys, follow the instructions below:
1. In CoDeSys, in the left pane, select the POUs tab.
2. Click Example Solar 2 Axis (PRG).
3. In the Modbus RTU communication function block, change SLAVE to match the Modbus
slave
number.
For the update to take effect, follow the steps below:
4. Click Project > Rebuild all.
5. Click Online > Login.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 7 / 22

3.5 Adding another drive

The below instructions detail how to copy the program and the visualizations for another
drive. The below image shows what the structure of the function blocks looks like when
there are multiple drives

3.6 Configuring parameters to be read from the drive

The ACS3XX_COM_MOD_RTU function block can read up to 8 parameters from the


ACS3xx drive.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 8 / 22

The ACS3xx drive parameters 53.10…53.17 determine which parameters are read from
the drive. Give the values in the format XXYY, where XX is the parameter group and YY is
the parameter index of the parameter to be read. For example, the value 104 corresponds
to parameter 01.04 CURRENT.
Set parameter 53.10 to either 101 (calculated motor speed) or 103 (calculated drive output
frequency). You can freely choose which parameters to map to parameters 53.11…53.17.
For instructions on how to set parameter values, see ACS355 user’s manual
(3AUA0000066143 [English]).
If more than three parameters are configured to be read, change the value of
NVAR_READ in the ACS3XX_COM_MOD_RTU function block as instructed below.
1. In CoDeSys, go offline by clicking Online > Logout.
2. In the ACS3XX_COM_MOD_RTU function
block, change the value of NVAR_READ to
correspond to the number of parameters
read + 1 (the number includes the status
word).
3. Go back online by clicking Online > Login.
An Online Change dialog opens.
4. Click Yes.
The visualization is updated to reflect the changes made.
5. To keep the changes for the next reboot, click Online > Create boot project.

3.7 Configuration of read parameters

In this example, three parameters are configured to be read from an ACS355 drive by the
Function block. The following values are given to parameters 53.10…53.16:

Parameter set Value Parameter read from Function


in the drive the drive
53.10 101 01.01 SPEED & DIR Calculated motor speed in rpm. A negative
value indicates reverse direction.

53.11 104 01.04 CURRENT CURRENT Measured motor current (1 = 0.1 A).
53.12 305 03.05 FAULT WORD 1 A 16-bit data word that indicates faults in the
drive.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 9 / 22

4. Function Blocks and Program structure

4.1 What this chapter contains

This chapter presents an overview of the function blocks of the Solar Library.

4.2 Architecture of Example Solar 2 Axis ACS3XX Program

Program is prepared for two axis and all interconnection of the different function blocks is
already done. User can download it in AC500 PM583 and test its functionality.
1. It is prepared for 2 Axis with Solar_NS_AXIS as primary and
SOLAR_EW_AXIS_SEC as secondary axis. Global variables and Visualization is
created for these 2 Axis.
2. CD522 is used for encoder feedback for the both axis.
3. NREL is used to calculate solar position. Its outputs connected to the both axis.
4. Position Control used to achieve position effectively.
5. All programs are called task configuration.

Wiring diagram of Example_Solar_2Axis_ACS3XX program test set up

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 10 / 22

4.3 Function Block programming overview

Function block programming allows a modular design and customization for the
requirements of the application in question. Different configurations are possible and
accordingly Function blocks are selected to construct the program.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 11 / 22

Example Solar 2 Axis ACS3XX Program overview


Function block arrangement in Library

4.4 Basic building blocks

Example Solar 2 Axis ACS3XX Program can be divided into following basic blocks. Each basic
block contains one or more Function blocks, and are selected depending on the configuration
selected.

1. Position Function Blocks


2. Mode Function Blocks
3. Axis Function Blocks
4. Backtrack Function Blocks
5. Actuator Function Blocks

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 12 / 22

6. Track Function Blocks

Functions blocks are selected depending on the configuration and needs to be connected to
the other function blocks in particular fashion. This chapter deals with the settings and
connections of the different function blocks

4.5 Position Function blocks

Tracker position can be measured by one of the following Function blocks. It depends on the
type of encoder feedback used.
IO_ENCODER Incremental Encoder and Inductive sensor for Z Pulse
CD_522 ENCODER Incremental Encoder
CD522_SSI GRAY Absolute Encoder
DC_541 ENCODER Incremental Encoder

Programs are created for Primary and Secondary axis.

Function Blocks Primary Axis Secondary Axis


IO_ENCODER PRG_NS_DC522 PRG_EW_SEC_DC522
CD_522 ENCODER PRG_NS_CD522 PRG_EW_SEC_CD522
DC_541 ENCODER PRG_NS_DC541 PRG_EW_SEC_DC541

Depending on the module used, respective PRG needs to be called in PLC_PRG. All
variables are already defined and connected to the appropriate blocks.

CD522 is used for encoder feedback for both (NS Primary and EW SEC axis), hence
PRG_NS_CD522 and PRG_EW_SEC_CD522 are called in PLC_PRG program.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 13 / 22

RDY_CALIB output connected to Z_PULSE input of the SOLAR_MODE_CALIBRATION.


RDY_SYNC output connected to Z_PULSE input of the SOLAR_MODE_HOMING.

For detailed hardware configuration and variable declaration please refer


SOLAR_AC500_App_V21.DOC

4.6 Axis Function blocks

Function calculates Axis angle depending on Azimuth, Elevation and Alignment corrections.

SOLAR_NS_AXIS_PRIM North South Axis acts as primary axis


SOLAR_EW_AXIS_SEC EAST WEST axis acts as secondary axis.

These programs needs to be called with Solar track (i.e. SOLAR_NREL or SOLAR_NOAA
program).

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 14 / 22

SOLAR_NS_AXIS_PRIM is called in MAIN_NREL Program.

SOLAR_NS_AXIS_PRIM input Azimuth connected to SOLAR_NREL output Azimuth.


SOLAR_NS_AXIS_PRIM input Elevation connected to SOLAR_NREL output
Elevation_Uncorrected.
SOLAR_NS_AXIS_PRIM output is connected to SOLAR_BACKTRACKING input Axis angle.

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC

4.7 Axis backtracking Function block

This function calculates the optimum tracker position to reduce shadowing by optimizing sun
panel position, when sun position gets low (early morning + late evening).

This program needs to be called with Solar track (i.e. SOLAR_NREL or SOLAR_NOAA
program). All variables are defined as global variables.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 15 / 22

This program needs to be called with Solar track (i.e. SOLAR_NREL or SOLAR_NOAA
program)

SOLAR_BACKTRACKING input Axis angle connected to Solar_NS_AXIS output.


SOLAR_BACKTRACKING output connected to SOLAR_MODE_TRACKING input
POS_CALC.

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC

4.8 Mode Manager and MODE Function blocks

Mode manager program contains 5 different modes depending on the functionality. Modes and
respective primary and secondary axis programs are as follows

Mode Primary Axis Secondary Axis


Manual ModeManual_NS ModeManual_EW_SEC
Calibration ModeCalibrate_NS ModeCalibrate_EW_SEC
Homing ModeHomingl_NS ModeHoming_EW_SEC
Position ModePosition_NS ModePosition_EW_SEC
Position (cleaning) ModeCleaning_NS ModeCleaning_EW_SEC
Position (security) ModeSecurity_NS ModeSecurity_EW_SEC
Tracking ModeTracking_NS ModeTracking_EW_SEC
Local_manual ModeLocalManual_NS ModeLocalManual_EW_SEC

All variables are defined in global variables and interconnections with the other functions
blocks are already done in PRG_MODE_NS (for NS_AXIS_PRIM) and
PRG_MODE_EW_SEC (for EW_AXIS_SEC).

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 16 / 22

PRG_MODE_NS (for NS_AXIS_PRIM) and PRG_MODE_EW_SEC (for EW_AXIS_SEC)


need to be called in PLC PRG.

For Calibration block and Homing block


1. When MODE 1 is selected, then LIMIT_SWITCH input must be connected to
SW_LIMIT_SWITCH_MIN_NS
2. When MODE 2 is selected, then LIMIT_SWITCH input must be connected to
SW_LIMIT_SWITCH_MAX_NS

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC

4.9 Actuator Function blocks

Actuator Function blocks are used to position the tracker. It consist of following Function
blocks
SOLAR_POSITION_CTRL is used when motors and drives are used to move tracker.
SOLAR_HYD_CTRL is used when two pistons are used to move tracker.

PRG_NS_POS_CTRL is used for NS_AXIS_PRIM.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 17 / 22

PRG_EW_SEC_POS_CTRL is used for EW_AXIS_SEC.


PRG_HYD_POS_CTRL is used for two piston system.

All variables are defined as global variables. All interconnections with the other function blocks
are already done.
NOTE: Please note that for secondary axis, either we can use PRG_EW_SEC_POS_CTRL
or PRG_HYD_POS_CTRL as all variables of PRG_HYD_POS_CTRL are connected to EW
Secondary Axis. If PRG_HYD_POS_CTRL has to be used for primary axis, then all variables
need to be changed.

All these Position and HYD control blocks needs to be called in PLC_PRG.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 18 / 22

PosControl_NS inputs (e.g. GO_TO_THE_SETPOINT, JOG_FWD, and JOG_BWD) are


connected to the PRG_MODE_NS function blocks. Mode Manager sends appropriate signals
to the PosControl_NS inputs depending upon Mode selected.

ACS355_COM_MOD_RTU and ACS3XX_DRIVES_CTRL_BASIC are used from Fluke


Library. These functions blocks are used MODBUS communication between AC500 and
ACS355 drives. Com Port, Slave numbers needs to be set for ACS355_COM_MOD_RTU.

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC.

PRG_HYD_POS_CTRL uses two piston systems to position the tracker. SOLAR_POSITION


_CONTROL is connected to the SOLAR_HYD_CTRL.

SOLAR_HYD_CTRL inputs are connected to the SOLAR_POSITION_CONTROL outputs.


SOLAR_HYD_CTRL outputs are connected to the two piston system.

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC.

4.10 TRACK Function blocks

A tracker tracks the sun by 1 or 2 Dimensional movement (1 or 2 Axis).


MAIN_NREL prg is based of NREL algorithm. This has to be called in 500ms cyclic task.
MAIN_NOAA prg is based of NOAA algorithm. This has to be called in 50ms cyclic task.

All variables are defined as global variables. All interconnections with the other function blocks
are already done.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 19 / 22

MAIN_NREL is called in 500ms cyclic task. It consists of SOLAR_NREL, Axis and


Backtracking Function blocks. Interconnections between all function blocks is already done.

MAIN_NREL outputs Azimuth, Elevation_uncorrected and Elevation_corrected are connected


to the Primary and secondary Axis. Backtracking inputs are connected to the Primary Axis.

For detailed Function block description, please refer SOLAR_AC500_App_V21.DOC.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 20 / 22

All other remaining Function blocks are called in PLC_PRG.This has be called in 5ms cyclic
task.

4.11 Visualization

Visualization is created for NS_AXIS_PRIM and EW_AXIS_SEC

Visualization is used to control and monitor Axis.

Visualization is divided in four major parts


A. Left hand corner contains Mode Manager setting. Any mode can be selected from
mode manager.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 21 / 22

B. Right hand corner contains Position control status. It shows the status of the
position control.
C. Middle portion contains Modbus communication settings. Modbus communication
established from here.
D. Lower portion contains additional commands required for Mode manager. E.g.
Type mode for calibration.

Download with Example Solar 2 Axis program in AC500 PM583 and put it in RUN mode. Once
in RUN state, follow the following procedure

1. Turn ON Modbus communication using EN_COM_MOD and EN_DRIVES_CTRL.


2. Once the communication is established, COM_MOD_RTU_BUSY will start to blink
to indicate ONLINE status.
3. If COM_MOD_RTU_BUSY is not blinking, please check Modbus communication
setting at PLC and Drive.
4. Now to check manual mode, select CW_Modemanual from Mode Manager.
5. On pressing CW_HMI_FORWARD, motor will start to rotate in positive direction
and on pressing CW_HMI_BACKWARD, motor will start to rotate in negative
direction.
6. In similar fashion, all other modes can be tested.

During commissioning and installation Modbus communication can be turned


using Modbus EN function in visualisation.

But once the tracker is fully commissioned, user needs to ensure that these
variables are set to TRUE as soon as PLC goes in RUN state. This will enable the
communication to start automatically as soon as PLC goes in RUN state.

4.12 ExamplePM564_Solar_2Axis_ACS3XX Program

ExamplePM564_Solar_2Axis_ACS3XX Program is modified from


Example_Solar_2Axis_ACS3XX program, so that same can work with PM564 AC500eCo
CPU. This program works with NOAA algorithm. The modifications are as follows
1. NREL Library and NREL Function block i.e. Main_NREL (prg) are removed.
2. PM564 does not support DC541. Hence PRG_NS_DC541 and
PRG_EW_SEC_DC541 removed.

All other functions and working is similar to Example_Solar_2Axis_ACS3XX.

__________________________________________________________________________
Copyright © ABB Oy, Drives
Example Program UNO document

Architecture Document (PLC) SolarLibrary_PLC

Dept. Project Author Date Revision Page


DMLP Solar Library Abhijit Nikam 18-05-2012 A 22 / 22

5. REVISION HISTORY

Rev. ind. Page (P) Description Date


Chapt. (C) Dept./Init
-d0 All Example Solar 2 Axis ACS3XX document first 18/04/2012
draft DMLP/Abhijit Nikam
-d1 All Updated based on Guntram’s review 18/05/2012
DMLP/Abhijit Nikam

__________________________________________________________________________
Copyright © ABB Oy, Drives

Вам также может понравиться