ISPSoft Tutorial 2008

33
ISPSoft Create a Project

description

Tutorial

Transcript of ISPSoft Tutorial 2008

PowerPoint ES,EX,SS,SA,SC,SX,EH,EH2EH2L,SV
Ladder Editor ES,EX,SS,SA,SC,SX,EH,EH2EH2L,SV
ISPSoft support machine type
Step 2:
The default plc type is EH
Press <OK> button to create a new project
Click here to select project path
Click here to open a dialog to set detail information of project
How to create a new project?
Workspace
Step1:
Move cursor to “Main Program” item and click mouse button (right button)
Select <New POU…>
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
Step2:
Set password (if need)
If task is ‘none’, then this POU will not be executed.
Others language are not allow to select because of machine type
POU comment
Step1:
Move cursor to “Function Block” item and click mouse button (right button)
Select <New POU…>
How to create a POU (Function Block) in a project
If checked, the function block will has ‘En’ and ‘Eno’ pin
If EN/ENO item is checked
If EN/ENO item isn’t checked
How to create a POU (Function Block) in a project
Move cursor to Global Variables node, and double click it.
Global variable table will be opened.
Global variables are created for the entire project
They have global scope, so they are accessible from all POUs
Global variable
Double click ‘Variables Allocation’ item to open a setting dialog
Double click ‘Retentive Memory’ item to open a setting dialog
Retentive Memory Setting
Variable Allocation Setting
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
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
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,
Step:
Move cursor to “Global variables” item and click mouse button (right button)
Select < Import Global Variable…>
Global variables Import/Export
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
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.
Used Device Report
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
ISPSoft
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
Check : Check current POU. To check the grammar of codes.
Compile : Check all POUs. If there have function blocks, the compiler will allocation 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
Compile
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
LD X0
OUT Y0
PC <= PLC
If ‘Comment and Variables’ item isn’t checked. The system will upload PLC Code Block. Then transfer PLC code to ISPSoft format.
If ‘Comment and Variables’ is checked. The system will upload PLC Code Block and Extra Information area
Tip
The PLC Code be translated to ISPSoft format might lose some data. Such as variables, device comment …etc
LD X0
OUT Y0
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
Press this button
After enter the online mode, device monitoring form will start to refresh data.
Device monitoring
Device monitoring