NT21_Reference Manual (V069-E1-1) (986756), страница 76
Текст из файла (страница 76)
Read the second word (word m + 1) from the beginning in the PT statusnotify area and make sure that bit 7 (printer operating status) in the PT statusnotify bits is 0 (OFF). (page 363)2. Set 1 (ON) for bit 7 in the fourth word (word n + 3) from the beginning in thePT status control area.Printing a Hard Copy by Pressing a Touch Switch with the Print Screen FunctionIf this method is used, the screen can be printed out by operation at the PT. Touse this method for printing the screen, however, a touch switch that has the printscreen function must be registered for the screen.Screen hard copy start keyWhen this key is pressed, printing of ascreen hard copy is started.Temperature adjustmentCOPYSTARTCOPYCANCELScreen hard copy cancel keyWhen this key is pressed, printing ofthe screen hard copy is canceled.Current temp.: 20_CSet temp.:20_C+10+1–10–1365Printing Data and Checking the Printer StatusReference:Section 3-11S The PT continues operation even while the screen hard copy is being printed.S By registering a touch switch with the print stop function, it is possible to stopprinting by using this touch switch.S Inputs by touch switches can be disabled by setting the interlock function forthe switch and turning OFF the host’s interlock bit that controls the switch.
SeeControlling PT Operations with Interlock Bits on page 369 for details.SettingWhen creating a screen using the Support Tool, set the function Print Screen fora touch switch, set Start as the function, and register the touch switch for thescreen.If necessary, also register a touch switch for which the Abort function is set forPrint Screen for the screen.OperationTo start or stop screen printing, press the touch switch with the Print Screen function (Start for starting screen printing and Abort for stopping screen printing).366Enabling/Disabling PT OperationsSection 3-123-12 Enabling/Disabling PT OperationsFor the following functions of the PT, operations can be enabled or disabled byinstructions from the host.• Opening a window (with PT status control bits)• Inputting numeric values and character strings (with PT status control bits orinterlock bits)• Switching the screen (with the PT status control bits)• Operating touch switches (with interlock bits)• Recipe object operations (with PT status control bits or interlock bits)The procedure for enabling and disabling operation at the PT by instructionsfrom the host is described below.3-12-1 Enabling and Disabling the Operation of the PTOperation at the PT can be enabled or disabled from the host using the followingmethods.• By operation at the PT status control area• By operation of interlock bitsReference:S When window opening has been disabled with a PT status control bit, all kindsof window opening operations at the PT, such as operations that use a touchswitch or screen property setting, are not possible.
Note that window close operations are still possible.S When the input of numeric values and character strings has been disabled witha PT status control bit, all kinds of numeric value and character string changeoperations at the PT, such as numeric value input (numeric key type input field,thumbwheel type input field), character string input, copying memory table entries using a touch switch, and recipe data editing, are not possible. Note thatoperations to change numeric values/character strings at the PT status controlarea by an instruction from the host (memory table copying and screen switching by operation at the PT status control area, changing the contents of allocated words, etc.) are still possible.S When interlock bits are being used to control numeral inputs, character stringinputs, or recipe data editing, the input fields or recipe object can be enabled/disabled independently.
Regardless of the status of the interlock bits, it is always possible to use bits in the PT status control area to make changes fromthe host such as copying memory table entries or changing the contents of allocated words.S When screen switching is disabled with the bit in the PT status control area, allkinds of screen switching operations at the PT, such as screen switching usinga touch switch and by the alarm list/history function, are not possible.
Note thatthe display of the System Menu using the touch panel and screen switching byan instruction from the host using the PT status control area are still possible.S When the operation of touch switches is being controlled with interlock bits, thetouch switches can be enabled/disabled independently regardless of eachtouch switch’s function.S It is possible to disable the input and change operation using the System Menuand the display of the System Menu by setting in the System Installer mode.(Refer to the Setup Manual.)367Section 3-12Enabling/Disabling PT OperationsControlling the Enabling/Disabling of PT Side Operation by Operation at the PTStatus Control AreaUse this method to enable and disable PT operations from the host. PT operations that can be controlled include opening windows, inputting numeric valuesand character strings, and switching screens.SettingWords must be allocated for the PT status control area in the host. No specialsettings are required for reading the operation at the PT.OperationBits used to control the PT status (PT status control bits) are provided at thefourth word (word n + 3) from the beginning in the PT status control area.• Bit 6: Enabling/disabling the PT side window opening• Bit 5: Enabling/disabling the inputting of numeric values and character strings• Bit 4: Enabling/disabling the PT side screen switching1514131211109876543210Bit001 (ON)0 (OFF)15Screen displayControlled ItemPerformedNot performed14Processing priority registration (for NT link (1:N))RegisteredCanceled13Continuous buzzerSoundedStopped12Intermittent buzzer (short)SoundedStoppedPerformed11Display history initialization10Not usedNot performed9Intermittent buzzer (long)SoundedStopped8Backlight modeLitFlashing7Screen printingPerformedNot performed6PT window openingDisabledEnabled5Numeral/character string inputDisabledEnabled4PT screen switchingDisabledEnabled3Memory table copy execution2Memory table copy type1Alarm history initialization0Not usedAlways 0PerformedNot performedNumeralCharacter stringNot performedPerformedAlways 0Bits 2 and 3 are not used when the PT is in NT20S orNT30/620 compatible mode.Bit 7 is not supported by the NT21.To control the operation by the PT while it is running, operate the PT status control area in the manner shown below.Change the setting of the bits in the fourth word (word n + 3) from the beginning inthe PT status control area as indicated below according to the required control.word n + 3368• Bit 6:To control the PT side window opening• Bit 5:To control the inputting of numeric values and character strings• Bit 4:To control PT side screen switchingTo disable operation:1 (ON)To enable operation:0 (OFF)Section 3-12Enabling/Disabling PT OperationsControlling PT Operations with Interlock BitsUse this method to enable and disable PT operations from the host.
PT operations that can be controlled include touch switch operations, numeric inputs,character string inputs, and recipe data editing. Operations are controlled individually.PCTouch switchinterlock bit:CIO 010015CIO 010015 is OFF.CIO 010011 is ON.(Disabled.)Touch switchinterlock bit:CIO 010011(Enabled.)SettingWhen creating a screen with the Support Tool, set the interlock function for thedesired touch switch, numeral input field, thumbwheel switch, character stringinput field, or recipe object and allocate an interlock bit in the host.OperationTurn the corresponding interlock bit ON or OFF to enable or disable a touchswitch, numeral input, character string input, or recipe data editing.Interlock bit OFF: Disable switch or input.Interlock bit ON: Enable switch or input.Reference: The PT continuously reads the status of the corresponding interlock bit while theswitch or input that uses the interlock function is being displayed on the screen.
ifthe interlock bit’s status changes, the switch or input’s operation is disabled orenabled according to the interlock bit’s status.369SECTION 4Using Memory LinkThis section gives an overview of memory link operations and contains explanations centered on communications betweenthe PT and host when using memory link.4-14-24-34-4Operation of the Memory Link .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1-1 PT Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1-2 Memory Link Commands . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .Outline of Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2-1 Communication Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-2-2 Notes on Using Commands . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Commands/Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3-1 PT Memory Read Command (Sent from Host to PT) . . . . . . . . . . . . . . . . . . . . . .4-3-2 Numeral Memory Table Read Command (Sent from Host to PT) . . . . .
. . . . . . .4-3-3 Character String Memory Table Read Command (Sent from Host to PT) . . . . . .4-3-4 Bit Memory Table Read Command (Sent from Host to PT) . . . . . . . . . . . . . . . . .4-3-5 Screen Data Comment Read Command (Sent from Host to PT) . . . . . . . . . . . . .4-3-6 System Status Read Command (Sent from Host to PT) . . .
. . . . . . . . . . . . . . . . .4-3-7 PT Memory Write Command (Sent from Host to PT) . . . . . . . . . . . . . . . . . . . . .4-3-8 Numeral Memory Table Write Command (Sent from Host to PT) . . . . . . . . . . . .4-3-9 Character String Memory Table Write Command (Sent from Host to PT) . . . . . .4-3-10 Bit Memory Table Write Command (Sent from Host to PT) . . . . . . . . . . .
. . . . .4-3-11 PT Memory Batch Write (FILL) Command (Sent from Host to PT) . . . . . . . . . .4-3-12 Numeral Memory Table Clear Command (Sent from Host to PT) . . . . . . . . . . . .4-3-13 Character String Memory Table Clear Command (Sent from Host to PT) .