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

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

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

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

When making this setting, the Words and Storage Typesettings must be taken into careful consideration.SectionChanging Numeral and Character String Display3-5Reference: The range of numeral memory table entry numbers that can actually be used depends on the number of numeral memory table entries set for Tools – PT Configuration – System setting at the Support Tool.OperationChange the contents of the word in the host allocated for the numeral memorytable entry.The contents of the word are reflected to the numeral memory table entry according to the setting of the numeral memory table entry.Note that the contents of a numeral memory table entry allocated word can onlybe read out when the memory table entry is being used for an element that iscurrently displayed by the PT (if the background function is set for a trend graph,the contents of the corresponding word are always read out). The contents of anallocated word that is not related to the display are not read out.Example of UseDirect SpecificationAn example of displaying the contents of a PC word allocated for a numeralmemory table entry as they are is shown below.

The display on the PT screenchanges as the contents of the PC word change.Setting at the Support ToolSet as indicated below using the Support Tool.• Numeral memory table entry 1:D0000 (Words: 2, Storage Type: BCD)• Numeral memory table entry 2:D0002 (Words: 1, Storage Type: BCD)• Contents to be registered for the screen:Numeral display (numeral memory table entries 1 and 2)Numeral memory table entry 1 (8-digit display)Line 1Qty.15289Defects23unitsunitsNumeral memory table entry 2 (4-digit display)PC ProgramMake a PC program as shown below.25502 (1-sec clock)DIFU (13)0010000100(1)INC (38)DM0000Lower 4-digit word of No.

1INC (38)DM0001Higher 4-digit word of No. 125506 (=)(2)00001@INC (38)DM0002(3)Word of No. 2317SectionChanging Numeral and Character String Display3-5Program Operation1, 2, 3...1. The value 1 is added to the contents of D0000 every second. At the PT, thedisplayed value of the numeral memory table entry 1 increases by 1 everysecond.2. Each time carry over occurs during processing at (1) above, the contents ofD0001 are incremented by 1. At the PT, the value of the higher 4 digits innumeral memory table entry 1 increases by 1.3. When bit 00001 comes ON, the value 1 is added to the contents of D0002. Atthe PT, the displayed value of numeral memory table entry 2 increases by 1.Indirect SpecificationThe following shows an example of changing the displayed numeric value byadding a value to the contents of a numeral memory table entry allocated wordthat is referenced in indirect specification.Setting at the Support ToolSet as indicated below using the Support Tool.• Numeral memory table entry 51:D0000 (Value: 100, Words: 1, Storage Type: BCD)• Numeral memory table entry 100:D0010 (Words: 1, Storage Type: BCD)• Numeral memory table entry 101:D0011 (Words: 1, Storage Type: BCD)• Touch switch (upper):• Function setting: Notify Bit• PC Address:0000100• Action Type:Momentary• Label:TARGET• Touch switch (lower):• Function setting: Notify Bit• PC Address:0000101• Action Type:Momentary• Label:ACHIEVED• Contents to be registered for the screen:Numeral display (numeral memory table entry 51, indirect specification), touchswitches (two, indicated above)Touch switch No.

10LINETARGET320unitsACHIEVEDNumeral display(numeral memory table entry 51 is designated in indirect specification)Touch switch No. 11318SectionChanging Numeral and Character String Display3-5PC ProgramMake a PC ladder program as shown below.The program must also be made so that the value of ACHIEVED is stored toD0010 and the value of TARGET is stored to D0011.00100@INC (38)DM0000(1)Numeral memory table entry numberused in indirect specification@DEC (39)DM0000Numeral memory table entry numberused in indirect specification00101(2)Program Operation1, 2, 3...1.

When TARGET (touch switch No. 10) is pressed, the contents of numeralmemory table entry 101 (the value of the target production) is displayed.2. When ACHIEVED (touch switch No. 11) is pressed, the contents of numeralmemory table entry 100 (the value of the production actually achieved) isdisplayed.In this example, the contents of numeral memory table entry 51, which is referenced in indirect specification, is not checked. If the program is actually tested,the contents of numeral memory table entry 51 must not be outside the range of0100 to 0101.By using the lamp bit of the touch switch, it is possible to identify which of thenumeral memory table entries is used for display.

For details, refer to NO TAGTouch Switches (page NO TAG).Changing the Contents of the Character String Memory Table Allocated WordBy allocating words for a character string table entry in the host, changes madeat the word in the host can be easily reflected to the character string memorytable entry.With this method, however, the contents of a memory table allocated word canonly be read out when the character string memory table entry is being used foran element that is currently displayed by the PT. The contents of an allocatedword that is not related to the display is not read out.When a character code is written to a word at the host, the character code isstored without change in the character string memory table entry.

By specifyingFF20 to FFFH, it is possible to include marks in character strings.Character codes stored in words at the host are stored in the following sequencein character string memory table entries.A = 41H, B = 42HFirst word4142C = 43H, D = 44HFirst word + 1 4344Y = FF01HFirst word + 2 FF01E = 45H, F = 46HFirst word + 3 4546ABCDYEFWhen the code for mark data straddles two words:A = 41H, B = 42HFirst word4142C = 43HFirst word + 143FFY = FF01HFirst word + 20144D = 44H, E = 45H,First word + 34546ABCYDEFF = 46H319Changing Numeral and Character String DisplayReference:Section3-5S If the control code 00H is written to a word, it is displayed as a space by the PT.The character string is displayed only up to this code since it is regarded as theend of the characters.

When writing character codes to a word, do not write00H in a character string.S When the PT is set to NT20S or NT30/NT620 compatible mode, image and library codes can be included in character string memory table entries. Be sureto check the size of the image or library display so that it doesn’t extend past theedges of the screen when it is displayed. (Refer to page NO TAG.)S When the PT reads out the words in a character string memory table entry, itreads the number of words specified in the Words setting.

Character stringsare not read out beyond this range.SettingWhen creating a screen using the Support Tool, set the allocated words for thecharacter string memory table entry. The Words setting must be set carefully.Reference: The range of character string memory table entry numbers that can actually beused depends on the number of character string memory table entries set in thePT Configuration – System settings at the Support Tool.OperationChange the contents of the word in the host allocated for the character stringmemory table entry.The contents of the word are reflected to the character string memory table entryaccording to the setting of the character string memory table entry.Note that the contents of a character string memory table allocated word can beonly be read out when the memory table entry is being used for an element that iscurrently displayed by the PT.

The contents of an allocated word that is not related to the display are not read out.Example of UseDirect SpecificationAn example of displaying the contents of a PC word allocated to a characterstring memory table entry as they are is shown below. The display on the PTscreen changes as the contents of the PC word change. If the system is so configured that the character string is written to the word using a personal computervia a Communications Unit, the required message can be displayed on the PT.Setting at the Support ToolSet as indicated below using the Support Tool.• Character string memory table entry 150:D00300 (Words: 6)• Contents to be registered for the screen:Character string memory table entry 150SETTING UPCharacter string memory table entry 150PC ProgramWhen changing the contents of a word using a personal computer, no specialladder program used for controlling the PT is necessary.Program OperationThe contents of the word are always displayed as a character string.320SectionChanging Numeral and Character String Display3-5Indirect SpecificationThe following shows an example of changing the displayed numeric value byadding a value to the contents of a numeral memory table allocated word that isreferenced in indirect specification.Setting at the Support ToolSet as indicated below using the Support Tool.• Numeral memory table entry 51:D00000 (Words: 1), Value: 100• Character string memory table entry 100:Value: NT631C (6 digits)• Character string memory table entry 101:Value: NT631(6 digits)• Character string memory table entry 102:Value: NT31C(6 digits)• Character string memory table entry 103:Value: NT31 (6 digits)• Contents to be registered for the screen: Numeral display (numeral memorytable entry 51, indirect specification)LINEPRODUCTNT631CCharacter string display(numeral memory table entry 51 is designated in indirect specification)PC ProgramMake a PC ladder program as shown below.00100@INC (38)DM0000(1)Numeral memory table entry numberused in indirect specification@DEC (39)DM0000(2)Numeral memory table entry numberused in indirect specification00101Program Operation1, 2, 3...1.

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

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

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

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