Sie sind auf Seite 1von 104

selec: Creating Best Value

selec PLCs Front End Software: Selec Ladder

selec: Creating Best Value

Front End Software: Selec Ladder Section I: Ladder Configuration

Contents
Models configurable by selec ladder Installing Selec Ladder Starting selec ladder

selec: Creating Best Value

Files for MM3010 and MM3000 Starting New Project with selec ladder
Contacts and connectors
Timer Configuration Counter Configuration Arithmetic Functions Data manipulation Functions Arithmetic Functions

Special Functions
Compilation SMI Downloading to PLC

selec Ladder
Models configurable using selec ladder MM1006 MM3008 MM3010 MM3000

Go to Contents

Getting Started: Installing the software


Insert the Selec Ladder CD in the CD drive

Open contents of Selec ladder CD


Double click on DISK_1 Folder

To start installation, double click on set up


Follow instructions on the screen to complete set up procedure

Go to Contents

Starting selec ladder

or

Shortcut on desktop

Shortcut on start
Go to Contents

Files in selec Ladder for MM3010


Graphic Ladder file: .GL

Graphic HMI file (MM3010): .GM


Executable for ladder: .lexe Executable for ladder+HMI function(MM3010/3000): .mexe

Display related information: .smi

Go to Contents

Starting a new project for MM3010


Step 1: Select File --- New graphic ladder from menu

Or
Select graphic ladder
Step 2:

Select model:MM3010

Go to Contents

Starting a new project for MM3010


Step 3: Set Configuration of product as per hardware selection
CARD 1:21DI 19DI+1 QUADRATURE 13DI+1 QUADRATURE
CARD 2: 20 TRANSISTOR OUTPUTS 11 RELAY OUTPUTS 8 RELAY OUTPUTS CARD 3: 6 ANALOG INPUTS 4 AI+2AO 8DI+4RO

Go to Contents

Starting a new project for MM3010


Step 4: Set password to protect gl file (optional)

Go to Contents

GL Editor Interface

Toolbars
Standard

Go to Contents

Objects

Lines/wires/connectors
Horizontal line to right

Contacts

NO

Horizontal line to left

NC

Vertical line downwards

PT

Vertical line upwards

NT

Go to Contents

Timer Related Objects


Down Timer

Up Timer
Start Load Timer Reset Output Output

Store Timer

Go to Contents

Timer configuration

Truth Table

Go to Contents

Timer configuration

Go to Contents

Counters

LargeUp/Dn Counter Load Counter Store Counter

Enable increment count Disable increment count Reset counter

Output

Output

Go to Contents

Counters

Go to Contents

Functions
Arithmetic Add Start Success

Overflow
32 bit Add Start

Subtract

+ve result Zero result

32 bit Subtract

-ve result
Go to Contents

Multiply
Start Success

32 bit Multiply

Overflow

Division

Start

Success Infinite result

32 bit Division

<1 result Go to Contents

Configuring Arithmetic block :16 bit

Go to Contents

Configuring Arithmetic block :32 bit

Go to Contents

Logical Functions

Outputs

AND OR XOR
A>Val

Output

Set Coil
Reset Coil

CMP
A=Val

A<Val

Go to Contents

Configuring Logical Functions

Go to Contents

Data Manipulation Functions


Move I/O status to Register

Write I/O status from Register


Move data from register to register Load data to register Shift register content to right Shift register content to left
Go to Contents

Data Manipulation Functions


Move I/O status to Register

Go to Contents

Jump and Subroutines


Jump

Other Objects
Instruction Box End Page Break End Main
Go to Contents

Call
Return Label Interrupt

Using Jump

Go to Contents

Using call

Go to Contents

Special Function Blocks


CAM Control

Start NC

Output

Go to Contents

Drum Sequencer

Increment Step

Last step reached

Reset current step

Go to Contents

Time Switch

Go to Contents

Communication
Enable Success In progress Error

Go to Contents

PID
Enable Sensor Error

Input parameters

Go to Contents

PID

Enable

Sensor Error

Voltage/mA inputs parameters

Go to Contents

PID
Set Point

Enable

Sensor Error

Tune

Go to Contents

PID
Output

Enable

Sensor Error

Go to Contents

PID
Heat

Enable

Sensor Error

Go to Contents

AI

Enable

Sensor Error

Go to Contents

Compile
Step 1: Step 2: Save the gl file Compile using one of the following options Press or Select compile option from menu

Press F5 or

Step 3:

Check for error messages at the bottom of the screen

Go to Contents

Simulation
Step 1: Step 2: Press ctrl+k Compile the GL file Start the simulation mode using one of the following options or Press or Select simulator from the file menu

Simulation toolbar

Go to Contents

Simulation interface

Go to Contents

Simulation monitor

Go to Contents

Memory Map

Go to Contents

Usage info
File Edit Usage info OR ctrl+J

Go to Contents

Section II

Selec Machine Interface

Selec Machine Interface: Contents


STARTING SMISMI INTERFACE STEPS TO DEFINE SMI NODES/TAGS/TEXTLIST S PASSWORDS/PAGE STATIC TEXT NUMERIC FIELD DYNAMIC TEXT DATE TIME KEY DEFINITIONS APPLICATION TASKS TASK DESCRIPTION PAGE SEQUENCE STR

Entering SMI for display configuration


Select MMI from the menu

SMI CONTENTS

Entering SMI for display configuration


Set slave ID as 20

SMI CONTENTS

SMI Interface

SMI CONTENTS

SMI Interface

SMI CONTENTS

Steps to define SMI Set the node address for the product Define tags Define text lists Define password levels if required Define pages and set page tasks and local key tasks Configure alarm and tasks related to same Set power On and Global tasks

Set Global key functions


Set page sequences
SMI CONTENTS

Project Components
Node
Sets the network configuration for the MMI.

Tags
Tags are addressable memory locations in the PLC and MMI. Tags update the information about the process state.

Text Lists:
Text representation of numeric values

SMI CONTENTS

Project Components
Password Levels

Page

SMI CONTENTS

Project Components
Page tasks
Before Showing While Showing

After Showing

Configuring display
Click on view page layout on the page configuration screen
Static Text Dynamic text Date Numeric field

Time

SMI CONTENTS

Themes
Static Text Numeric field Date

Dynamic text Time

Common object properties that can be assigned to a group of objects in the application

SMI CONTENTS

Configuring static text object


Select the static text object from the toolbar and place on the position where the text is to be displayed

Static Text Dynamic text

Numeric field
Date

Time

Property Page

SMI CONTENTS

Configuring static text object


Select the static text object from the toolbar and place on the position where the text is to be displayed

Static Text Dynamic text

Numeric field
Date

Time

Themes

SMI CONTENTS

Configuring numeric bit fields


Select the numeric field from the toolbar and place on the position where the text is to be displayed Property page

Static Text Dynamic text

Numeric field
Date

Time

SMI CONTENTS

Configuring numeric register fields


Select the numeric field from the toolbar and place on the position where the text is to be displayed Property page

Static Text Dynamic text

Numeric field
Date

Time

SMI CONTENTS

Configuring numeric fields with themes


Select the numeric field from the toolbar and place on the position where the text is to be displayed Themes
Static Text Dynamic text Date Time Numeric field

SMI CONTENTS

Configuring themes for numeric field

Static Text Dynamic txt

Numeric field Date

Time

SMI CONTENTS

Configuring Dynamic Text Object


Select the dynamic text field from the toolbar and place on the position where the text is to be displayed
Static Text Dynamic text Date Time Numeric field

Themes

SMI CONTENTS

Configuring Theme for dynamic text

Static Text

Numeric field Date

Dynamic text Time

SMI CONTENTS

Configuring Date Object


Select the date object from the toolbar and place on the position where it is to be displayed
Static Text Dynamic text Date Time Numeric field

Property Page

SMI CONTENTS

Theme for Date Object

Static Text Dynamic text

Numeric field

Date
Time

SMI CONTENTS

Configuring Time Object


Select the time object from the toolbar and place on the position where it is to be displayed
Static Text Dynamic text Date Time Numeric field

Property Page

Themes

SMI CONTENTS

Key Definitions Default Key Functions

SMI CONTENTS

Key Definitions Key Events


Key Press

Key Pressed
Key Released

Key configuration combinations possible


Single key functions w.r.t. 3 key events listed above Dual key functions for 14 keys as Shift+function key w.r.t. 3 key events listed above

Dual key functions for 14 keys with a combination of any two keys in the 3 events listed above

SMI CONTENTS

Key Definition: Local


Local key definition with have higher priority to global key event when the page is active Go to edit page properties and selec view page layout option Click on the key to which you want to assign a function to view the adjoining page

SMI CONTENTS

Key Definitions: Local


Select the key operation
Select the key Select task type Select the task from task list Set task properties and click on ADD The task appears in the window below Use the up/down keys on the side of the window to queue the task priority and X button to delete any task

SMI CONTENTS

Key Definitions: Global Select global key definitions from project explorer Scope of global key operation is over the complete applications i.e. To all pages Set the key task functions using the same procedure as that for local key definitions

SMI CONTENTS

Application Tasks
Power On Tasks These are executed when the PLC is switched ON. These are useful for making tag initializations for a process Global Tasks These are tasks the are executed every scan. Continuos update operations are performed in global tasks

SMI CONTENTS

Application Tasks: Global Events: For Alarm configurations

SMI CONTENTS

Application Tasks: Global Events: For Alarm configurations

SMI CONTENTS

Application Tasks: Global Events : For Alarm configurations


Define event number Select the event type (for multiple events at one time) First in First out Alarms will be displayed in the order they occur one after the other. Priority Alarms are displayed in the set priority

Changing Priority:
Changing Priority: Select event type as priortty Click on change priority to see the adjoining screen Use UP/Down arrow keys to configure the order of alarms in list to set priority and select OK

SMI CONTENTS

Application Tasks: Global Events : For Alarm configurations


Select the tags and define the condition for the event to occur Write the message to be displayed on the screen when the alarm condition occurs Tasks can be executed for alarms under the following categories On Event: When the alarm condition becomes true On Acknowledge:When the operator acknowledges the alarm. To acknowledge the alarm on target: Press Enter key On Reset: When the alarm condition becomes false. To configure tasks Select the category under which the task is to be executed

Select the task to be executed from the task list


Set task property and press Add The task will appear in the task list under the selected category To change the order of execution of tasks use up/Dn arrow keys and use X to delete a task

SMI CONTENTS

Task Description
Go to Screen Selected page appears on the display Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global SMI CONTENTS

Task Description
Go to Next Screen The next page of the active page sequence appears Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global tasks SMI CONTENTS

Task Description
Go to Previous Screen The previous page of the active page sequence appears Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global tasks

SMI CONTENTS

Task Description
Write Value to a tag

Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events SMI CONTENTS

Task Description
Add a constant Value to a tag

Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events

SMI CONTENTS

Task Description
Subtract a constant Value to a tag

Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events
SMI CONTENTS

Task Description
Add tag B to Tag A
Value of tag A and tag B is added and the result is stored in tag A. Contents of tag B remain same.

Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events

SMI CONTENTS

Task Description
Subtract tag B from Tag A
The value of tag b is subtracted from tag A and the result is stored in tag A. Contents of tag B remain same.

Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events

SMI CONTENTS

Task Description
Turn Bit ON Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events SMI CONTENTS

Task Description
Turn Bit OFF Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events SMI CONTENTS

Task Description
Toggle Bit Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events SMI CONTENTS

Task Description
Copy Tag B to Tag A Validity
Page Tasks Before Showing While Showing After Showing Key tasks Key Press Key Pressed Key released Application Tasks Power ON Global task Global Events SMI CONTENTS

Task Description
Delay Validity
Page Tasks While Showing Application Tasks Global Events

SMI CONTENTS

Task Description
Wait
This is a conditional wait task. In case of this task, the delay time can be set on the basis of resultant of a compare operation on the same.

Validity
Page Tasks While Showing

SMI CONTENTS

Task Description
Shift Value to left/ Shift Value to Right
Binary value of the specified tag will be shifted by specified number of positions.

Increment/Decrement Value by1

Validity
Key tasks Key Press Key Pressed Key released Application Tasks Global Events

SMI CONTENTS

Task Description
Alarm Related Tasks
Next Alarm Previous alarm

Validity
Key tasks Key Press Key Pressed Key released

SMI CONTENTS

Page Sequence

Start/Stop

SMI CONTENTS

Page Sequence Random

SMI CONTENTS

Page Sequence Associated Tasks


Execute Page sequence Escape from Page sequence

Validity
Key tasks Key Press Key Pressed Key released

SMI CONTENTS

Screen triggering register(STR)


When enabled, page number corresponding to value of the screen triggering register value is displayed

Useful to scroll process messages while in auto mode


Key functions are disabled while the STR is enabled

Tasks Associated with STR


Enable STR
Disable STR Copy Tag to STR

SMI CONTENTS

Compilation of SMI Pre-requisites Compiled and linked ladder executable Saved GM File Output .mexe file: executable .smi file: contains display functions
Note: if any editing of ladder is done, the compilation process is to be repeated i.e. First ladder is to be compiled and then the GM file is to be compiled. The .mexe file for the project is created with the name of the .GM file.

SMI CONTENTS

Downloading to PLC
Connecting the PLC and PC Requirement: 9 pin RS232 cable with the following pin configuration one side male and one side female connector. Standard RS232 cable available in market

PIN 1

PIN 1

PIN 9 D type 9 pin Male connector

PIN 9 D type 9 pin Female connector

CONTENTS

Downloading to PLC
Connecting the PLC and PC

CONTENTS

Downloading to PLC
Settings in the download utility

Click on download to start the downloading CONTENTS

Uploading from PLC


Files uploaded: .GM and .GL (only if these files were downloaded on target)
The executable .mexe and .Smi Connections: Same as that for downloading

Click on upload ladder/mexe/gm to upload respective files CONTENTS

Auto Save

Auto Read

CONTENTS

Field wiring guidelines


1. Minimize the length of wires for I/Os.
2. Separate input wires (Low voltage) from output wires. 3. Do not run low voltage input wires parallel and very close to high voltage/power wires.

4. Use individual fuse for all outputs to protect the relay contacts during heavy currents. Fuse disconnector terminal of Elmex or equivalent make for easy wiring.
5. Use suitable contact protection ckt. For switching highly inductive loads through relay contacts. 6. Use multi core twisted pair shielded cable for analog input / outputs. 7. Do not run communication cable close to high voltage, power cables. 8. Do not loop ground, use individual grounding for each device.

CONTENTS