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

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

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

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

3↑To be set by theSupport ToolAllocated bit (bit table entry 1)1← 1 (ON)After confirming that the screenhas been switched by the dataat the screen switch setting areain the PT status control areaAllocated bit (bit table entry 1)0 ← 0 (OFF)(On the PT, the screen numberremains at 3.)When creating a screen with the Support Tool, set the Switch Screen function inthe bit memory table entry and specify the screen number of the screen to bedisplayed. Allocate a bit for the bit memory table entry in the host.The screen numbers that can be specified are:• 0001 to 3999: Screen No.

1 to No. 3999• 9001:Occurrence history screen• 9002:Frequency history screen• 9020:Programming Console function screen• 9021 to 9023: Device Monitor function screens (NT31/NT31C orNT631/NT631C only)• 9030:Brightness and contrast adjustment screen (NT31/NT31C orNT631/NT631C only)• 9999:Return to the previous screenSettingReference:S To display overlapping screens, specify the screen number of the parentscreen.S The screen is not switched if elements have not been registered to the specified screen number.Operation1, 2, 3...1.

Set the bit in the host allocated for the bit memory table entry with the SwitchScreen function to 1 (ON) when switching the screen.2. After making sure that the screen has been changed over from the data byreferring to the screen switch setting word in the PT status control area orother data, return the bit in the host to 0 (OFF).Reference: The screen of the PT is switched at the timing the status of the bit allocated for thebit memory table entry is changed from 0 (OFF) to 1 (ON).

Please note that thescreen is not switched if it is changed from 1 (ON) to 0 (OFF).302SectionScreen Display and Notification3-3Switching the Screen Using the Screen Switching Function of the Alarm List/HistoryFunctionThis method allows the screen to be switched to the screen corresponding to themessage displayed by the alarm list/history function.The alarm list/history function monitors bits in the host via a bit memory tableentry. If the specified bit in the host is turned to 1 (ON), the function displays thecorresponding message (character string memory table entry) or image data/library data. The function can also switch over the screen to a specified one.Message and image/library data thatcorrespond to bit memory table entry 10Character stringmemory table entry 32Imagelibrarydata 10C5PCPTCharacter string table 50Image library data 124AScreen No.

100No. 9Character string table 32Image library data 10C5Screen No. 121No. 10Character string table 54Image library data 13CAScreen No. 65No. 11Allocated bit (bit table entry 10)1 ← 1(ON)Screen No. 121Touching the message changesover the screen to the one set inthe bit memory table entrySetting1, 2, 3...1.

When creating a screen with the Support Tool, set the bit memory table entryas indicated below and allocate a bit for the bit memory table entry in thehost.Function:Alarm (Alarm list/history function)Switch Screen:Check mark setString Table Entry:Table entry number of the character string memory table entry where the message to be displayed when the bit is 1 (ON) is stored.• 0 to 1999Image/Library Code:Code of the image data/library data that is displayed when the bit is 1 (ON).• 0001 to 0FFFH: Image data• 1000 to 3FFFH: Library dataScreen number:Screen number of the screen that corresponds to the 1 (ON) bit in the bit memorytable entry (in the host).• 0001 to 3999: Screen No.

1 to No. 3999• 9001:Occurrence history screen• 9002:• 9020:• 9021 to 9023:Frequency history screenProgramming Console function screenDevice Monitor function screensNT631/NT631C only)(NT31/NT31Cor303Screen Display and Notification• 9030:• 9999:Section3-3Brightness and contrast adjustment screen (NT31/NT31C orNT631/NT631C only)Return to the previous screenFor details of the setting for bit memory table entries, refer to NO TAG BitMemory Table (page NO TAG).Reference:S To display overlapping screens, specify the screen number of the parentscreen.S The screen is not switched if elements have not been registered to the specified screen number.2. When creating the screen, register an alarm list/history element for it.For details of the alarm list/history, refer to NO TAG Alarm List, Alarm History (page NO TAG).Operation1, 2, 3...Reference:1.

If the specified allocated bit in the host changes to 1 (ON) while the elementof the alarm list/history is displayed, the corresponding message is displayed (with the alarm list, the message is deleted from the list if the allocated bit returns to 0 (OFF)).2. The message area is a touch switch and the set image data/library data isdisplayed when the touch switch is pressed. The message is displayed inreverse video at the same time.3. The screen is switched to the specified screen when the reversed messageis pressed again.S The description above applies to the case where both the image/library codeand the screen numbers are set in the bit memory table entry.

If the image/library code is not set, the screen is switched over the first time the message ispressed.S The PT screen is switched when the reversed message is pressed. The screenis not switched if the status of the allocated bit changes from 1 (ON) to 0 (OFF).S When the screen is switched by operation at the PT, the screen switchingstrobe of the PT status notify bit changes to 1 (ON) so that the event of screenswitching is notified to the host. The screen number of the new screen is writtento the screen switch setting word in the PT status control area at the same time.(page 305)S When NT20S or NT30/620 compatible mode is being used, the current screennumber occupies the first word of the PT status notify area and the word containing the PT status notify bits is shifted down one word. (Refer to pageNO TAG.)304SectionScreen Display and NotificationExample of Use3-3For an example of use of screen switching using the alarm list/history function,refer to 3-8 Using the Alarm List/History Function (page 348).3-3-2 Finding the Screen Number of the Presently Displayed ScreenThe PT has a function to notify the host of the occurrence of a screen switchingevent, and the screen number of the new screen when the display screen isswitched by operation at the PT.The host uses the following method to ascertain the screen switching timing andthe new screen number.Reading the PT status notify area and the PT status control areaReading the PT Status Notify Area and the PT Status Control AreaWhen the screen is switched, it is notified to the following areas.• Screen switching timing:Screen switching strobe in the PT status notify area• Screen number of the presently displayed screen:Screen switch setting word in the PT status notify areaPTPCPT status control areaScreen switch setting← Screen No.Copy memoryDisplayed screentable entry settingPT status control settingReserved for system usePT status notify areaContent update memory table← Screen switch strobe flagPT statusReference: When NT20S or NT30/620 compatible mode is being used, the current screennumber occupies the first word of the PT status notify area and the word containing the PT status notify bits is shifted down one word.

(Refer to page NO TAG.)SettingThe PT status notify area and words must be allocated for the PT status controlarea in the host. No special settings are required for reading the status.OperationFollow the procedure indicated below to check the screen switching executed byoperation at the PT.Reading Screen Switching TimingThe 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.1514013121110980076543210000BitNotified Information1 (ON)0 (OFF)15PT operation statusRunStop13Battery statusLowNormal12Screen switch strobe11Numeral setting strobe flag10Character string setting strobe flagPrintingStoppedOffLit/Flashing7Printer operating status6Backlight status5Global window open statusOpenClosed4Local window 1 open statusOpenClosed3Local window 2 open statusOpenClosedBit 7 is not supported by the NT21.305SectionScreen Display and Notification3-3Make a program that runs in the host so that leading edge of bit 12 (screenswitching strobe) in the second word (word m + 1) from the beginning of the PTstatus notify area is checked.If this bit changes to 1 (ON), it indicates that the screen has been switched byoperation at the PT.Reference: The screen switching strobe automatically returns to 0 (OFF) when the occurrence of the event is notified to the host.Notifying the Screen NumberThe area for the screen switch command and notification of the screen numberis provided at the beginning (word n) of the PT status notify area.15 14 13 12 11 10 9876543210BitWordnScreen No.

(4-digit BCD or hexadecimal)n+1Copy source memory table entry number(4-digit BCD or hexadecimal)n+2Copy destination memory table entry number(4-digit BCD or hexadecimal)n+3PT status control bitsn+4Screen switch settingCopy memory tablesettingPT status controlReserved for system useThe configuration and functions of these words are differentwhen the PT is in NT20S or NT30/620 compatible mode.Read out the beginning (word n) of the PT status control area with the program inthe host.The screen number of the screen displayed at the PT is stored in a 4-digit BCD ora 4-digit hexadecimal. Whether BCD or hexadecimal notation is to be used is setfor Numeral Storage Type of PT Configuration at the Support Tool.

Refer toNO TAG PT Configuration Settings (page NO TAG) for settings related to the PTenvironment.Reference: While the PT is running, the screen number of the currently displayed screen isalways recorded in the screen switch setting word in the PT status control area(except when the screen displayed is an error screen or the System Menuscreen, in which case the screen number of the screen displayed immediatelybefore remains recorded).Example of UseAn example of a PC program that reads the screen number each time the screenis switched by the PT is described below. This example program stores the previous screen number also.Setting with the Support ToolSet the following words with the Support Tool.• Allocated word in the PT status control area: 00100 (word 100 in the CIO area)• Allocated word in the PT status notify area: 00110 (word 110 in the CIO area)PC ProgramCreate the PC ladder program as indicated below.11112Screenswitchingstrobe306@MOV(21)DM0100DM0101@MOV(21)100DM0100(1)Word for storing the screen number of the previous screen(2)Word for notifying the screen number of the presently displayed screenWord for storing the screen number of the new screenScreen Display and NotificationSection3-3Program Operation1, 2, 3...1.

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

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

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

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