Download presentation
Presentation is loading. Please wait.
Published byFrancine Bastien Modified over 5 years ago
1
교육 내용 OMRON SYSMAC Gateway(SGW) 설치 INDEX 제어 프로그램 설치
GUI 소개 TM Module 확장 스케줄러 확장
2
인덱스 제어 표준화 Development Guide
2010년 12월 15일 인덱스 제어 표준화 Development Guide 오픈에스지닷넷
3
Table of Contents INDEX Framework Overview INDEX 제어 프로그램 구조
Project 구조 Folder 구조 환경설정 파일 INDEX 제어 프로그램 Flow
4
1. INDEX Framework Overview
INDEX Framework S/W 요구 사항 OS Windows XP 또는 Windows 7 32-bit Ethernet/IP OMRON SYSMAC Gateway Tools Microsoft Visual Studio 2010 Telerik RadControls for WinForms v
5
1. INDEX Framework Overview
BCL (Base Class Library) Core GUI Index Maker Extension External Libraries External Libraries HSMS Driver – OpenHSMS Log Driver – log4net IO Device Driver – CCLink, DeviceNet, UniWire Ethernet/IP Driver – OMRON SYSMAC Gateway(SGW) BCL(Base Class Library) Core GUI Index Maker Extension Maker별 TMModule Maker별 Scheduler
6
1. INDEX Framework Overview
Maker별TMModule Extension Maker별Scheduler UI GUI Core IDXModuleBase CMModuleBase TMModuleBase PMModuleBase SchedulerBase CMManager TMManager PMManager AlarmManager IDXModule CMModule TMModule PMModule Scheduler CTCTask GUITask HostForm AppContext HSMSTask Common Configuration Workflow Net IO PIO IO.Driver PIO.Driver BCL (Base Class Library) Log INDEX Framework CCLink DeviceNet UniWire OMRON SGW log4net OpenHSMS External Libraries
7
1. INDEX Framework Overview
BCL(Base Class Library) Common Configuration Workflow Net IO PIO IO.Driver PIO.Driver BCL (Base Class Library) Log Common CTCFx.Common CTCFx.Common.Data CTCFx.Common.Extensions CTCFx.Common.Utility CTCFx.Common.UI Configuration CTCFx.Configuration CTCFx.Configuration.Helper IO CTCFx.IO PIO CTCFx.PIO CTCFx.PIO.HandShake CTCFx.PIO.Stoker Workflow CTCFx.WF CTCFx.WF.CodeActivities CTCFx.WF.Properties XamlStaticHelperNamespace Net OSG.FW.Net Log CTCFx.Log IO.Driver CTCFx.IO.Driver PIO.Driver CTCFx.PIO.Driver
8
1. INDEX Framework Overview
Core Core IDXModuleBase CMModuleBase TMModuleBase PMModuleBase SchedulerBase CMManager TMManager PMManager AlarmManager IDXModule CMModule TMModule PMModule Scheduler CTCTask GUITask HostForm AppContext HSMSTask Core CTCFx.Core CTCFx.Core.Context CTCFx.Core.Standard
9
1. INDEX Framework Overview
UI UI GUI GUI CTCFx.UI CTCFx.UI.Common CTCFx.UI.ControlBase CTCFx.UI.Forms IDXController IDXController.Forms
10
Table of Contents INDEX Framework Overview INDEX 제어 프로그램 구조
Project 구조 Folder 구조 환경설정 파일 INDEX 제어 프로그램 Flow
11
2. INDEX 제어 프로그램 구조 1. Project 구조 CTCFramework CTCFx IDXController
CTCFx.WF Workflow 프로젝트 CTCFx.Scheduler Scheduler 프로젝트 CTCFx.IndexMaker Maker별 확장 프로젝트 ReferencedDLL 참조 DLL 폴더
12
2. INDEX 제어 프로그램 구조 2. Folder 구조
13
2. INDEX 제어 프로그램 구조 3. 환경설정 파일 위치
IDXController 프로젝트의 Config 폴더에 있는 IDXController.config 환경설정 Sections IDXController TMModules CMModules PMModules IODevice Codes
14
2. INDEX 제어 프로그램 구조 IDXController Section
<!-- 인덱스 설정 --> <IDXController EQPID="8YFDE11_IX01" maker="Toptec" lineMode="TF" cfgPath="Config" inDataFilePath="c:\temp\InData" outDataFilePath="c:\Temp\OutData" dbLogFilePath="c:\Temp\Log\DB" fileLogFilePath="c:\Temp\Log\File" systemIniFile="system.ini" logConfig="Log.config" logFileType="DB" isLogEnabled="true" alarmListFile ="AlarmDataList.xml" alarmLogFile ="AlarmLog.sdf" hsmsConfig="OpenHSMS.config" HSMSHostIP=" " judgementcodeConfig="JudgementCode.config" pmcodeConfig="PMCode.config" ecidConfig="ECID.config" LowerArmPortGetEnabled="true" SchedulerLStopBackMode="true" SchedulerWaitPosition="PM1" SchedulerWaitWithPanel="true" SchedulerCount2Enable="true" SchedulerHSInitialSkipEnable="true" ppidFile="PPIDList.xml" flowidFile="FlowIDList.xml" teachingGlassFile="TeachingGlassList.xml" dumpmodeFile="DumpModeList.xml" sortItemBaseFile="SortItemBaseData.xml" sortItemFile="SortItemList.xml" scrapcodeFile="ScrapCode.xml" SafetyMode="Normal" ioSkipMode="false" debugCSTExist="false" TestMode="false" > </IDXController>
15
2. INDEX 제어 프로그램 구조 TMModules Section
<!-- TM 모듈 설정 --> <TMModules> <TMModule moduleID="TM1" handle="1" Title="Robot" capacity="2" hostName=" " port="60000" useContCommand="true" robotSpeed="10" initType="TCP" assemblyName="CTCFx.Toptec.dll" typeName="CTCFx.Toptec.TMModule" UseUpperArm4PortGet="false" ArmIOSkip="false" /> </TMModules>
16
2. INDEX 제어 프로그램 구조 CMModules Section
<!-- CM 모듈 설정 --> <CMModules STKID="604-07" CSTType="Normal" T2Timeout="180" T3Timeout="60" CST20CmdPrefix="VM" CST15CmdPrefix="CM"> <CMModule moduleID="CM1" handle="1" Title="BP01" capacity="20" portType="Both" useCST20Sensor="false" CST20Only="false" useAlign="true" enabled="true"/> <CMModule moduleID="CM2" handle="2" Title="BP02" capacity="20" portType="Both" useCST20Sensor="false" CST20Only="false" useAlign="true" enabled="true"/> <CMModule moduleID="CM3" handle="3" Title="BP03" capacity="20" portType="Both" useCST20Sensor="false" CST20Only="false" useAlign="true" enabled="true"/> <CMModule moduleID="CM4" handle="4" Title="BP04" capacity="20" portType="Both" useCST20Sensor="false" CST20Only="false" useAlign="true" enabled="true"/> <PD_Tags> <add key="IdxToStk" value="PD_01_38_01_IDXToSTK"/> </PD_Tags> <CS_Tags> <add key="StkToIdx" value="CS_01_01_38_STKtoIDX"/> </CS_Tags> </CMModules>
17
2. INDEX 제어 프로그램 구조 PMModules Section
<!-- PM 모듈 설정 --> <PMModules> <PMModule moduleID="PM1" handle="1" Title="L/L 상단" EQPID="8YFDE11_DE11_LL01" capacity="1" eqType="Normal" exchangable="false" useVCR="false" useHotLine="true" useRAlign="false" useDAlign="false"> <PD_Tags> <add key="Preview" value="PD_01_01_01_Preview"/> <add key="ToUpper" value="PD_01_01_01_toUpper"/> <add key="ToLower" value="PD_01_01_01_toLower"/> </PD_Tags> <CS_Tags> <add key="Preview" value="CS_01_02_01_Preview"/> <add key="ToLower" value="CS_01_02_01_toLower"/> <add key="ToUpper" value="CS_01_02_01_toUpper"/> </CS_Tags> </PMModule> <PMModule moduleID="PM2" handle="2" Title="L/L 하단" EQPID="8YFDE11_DE11_LL02" capacity="1" eqType="Normal" exchangable="false" useVCR="false" useHotLine="true" useRAlign="false" useDAlign="false"> <PD_Tags> <add key="Preview" value="PD_01_01_01_Preview"/> <add key="ToUpper" value="PD_01_01_02_toUpper"/> <add key="ToLower" value="PD_01_01_02_toLower"/> </PD_Tags> <CS_Tags> <add key="Preview" value="CS_01_02_01_Preview"/> <add key="ToLower" value="CS_01_02_02_toLower"/> <add key="ToUpper" value="CS_01_02_02_toUpper"/> </CS_Tags> </PMModule> </PMModules>
18
2. INDEX 제어 프로그램 구조 IODevice Section
<!-- I/O Device 설정 --> <IODevice deviceType="UniWire" ioListFile="IOPoint_R.xml" outputFile="IOPoint_R.xml"> <Uniwires> <Uniwire boardNum="0" baseAddress="180" is512Port="true" port50="0" port4098="0" port4099="176" /> </Uniwires> </IODevice>
19
2. INDEX 제어 프로그램 구조 Codes Section
<!-- Codes 설정 --> <Codes> <Code name="PROCESSID" Title="Process ID" MaxLength="20" codeTitle="CODE" descriptionTitle="Description" description="Process ID" /> <Code name="PRODTYPE" Title="Prod Type" MaxLength="2" codeTitle="CODE" descriptionTitle="Description" description="Prod Typpe" /> <Code name="PRODKIND" Title="Prod Kind" MaxLength="2" codeTitle="CODE" descriptionTitle="Description" description="Prod Kind" /> <Code name="STEPID" Title="Step ID" MaxLength="12" codeTitle="CODE" descriptionTitle="Description" description="STEP ID" /> <Code name="THICKNESS" Title="Thicness" MaxLength="2" codeTitle="CODE" descriptionTitle="Description" description="Thicness" /> <Code name="UNLOADJEDGEMENT" Title="Unload Judgement" MaxLength="4" codeTitle="CODE" descriptionTitle="Description" description="Unload Judgement" /> <Code name="PORTMODE" Title="Port Mode" MaxLength="2" codeTitle="CODE" descriptionTitle="Description" description="Port Mode" /> <Code name="DBRECIPE" Title="DBRecipe" MaxLength="4" codeTitle="CODE" descriptionTitle="Description" description="DB Recipe" /> </Codes>
20
Table of Contents INDEX Framework Overview INDEX 제어 프로그램 구조
Project 구조 Folder 구조 환경설정 파일 INDEX 제어 프로그램 Flow
21
3. INDEX 제어 프로그램 Flow 제어 프로그램 Flow IDXController CM Module PM Module
TM Module Scheduler
22
감사합니다.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.