Главная » Просмотр файлов » NT21_Reference Manual (V069-E1-1)

NT21_Reference Manual (V069-E1-1) (986756), страница 65

Файл №986756 NT21_Reference Manual (V069-E1-1) (Техническая документация) 65 страницаNT21_Reference Manual (V069-E1-1) (986756) страница 652015-07-23СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 65)

It is not possible to open aglobal window.SettingWhen creating a screen using the Support Tool, set Load Local 1 (Keyboard) orLoad Local 2 for a screen attribute.Reference: If the specified number is not the number of a window screen, no window opens.Operation1, 2, 3...1. Switch to a screen for which Load Local 1 (Keyboard) or Load Local 2 screenattribute is set.2. The set window opens.

The window is opened by the size and at the positionthat was specified when it was created.312SectionDisplay and Control of WindowsReference:3-4S When a window control area is allocated words in the host, window screennumber and the bottom left coordinate of the window that is opened are notified to the window control area. (Refer to page 313)Also, window open status bit of the corresponding window type in PT statusnotify area goes ON.

(Refer to page 313)S When NT20S or NT30/620 compatible mode is being used, the word containing the PT status notify bits is shifted down one word. (Refer to page NO TAG.)3. When the screen is switched to others, the window is closed.3-4-2 Checking the Display Status of a WindowPT has a function to notify the open/close status of a window, the screen numberand the position of presently displayed window to a host when the display statusof a window is switched.It is possible to know the occurrence of opening/closing of a window, windowscreen number and the display position from the host by the following method.• Reading out the contents of PT status notify area and PT status control areaReference: When NT20S or NT30/620 compatible mode is being used, the word containingthe PT status notify bits is shifted down one word.

(Refer to NO TAG.)Reading Out the Contents of PT Status Notify Area and PT Status Control AreaDisplay status of a window is always written to the following areasOpening/Closing status of a window:Window open status in PT status notify areaScreen number of a presently displayed window:Window screen number in window control areaPosition of a presently displayed window (bottom left coordinate):X coordinate and Y coordinate in window control areaSettingThe PT status notify area must be allocated words in the host. No special settings are required for the control of a window.To use a window control area, allocate words for the window control area in thehost when creating a screen using the Support Tool.Word 15kOperation14131211109876543210BitScreen No.

(4-digit BCD or hexadecimal)k+1X coordinate (4-digit BCD or hexadecimal)k+2Y coordinate (4-digit BCD or hexadecimal)k+3Screen No. (4-digit BCD or hexadecimal)k+4X coordinate (4-digit BCD or hexadecimal)k+5Y coordinate (4-digit BCD or hexadecimal)k+6Screen No. (4-digit BCD or hexadecimal)k+7X coordinate (4-digit BCD or hexadecimal)k+8Y coordinate (4-digit BCD or hexadecimal)Global windowLocal Window1Local Window2To check the display status of a window, operate as follows:313SectionDisplay and Control of Windows3-4Reading Out the Opening/Closing Status of a WindowThe bit for notifying the PT status (PT status notify bit) is provided at the secondword (word m + 1) from the beginning of the PT status notify area.1514013121110980076543210000Bit1 (ON)0 (OFF)15PT operation statusRunStop13Battery statusLowNormal12Screen switch strobe11Numeral setting strobe flag10Character string setting strobe flagPrintingStoppedNotified Information7Printer operating status6Backlight statusOffLit/Flashing5Global window open statusOpenClosed4Local window1 open statusOpenClosed3Local window2 open statusOpenClosedBit 7 is not supported by the NT21.Check the bits from 3 to 5 of the second word (word m + 1) from the beginning ofthe PT status notify area with the program in the host.The status of each bit and the correspondence to a window are as follows:BitName1 (ON)0 (OFF)5Global window open statusOpenClosed4Local window 1 open statusOpenClosed3Local window 2 open statusOpenClosedBy checking the status of the bit shift, it is possible to know the occurrence ofopening/closing of the window.Notification of Window Screen Number and CoordinatesIn the window control area, the following three words are provided for each global window, local window 1 and local window 2.Word 15k14131211109876543210BitScreen No.

(4-digit BCD or hexadecimal)k+1X coordinate (4-digit BCD or hexadecimal)k+2Y coordinate (4-digit BCD or hexadecimal)k+3Screen No. (4-digit BCD or hexadecimal)k+4X coordinate (4-digit BCD or hexadecimal)k+5Y coordinate (4-digit BCD or hexadecimal)k+6Screen No. (4-digit BCD or hexadecimal)k+7X coordinate (4-digit BCD or hexadecimal)k+8Y coordinate (4-digit BCD or hexadecimal)Global windowLocal Window1Local Window2With the program in the host, read out window screen number, X coordinate andY coordinate in a window control area that corresponds to the window of whichdisplay status is to be checked.The window screen number and bottom left X, Y coordinates of the window thatis presently displayed on the PT are stored in 4-digit BCD or hexadecimal.

Whichof BCD or hexadecimal is used is determined by the setting of Numeral StorageType in PT Configuration at the Support Tool.When the window is not displayed, 0000 is stored in window screen number. Inthe case of global window, however, when the screen other than user screen314SectionDisplay and Control of Windows3-4(such as system menu or error screen) is displayed, the window is automaticallyclosed, but the window screen number retains the existing value.The value in a window control area is effective only when the window is displayed.Reference: Display status of the window is always written to a window control area during theoperation of the PT.3-4-3 Disabling/Enabling the Opening of a WindowOpening of a window by operation at the PT can be enabled/disabled by usingthe method indicated below.Controlling the window by operation at the PT status control areaControlling the Window by Operation at the PT Status Control AreaThis method allows the opening of a window by operation at the PT to be disabled.

(Even if the opening of a window is disabled, it is possible to close thewindow by operation at the PT, or to move a window by a touch switch operationthat has window move function. Also, opening/closing/moving a window by operation of the window control area is always possible.)SettingWords must be allocated for the PT status control area in the host.

No specialsettings are required for the control of a window.OperationThe bit for controlling the PT status (PT status control bit) is provided at the fourthword (word n + 3) from the beginning of the PT status control area.15141312111009876543210Bit0Controlled Item1 (ON)0 (OFF)15Screen displayPerformedNot 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 executionPerformedNot performed2Memory table copy typeNumeralCharacter string1Alarm history initializationPerformedNot performed0Not usedAlways 0Always 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 disable the opening of a window by operation at the PT during the operation ofthe PT, operate the PT status control area as indicated below.Set 1 (ON) for bit 6 in the fourth word (word n + 3) from the beginning of the PTstatus control area.315SectionChanging Numeral and Character String Display3-53-5Changing Numeral and Character String DisplayThis section describes the procedure(s) for changing the contents of the numeral and character string memory table entries that are allocated words in the hostand also the procedure for changing the display on the PT by operation at thehost.For the procedure for displaying the contents of the numeral and character stringmemory table entries at the PT, refer to NO TAG Numeral Display (pageNO TAG) and NO TAG Character String Display (page NO TAG).3-5-1 Changing Numeric Values and Character StringsThe PT provides the following methods for changing the contents in the numeraland character string memory table entries.• Changing the contents of the allocated word of a numeral memory table• Changing the contents of the allocated word of a character string memory table• Copying the contents by operation at the PT status control area• Pressing a touch switch that has the Copy Setting functionReference: It is possible to input the data to numeral memory table entries and characterstring memory table entries by operation at the PT using the numeral settingfunction and the character string setting function.For details of this operation, refer to 3-7 Input of Numeric Values and CharacterStrings (page 328).Changing the Contents of the Allocated Word of a Numeral Memory TableBy allocating a word for a numeral table entry in the host, it is easy to reflect changes made at the word in the host to the numeral memory table.With this method, however, only the contents of the allocated words of memorytable entries being used for display on the current screen of the PT can be readout.

Contents of an allocated word that is not related to the display are not readout.Direct SpecificationPTPCNumeral memorytable entry 1800620062Allocated word(numeral memory table entry 18)DM01000 0 6 2DirectspecificationIndirect SpecificationPCPTNumeral memorytable entry 1877770062Indirectspecification7777Numeral memorytable entry 62Setting316Allocated word(numeral memory table entry 18)DM01000 0 6 2DM02007 7 7 7Allocated word(numeral memory table entry 62)When creating a screen using the Support Tool, set the allocated word for thenumeral memory table.

Характеристики

Тип файла
PDF-файл
Размер
3,16 Mb
Тип материала
Высшее учебное заведение

Список файлов учебной работы

Свежие статьи
Популярно сейчас
А знаете ли Вы, что из года в год задания практически не меняются? Математика, преподаваемая в учебных заведениях, никак не менялась минимум 30 лет. Найдите нужный учебный материал на СтудИзбе!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6418
Авторов
на СтудИзбе
307
Средний доход
с одного платного файла
Обучение Подробнее