ispsoft create a project ispsoft create a project

33
ISPSoft Create a Project

Upload: alena-dorton

Post on 30-Mar-2015

261 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: ISPSoft Create a Project ISPSoft Create a Project

ISPSoftCreate a Project

ISPSoftCreate a Project

Page 2: ISPSoft Create a Project ISPSoft Create a Project

The machine type support by ISPSoft• ES,EX,SS,SA,SC,SX,EH,EH2EH2L,SV

The languages editor support by ISPSoft1. Ladder Editor ( ES,EX,SS,SA,SC,SX,EH,EH2EH2L,SV )

2. Ladder 、 FBD 、 SFC 、 IL Editor ( AH )

ISPSoft support machine type

Page 3: ISPSoft Create a Project ISPSoft Create a Project

• Step1:– File->New (Ctrl+N)

How to create a new project?

Page 4: ISPSoft Create a Project ISPSoft Create a Project

• Step 2:– Key in project name and select project path– The default plc type is EH– Press <OK> button to create a new project

How to create a new project?

Click here to select project path

Click here to open a dialog to set detail information of project

Page 5: ISPSoft Create a Project ISPSoft Create a Project

How to create a new project?

Workspace

Page 6: ISPSoft Create a Project ISPSoft Create a Project

• Step1:

– Move cursor to “Main Program” item and click mouse button (right button)

– Select <New POU…>

How to create a POU (Program) in a project

Page 7: ISPSoft Create a Project ISPSoft Create a Project

• The rule of POUs naming– Must be combined by letter, digits or underline.– The first character must be letter or underline.– Case-insensitive – Two consecutive underline are not permitted, such as ‘__POU1’ 或 ‘ POU__1’– Underline can’t place in the rear, such as ‘POU1_’– Max length is 16 characters

How to create a POU (Program) in a project

Page 8: ISPSoft Create a Project ISPSoft Create a Project

• Step2:

– Key in POU name

– Select task

– Set password (if need)

How to create a POU (Program) in a project

If task is ‘none’, then this POU will not be executed.

Others language are not allow to select because of machine type

POU comment

Page 9: ISPSoft Create a Project ISPSoft Create a Project

How to create a POU (Function Block) in a project

• Step1:– Move cursor to “Function Block” item and click mouse button (right button)– Select <New POU…>

If checked, the function block will has ‘En’ and ‘Eno’ pin

Page 10: ISPSoft Create a Project ISPSoft Create a Project

• If EN/ENO item is checked

• If EN/ENO item isn’t checked

How to create a POU (Function Block) in a project

Page 11: ISPSoft Create a Project ISPSoft Create a Project

Move cursor to Global Variables node, and double click it.Global variable table will be opened.

Global variable

• Global variables are created for the entire project

• They have global scope, so they are accessible from all POUs

Page 12: ISPSoft Create a Project ISPSoft Create a Project

Retentive Memory SettingVariable Allocation Setting

Double click ‘Variables Allocation’ item to open a setting dialog

Double click ‘Retentive Memory’ item to open a setting dialog

Page 13: ISPSoft Create a Project ISPSoft Create a Project

• Variable Allocation

– In ISPSoft, every kind of devices need to reserve part of area for the system. Those areas are for function block memory allocation.

– If users use those part of devices, ISPSoft will show error message when compiling.

– If the reserve devices is insufficient, ISPSoft will show linking errors when compiling.

Variable Allocation Setting

Page 14: ISPSoft Create a Project ISPSoft Create a Project

ISPSoftFunction Block Import/Export

ISPSoftFunction Block Import/Export

Page 15: ISPSoft Create a Project ISPSoft Create a Project

• FBs export

– Only the POUs in Function Block item can be exported.

– A exported file can contain several POUs.

– Password protected

• FBs import

– If the file has a password protected. You need to key in the correct password while importing.

– System doesn’t allow two POUs with the same name.

FBs Import/Export

Page 16: ISPSoft Create a Project ISPSoft Create a Project

• FBs Import/Export

FBs Import/Export

All of the FBs in the project will be listed over here . Check it if you want to export that FB

If password is set.The system will ask users to key in password when users import this POUs file,

Page 17: ISPSoft Create a Project ISPSoft Create a Project

Global variables Import/Export

• Step:

– Move cursor to “Global variables” item and click mouse button (right button)

– Select < Import Global Variable…>

Page 18: ISPSoft Create a Project ISPSoft Create a Project

• Global variables import

Global variables Import/Export

If the file exist the same variable in this global variable table. System will ask users whether replace it.

Ask users whether users want to clear all of the variable before importing

If the file exist the same variable in this global variable table. It will replace the current variables.

If the file exist the same variable in this global variable table. The variables in this file will be discarded

Page 19: ISPSoft Create a Project ISPSoft Create a Project

Used Device Report

• Step:

– Move cursor to “Used Device report” node and click mouse button (right button)

– The “Used Device report” can’t be opened until the project compiles correct. Otherwise, the system will show error message as below.

Page 20: ISPSoft Create a Project ISPSoft Create a Project

• Before open ‘dvp’ format file, make sure the IL code exist and correct. Otherwise, the system will show error message.

• After translate from dvp to isp format. The codes might increase.

How to open DVP format file

Page 21: ISPSoft Create a Project ISPSoft Create a Project

ISPSoftCommunication & Monitoring

ISPSoftCommunication & Monitoring

Page 22: ISPSoft Create a Project ISPSoft Create a Project

Run/Stop

Upload/Download

Online mode

Online change mode

Send Change to PLC

Device monitoring

Communication Function

• Run/Stop: Control PLC state• Upload/Download: Transfer data between PC and PLC. The data include

program device comment …. Etc.• Online mode: Connect to PLC and enter monitoring mode. The editor will

become read only.• Online change mode: The editor will become writable in monitoring mode.• Send Change: Send changed code to PLC in monitoring mode.• Device Monitoring: A form to monitor device by key in device name that

you want to monitor• Force X ON: X device can be force set

Force X Device On

Page 23: ISPSoft Create a Project ISPSoft Create a Project

• Check and Compile– Check : Check current POU. To check the grammar of codes.– Compile : Check all POUs. If there have function blocks, the compiler will al

location memory for each function block instance. Then adjust tasks to control the running sequence of POU (Program)

• Only when pass the compiling, It can enter the online mode

Check and Compile

Check Compile

Page 24: ISPSoft Create a Project ISPSoft Create a Project

• PC =>PLC– If ‘Comment and Variables’ item isn’t checked. The system

will only transfer execution code to PLC.

– If ‘Comment and Variables’ is checked. Not only execution code, but also extra information will be download to PLC

Upload/Download

LD X0OUT Y0...

PLC Code Block......END

.

.

.Extra Information

.

.

.

.

.

PLC memory

Page 25: ISPSoft Create a Project ISPSoft Create a Project

Upload/Download

• PC <= PLC– If ‘Comment and Variables’ item isn’t checked. The system will upload

PLC Code BlockPLC Code Block. Then transfer PLC code to ISPSoft format.– If ‘Comment and Variables’ is checked. The system will upload

PLC Code BlockPLC Code Block and Extra InformationExtra Information area• Tip

– The PLC Code be translated to ISPSoft format might lose some data. Such as variables, device comment …etc

LD X0OUT Y0..

PLC Code Block.......END

.

.

.

.Extra Information

.

.

.

.

Page 26: ISPSoft Create a Project ISPSoft Create a Project

• Program– Enter online mode and open the POU

• Function Block– To monitor function block’s instance, not function block.– Each instance of the function block has its own monitor form.

Ladder editor monitoring

Page 27: ISPSoft Create a Project ISPSoft Create a Project

• Program monitoring

Ladder editor monitoring

Page 28: ISPSoft Create a Project ISPSoft Create a Project

• Function Block monitoring

Ladder editor monitoring

Page 29: ISPSoft Create a Project ISPSoft Create a Project

• Force X device ON/OFF• Change present value

Ladder editor monitoring

Page 30: ISPSoft Create a Project ISPSoft Create a Project

• Open device monitoring form

– Press this button

• After enter the online mode, device monitoring form will start to refresh data.

Device monitoring

Device monitoring

Page 31: ISPSoft Create a Project ISPSoft Create a Project

• Pop menu & Variable selection– Field control

– Select monitor variables

Device monitoring

Page 32: ISPSoft Create a Project ISPSoft Create a Project

Find the bug

Page 33: ISPSoft Create a Project ISPSoft Create a Project

EndEnd