ispsoft tutorial 2008
TRANSCRIPT
![Page 1: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/1.jpg)
ISPSoftCreate a Project
ISPSoftCreate a Project
![Page 2: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/2.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/3.jpg)
• Step1:– File->New (Ctrl+N)
How to create a new project?
![Page 4: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/4.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/5.jpg)
How to create a new project?
Workspace
![Page 6: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/6.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/7.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/8.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/9.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/10.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/11.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/12.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/13.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/14.jpg)
ISPSoftFunction Block Import/Export
ISPSoftFunction Block Import/Export
![Page 15: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/15.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/16.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/17.jpg)
Global variables Import/Export
• Step:
– Move cursor to “Global variables” item and click mouse button (right button)
– Select < Import Global Variable…>
![Page 18: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/18.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/19.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/20.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/21.jpg)
ISPSoftCommunication & Monitoring
ISPSoftCommunication & Monitoring
![Page 22: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/22.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/23.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/24.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/25.jpg)
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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/26.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/27.jpg)
• Program monitoring
Ladder editor monitoring
![Page 28: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/28.jpg)
• Function Block monitoring
Ladder editor monitoring
![Page 29: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/29.jpg)
• Force X device ON/OFF• Change present value
Ladder editor monitoring
![Page 30: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/30.jpg)
• 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 Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/31.jpg)
• Pop menu & Variable selection– Field control
– Select monitor variables
Device monitoring
![Page 32: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/32.jpg)
Find the bug
![Page 33: ISPSoft Tutorial 2008](https://reader034.vdocuments.net/reader034/viewer/2022052603/55cf9c6a550346d033a9c40b/html5/thumbnails/33.jpg)
EndEnd