PROTOCOLSPECIFICATION设备对接协议doc 62页.docx

上传人:b****7 文档编号:10069497 上传时间:2023-02-08 格式:DOCX 页数:54 大小:57.95KB
下载 相关 举报
PROTOCOLSPECIFICATION设备对接协议doc 62页.docx_第1页
第1页 / 共54页
PROTOCOLSPECIFICATION设备对接协议doc 62页.docx_第2页
第2页 / 共54页
PROTOCOLSPECIFICATION设备对接协议doc 62页.docx_第3页
第3页 / 共54页
PROTOCOLSPECIFICATION设备对接协议doc 62页.docx_第4页
第4页 / 共54页
PROTOCOLSPECIFICATION设备对接协议doc 62页.docx_第5页
第5页 / 共54页
点击查看更多>>
下载资源
资源描述

PROTOCOLSPECIFICATION设备对接协议doc 62页.docx

《PROTOCOLSPECIFICATION设备对接协议doc 62页.docx》由会员分享,可在线阅读,更多相关《PROTOCOLSPECIFICATION设备对接协议doc 62页.docx(54页珍藏版)》请在冰豆网上搜索。

PROTOCOLSPECIFICATION设备对接协议doc 62页.docx

PROTOCOLSPECIFICATION设备对接协议doc62页

 

HUSKYMACHINEOPERATIONS

 

HUSKYHOSTINTERFACEPROTOCOLSPECIFICATION

 

ThismanualdescribestheinterfacebetweenaHuskyInjectionMoldingMachinewiththeHuskyHostInterfaceoptionandtheHostsystem.Anoverviewofthesystemandadetailedcommandsetaregiven.ThismanualisissuedbytheSystemsSoftwareGroup.

SPECIFICATIONSUBJECTTOCHANGE

 

HuskyInjectionMoldingSystemsLtd.

MachineOperations

560QueenStreetSouth

Bolton,Ontario,CanadaL7E5S5

REVISIONRECORD

Revision

Date

Comments

1.00

19941212

InitialRelease.

1.01

1995411

Addedtextdatavariablesupport,reformatted.

1.02

1995515

CleanedupperMD,SPCIIandTandemupdates.

1.03

1995728

RestoredreferencetoRFC1179forprinting.

2.00

1998417

UpdatedforG-Line,addedEventFunction,updatedvariablelist,muchcleanup.

2.01

19991012

AddedStatusFunction.

2.02

19991108

Changereferencesto“Alarm”to“CycleInterruption”

Contents

1.Introduction

ThisdocumentdescribesthefunctionsandinterfaceoftheHuskyHostInterfaceoption.ThisproductisdesignedtoconnectaHuskyMoldingMachinetoahostcomputer,enablingauser-suppliedhostsystemtoobtainprocessvariabledataandmachineevents,receivemachinecycleinterruptions,andSPCinformation(ifequipped),sendandreceivesetupfiles,querymachinestatus,andcommunicatewithshopflooroperatorsviaadedicatedHostTerminalscreenontheHuskyOperatorInterface.

Note:

TheHuskyHostInterfaceoptiononlysuppliesthesoftwareandhardwareimplementingtheprotocolontheHuskyMoldingMachine.Thehostsystemmustbesuppliedbythecustomerandisnotprovidedwiththisoption.

Thedocumentbeginswithanoverviewofatypicalsystem.Thisisfollowedbyadescriptionofuserfunctions,includinghowtheuserviewsthesystem,andthenbyatechnicaldescriptionoftheinterface.Thisinterfaceisdividedintothreelogicalsections,whereeachsectionprovidesadistinctfunction.Themessagesdescribedineachofthesesectionsflowthroughseparatevirtualcommunicationsportsofthenetworkinterface.

2.SystemOverview

ThedatacommunicationsmessagesbetweenthehostsystemandtheHuskyOperatorInterface(OI)aresentviaanEthernetconnectionusingTCP/IPsocketstreams.(seeFigure1).

Processdata,events,cycleinterruptions,SPCinformation,machineset-upinformation,machinestatus,andterminalcommandsaretransmittedbetweenthehostandthemoldingmachines.ThehostcommunicationsoptionalsoaddsremoteprintingcapabilitiestotheHuskyOI,allowingamachineoperatortouseaprintersupportedbytheprinthost.

ThehostsystemandtheprinthostshownbelowinFigure1aredepictedasseparatenodesonthenetwork,buttheymaybeconfiguredonasinglenode.TheinterfaceallowsanyhostsystemtocommunicatewithanynumberofHuskymachinesandanyOItousetheprintingfacilitiesprovidedbyanyprinthost.

Figure1-SystemOverview

3.Functions

3.1HostDisplayInterface

TheHostsystemcontrolswhatappearsontheallocatedareaoftheOIscreenandmenulabels.TheoperatorexitstheHostTerminalscreenbypressingoneofthededicatedscreenkeysfromthelowerrowofthe“ScreenSelectionKeypad”.

Thedisplaysupportstextandgraphics,withtextpresentedoncharactercellboundaries.Thereare25linesofcharactercellsby78columns,borderedbyathinoutline.Eachcellis8pixelswideand16pixelshigh.Thetotalgraphicsareais425pixelshighand636pixelswide.Eachofthetenmenulabelsonthescreenaremadeoftwolinesofeightcharacterseach.

Thedisplaycanbeeithercolourormonochrome.Commandsareprovidedtoallowthehostsystemtosetthecolourscheme.

TheHuskyOItransmitsallkey-strokestothehostwiththeexpectionofthebottomrowofscreenselectionkeys,andtheprintscreenkey.

Figure2-OIScreenAreaforHostTerminal

3.2SendingMachineSet-upstoHost

Machineset-upscontainasetofoperatingparametersforaspecificjoborproduct.Set-upfunctionsrequiretheHusky“operator”securitylevel.

WhenconfiguredwiththeHuskyHostInterfaceoption,Huskyset-upnumberoneisreserved.Whentheoperatorsavestoset-upnumberone,itistransmittedtothehostsystem.

Set-upsbeingsenttothehostsystemareidentifiedby:

∙Dateandtime(19characters,“YYYY-MM-DDHH:

MM:

SS”)

∙Moldnumber(8characters)

∙Machinetype(9characters)

∙Machineserialnumber(6characters)

∙Resintypeandname(16characters).

Thehostmustonlysaveset-upsonitsdiskifthewholedatafileisreceivedcorrectly.Theset-upwillnotappearinset-upnumberoneuntilthehosthasreceivedtheentiredatafilewithnoerrors.Ifanerroroccurswhensendingamachineset-up,theHuskyOIdisplaysanerrormessageonthewarninglineandpromptstheoperatorforaresponsebeforecontinuing.

Ifthehostinterfaceisdown,theoperatorcannotsavetoset-upnumberone.Theset-upwillhavetobesavedtoanotherset-upnumberandtransferredtoset-upnumberonewhentheinterfacehasbeenre-established.

3.3ReceivingMachineSet-upsfromHost

WhenconfiguredwiththeHuskyHostInterfaceoption,theHuskymachinecanalsoreceivemachineset-upsintoset-upnumberonefromthehostsystem.

Whenthehostsystemtransfersaset-uptothemachine,itisstoredintheset-upnumberoneslot.Loadingthenewset-upnumberoneintotheHuskymachineisunderthecontroloftheoperator.Theoperatorloadsthisnewmachineset-upwhenready.

IfthemachineserialnumbersaredifferentwhentheHuskymachineisreceivinganewset-up,theOIpromptstheoperatoronthewarninglinebeforethenewset-upisaccepted.Typically,onlyset-upsfromsimilarmachinesareaccepted.

Set-upsareidentifiedontheHuskymachineby:

∙Dateandtime(19characters,“YYYY-MM-DDHH:

MM:

SS”)

∙Moldnumber(8characters)

∙Machinetype(9characters)

∙Machineserialnumber(6characters)

∙Resintypeandname(16characters).

Forsecurityandsafetyreasons,set-upsmustnotbemodifiedinanywaybythehostsystem.ChecksinternaltotheHuskysystemwillpreventtheuseofalteredset-ups.Theoperatorinterfacedisplaysamessageonthewarninglinewhenitisreceivinganewset-up.

TheHuskymachineonlysavesset-upsinitsmemoryifthewholedatafilehasbeenreceivedcorrectlyandtheinternalcheckscompletesuccessfully.Ifanerroroccurswhenreceivingamachineset-up,theHuskyOIdisplaysanerrormessageonthewarninglineandpromptstheoperatorforaresponsebeforethemachinecontinues.

3.4ReadProcessData

Attheendofeverycycle,theHuskymachinewilltransmitprocessdatacollectedduringthelastcycletothehostsystem.(seeAppendixA).

3.5Events

TheOperatorInterfacewilltransmittotheHostComputeralleventsnormallystoredintheEventLogincluding:

∙Cyc.Int.-CycleInterruptionactiveandinactive.

∙Alarm-MachineAlarmsactiveandinactive.

∙Setpoint-Changestosetpoints,options,selections,etc.

∙Machine-Changesinmachinestate(Idle/Manual,AutoCycling,etc.)

∙OIStart-StartupoftheOperatorInterface.

∙PLCLink-PLCcommunicationsstatus.

∙PLC2Link-SecondPLCcommunicationsstatus.

∙CLCLink-CLCRobotControllercommunicationsstatus.

∙Bnchmark-CycleTimeBreakdownBenchmarkcaptured.

∙Setup-MoldSetupsaveandrecall.

∙Heats-BrokenThermocoupleorControllerfaults.

∙SPC-IndividualSPCvariablealarms.

∙Log-EventandDatalogcreationortransfer.

∙Access-OperatorAccessLogin/Logout.

∙Reason-SetpointChangeReasons.

∙Inv.Alrm-UnconfiguredAlarms.

Someoftheseeventsonlyapplytomachineswhichincludecertainoptions(SPC,Reasons,Access)oraredependantuponthevintageorconfigurationofthemachine(PLC2Link,CLCLink,Heats).OldermachinesnotequippedwiththeTroubleshootingpackagewillgenerateonlyOIStartevents(andSPCandLogeventsifequipped).Specialsoftwareorfutureenhancementsmayadd,change,oreliminateeventtypes.

Eventsmessageswillonlybesenttothehostastheyoccur,andwillnotbebufferediftheconnectiontothehostislost.Theeventtextwillbesentinallsupportedlanguages.

3.6CycleInterruptions

TheHuskymachinetransmitscycleinterruptions,astheyoccur,tothehost(seeAppendixB).Thehostcanalsorequestthelastcycleinterruptionconditionatanytime.TheHuskymachinewillsendthecycleinterruptiontexttothehostinallsupportedlanguages.

3.7SPC

IftheHuskySPCoptionisinstalled,theHuskymachinewilltransmitSPCinformationtothehostwhenachangeinanyoftheparametersisdetected.Thehostcanalsorequestthisinformationatanytime.

3.8MachineStatus

“QueryMachineStatus”willreturnanASCIIstringindicatingthestatusofthemachine.

3.9RemotePrinting

WhentheoperatorpressesthePrint-screenkey,thecurrentdisplayimageistransmittedtothespecifiedprintqueue.ThisrequirestheHuskyprint-screenoption.

Toenableremoteprintingonthehostprinter,itmustbeselectedviatheOIprintsettingsscreen.Forremoteprintingtoworkasdesired,theprinthostmustbeconnectedtoaprintersupportedbyHuskyprintingfunctions.

4.TechnicalImplementation

4.1CommunicationsInterface

ThissectiondefinestheHuskyHostInterface.Thisinterfaceiscomprisedofthreelinks:

Type1-Machinefunctions(HuskytoHost)

Type2-Displayinterface(HuskytoHost)

Type3-Remoteprinting(HuskytoPrintHost).

EachlinkusesaseparateTCP/IPsocketconnection.Atstart-upthehostsystemcallstheHuskymachine.

IfthelinkbetweentheHuskymachineandthehostsystemfailsordisconnects,thehostsystemmustre-establishtheconnection.Whenthehostlinkisdown,awarningisdis

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 表格模板 > 合同协议

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1