1、PROTOCOLSPECIFICATION设备对接协议doc 62页HUSKY MACHINE OPERATIONSHUSKY HOST INTERFACE PROTOCOL SPECIFICATIONThis manual describes the interface between a Husky Injection Molding Machine with the Husky Host Interface option and the Host system. An overview of the system and a detailed command set are given.
2、 This manual is issued by the Systems Software Group.SPECIFICATION SUBJECT TO CHANGEHusky Injection Molding Systems Ltd.Machine Operations560 Queen Street SouthBolton, Ontario, Canada L7E 5S5REVISION RECORDRevisionDateComments1.001994 12 12Initial Release.1.011995 4 11Added text data variable suppor
3、t, reformatted.1.021995 5 15Cleaned up per MD, SPC II and Tandem updates.1.031995 7 28Restored reference to RFC 1179 for printing.2.001998 4 17Updated for G-Line, added Event Function, updated variable list, much cleanup.2.011999 10 12Added Status Function.2.021999 11 08Change references to “Alarm”
4、to “Cycle Interruption”Contents1.IntroductionThis document describes the functions and interface of the Husky Host Interface option. This product is designed to connect a Husky Molding Machine to a host computer, enabling a user-supplied host system to obtain process variable data and machine events
5、, receive machine cycle interruptions, and SPC information (if equipped), send and receive setup files, query machine status, and communicate with shop floor operators via a dedicated Host Terminal screen on the Husky Operator Interface.Note: The Husky Host Interface option only supplies the softwar
6、e and hardware implementing the protocol on the Husky Molding Machine. The host system must be supplied by the customer and is not provided with this option.The document begins with an overview of a typical system. This is followed by a description of user functions, including how the user views the
7、 system, and then by a technical description of the interface. This interface is divided into three logical sections, where each section provides a distinct function. The messages described in each of these sections flow through separate virtual communications ports of the network interface.2.System
8、 OverviewThe data communications messages between the host system and the Husky Operator Interface (OI) are sent via an Ethernet connection using TCP/IP socket streams. (see Figure 1). Process data, events, cycle interruptions, SPC information, machine set-up information, machine status, and termina
9、l commands are transmitted between the host and the molding machines. The host communications option also adds remote printing capabilities to the Husky OI, allowing a machine operator to use a printer supported by the print host.The host system and the print host shown below in Figure 1 are depicte
10、d as separate nodes on the network, but they may be configured on a single node. The interface allows any host system to communicate with any number of Husky machines and any OI to use the printing facilities provided by any print host.Figure 1 - System Overview3.Functions3.1Host Display InterfaceTh
11、e Host system controls what appears on the allocated area of the OI screen and menu labels. The operator exits the Host Terminal screen by pressing one of the dedicated screen keys from the lower row of the “Screen Selection Keypad”. The display supports text and graphics, with text presented on cha
12、racter cell boundaries. There are 25 lines of character cells by 78 columns, bordered by a thin outline. Each cell is 8 pixels wide and 16 pixels high. The total graphics area is 425 pixels high and 636 pixels wide. Each of the ten menu labels on the screen are made of two lines of eight characters
13、each.The display can be either colour or monochrome. Commands are provided to allow the host system to set the colour scheme.The Husky OI transmits all key-strokes to the host with the expection of the bottom row of screen selection keys, and the print screen key.Figure 2 - OI Screen Area for Host T
14、erminal3.2Sending Machine Set-ups to HostMachine set-ups contain a set of operating parameters for a specific job or product. Set-up functions require the Husky “operator” security level.When configured with the Husky Host Interface option, Husky set-up number one is reserved. When the operator save
15、s to set-up number one, it is transmitted to the host system.Set-ups being sent to the host system are identified by:Date and time (19 characters, “YYYY-MM-DD HH:MM:SS”)Mold number (8 characters)Machine type (9 characters)Machine serial number (6 characters)Resin type and name (16 characters).The ho
16、st must only save set-ups on its disk if the whole data file is received correctly. The set-up will not appear in set-up number one until the host has received the entire data file with no errors. If an error occurs when sending a machine set-up, the Husky OI displays an error message on the warning
17、 line and prompts the operator for a response before continuing.If the host interface is down, the operator cannot save to set-up number one. The set-up will have to be saved to another set-up number and transferred to set-up number one when the interface has been re-established.3.3Receiving Machine
18、 Set-ups from Host When configured with the Husky Host Interface option, the Husky machine can also receive machine set-ups into set-up number one from the host system.When the host system transfers a set-up to the machine, it is stored in the set-up number one slot. Loading the new set-up number on
19、e into the Husky machine is under the control of the operator. The operator loads this new machine set-up when ready.If the machine serial numbers are different when the Husky machine is receiving a new set-up, the OI prompts the operator on the warning line before the new set-up is accepted. Typica
20、lly, only set-ups from similar machines are accepted.Set-ups are identified on the Husky machine by:Date and time (19 characters, “YYYY-MM-DD HH:MM:SS”)Mold number (8 characters)Machine type (9 characters)Machine serial number (6 characters)Resin type and name (16 characters).For security and safety
21、 reasons, set-ups must not be modified in any way by the host system. Checks internal to the Husky system will prevent the use of altered set-ups. The operator interface displays a message on the warning line when it is receiving a new set-up.The Husky machine only saves set-ups in its memory if the
22、 whole data file has been received correctly and the internal checks complete successfully. If an error occurs when receiving a machine set-up, the Husky OI displays an error message on the warning line and prompts the operator for a response before the machine continues.3.4Read Process DataAt the e
23、nd of every cycle, the Husky machine will transmit process data collected during the last cycle to the host system. (see Appendix A).3.5EventsThe Operator Interface will transmit to the Host Computer all events normally stored in the Event Log including:Cyc.Int. - Cycle Interruption active and inact
24、ive.Alarm - Machine Alarms active and inactive.Setpoint - Changes to setpoints, options, selections, etc.Machine - Changes in machine state (Idle/Manual, Auto Cycling, etc.)OI Start - Startup of the Operator Interface.PLC Link - PLC communications status.PLC2Link - Second PLC communications status.C
25、LC Link - CLC Robot Controller communications status.Bnchmark - Cycle Time Breakdown Benchmark captured.Setup - Mold Setup save and recall.Heats - Broken Thermocouple or Controller faults.SPC - Individual SPC variable alarms.Log - Event and Data log creation or transfer.Access - Operator Access Logi
26、n/Logout.Reason - Setpoint Change Reasons.Inv.Alrm - Unconfigured Alarms.Some of these events only apply to machines which include certain options (SPC, Reasons, Access) or are dependant upon the vintage or configuration of the machine (PLC2Link, CLC Link, Heats). Older machines not equipped with th
27、e Troubleshooting package will generate only OI Start events (and SPC and Log events if equipped). Special software or future enhancements may add, change, or eliminate event types.Events messages will only be sent to the host as they occur, and will not be buffered if the connection to the host is
28、lost. The event text will be sent in all supported languages.3.6Cycle InterruptionsThe Husky machine transmits cycle interruptions, as they occur, to the host (see Appendix B). The host can also request the last cycle interruption condition at any time. The Husky machine will send the cycle interrup
29、tion text to the host in all supported languages.3.7SPCIf the Husky SPC option is installed, the Husky machine will transmit SPC information to the host when a change in any of the parameters is detected. The host can also request this information at any time.3.8Machine Status“Query Machine Status”
30、will return an ASCII string indicating the status of the machine.3.9Remote Printing When the operator presses the Print-screen key, the current display image is transmitted to the specified print queue. This requires the Husky print-screen option.To enable remote printing on the host printer, it mus
31、t be selected via the OI print settings screen. For remote printing to work as desired, the print host must be connected to a printer supported by Husky printing functions.4.Technical Implementation4.1Communications InterfaceThis section defines the Husky Host Interface. This interface is comprised
32、of three links:Type 1 - Machine functions (Husky to Host)Type 2 - Display interface (Husky to Host)Type 3 - Remote printing (Husky to Print Host).Each link uses a separate TCP/IP socket connection. At start-up the host system calls the Husky machine.If the link between the Husky machine and the host system fails or disconnects, the host system must re-establish the connection. When the host link is down, a warning is dis
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1