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

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

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

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

Normally, when the number of digits of the numeric value is small, the excess digitsat the left side are filled with zeros. When the check mark is set for Zero Suppression, no zeros are set in the excess digits and they remain blank.Without zero suppression(when the number of digits displayed is 8)With zero suppressionStored Data and Displayed Numeric ValueThe conversion method for display and the range of numeric values that can bedisplayed depend on the following settings.Display Type (Decimal/Hexadecimal)Display Sign (whether or not negative values are displayed)Conversion Depending on Display TypeThe data stored in a numeral memory table entry is converted as follows depending on the setting for Display Type:• Decimal:The numeric value (signed binary data) stored in the numeral memory tableentry is converted to decimal notation.• Hexadecimal:The numeric value (signed binary data) stored in the numeral memory tableentry is displayed without alteration.Reference: Numeral memory table entries store numeric values as signed binary data.Effect of Sign on ConversionFor unsigned decimal values, if the result of conversion of the data in a numeralmemory table entry is negative, it is displayed after conversion to an absolutevalue.For signed decimal values, if the result of conversion is a negative value it is displayed with a minus sign –.Permissible Display RangeThe permissible display range depends on the settings made for Display Typeand Display Sign, as follows:Display TypeDecimalHexadecimalSignPermissible Display RangeUnsigned0 to 2147483648*Signed–2147483648 to 2147483647–0 to FFFFFFFFHWhen displaying the contents of host words allocated for numeral memory tableentries, not only the numeral display properties but also the Storage Type andWords settings made for the numeral memory table entry have an effect on thepermissible display range.

The permissible display range is determined as follows depending on these properties:144SectionNumeral DisplayStorageTypeWords1DisplayTypeSignDecimal2Decimal0 to 9999Signed–999 to 9999–0 to 270FHUnsigned0 to 99999999Signed–9999999 to 99999999Hexadecimal1Decimal–0 to 5F5E0FFHUnsigned0 to 32768*Signed–32768 to 32767–0 to FFFFHUnsigned0 to 2147483648*Signed–2147483648 to 2147483647–0 to FFFFFFFFHHexadecimalBinary2DecimalPermissible Display RangeUnsignedHexadecimalBCD2-8Hexadecimal* Note that this range is different from that for numeral input (page 197). 32768 isdisplayed when the contents of the numeral memory table entry is 8000H(–32768), and 2147483648 is displayed when the contents of the memory tableentry is 80000000H (–2147483648). This is because when the value is unsigned,only the sign is omitted and the numeric value is displayed as an absolute value.

Itis not possible to input 32768 or 2147483648 as positive values.Relationship between Contents of Host Words and Displayed NumericValueWhen displaying the contents words allocated for a numeral memory table entryin the host, the contents of the word is first converted to the format for storage inthe numeral memory table entry (signed hexadecimal), and then convertedagain in accordance with the settings for Display Type and Display Sign settingsin order to display them.

Therefore the result also differs according to the settings made for Words and Storage Type.Numeral memory table entries8-digit hexadecimal(Can’t be read externally.)DecimalBCDHexadecimalDecimalHexadecimalSet the data format (decimal/hexadecimal) in which thenumeral memory table valueswill be displayed.(Set in the Numeral Displayproperties.)BinarySet the data format that thePT will apply to word data inthe PC.(Set with the numeralmemory table entry.)145SectionNumeral Display2-8An example is given below.Contentsof word athostStorageType12341F123F000123421234F123BCDF00012341F123F0001234212341F123F000123421234F1231234F123F0001234121234F0001234WordsBinary1212Numeric value stored innumeralmemory tableDisplayTypeSign000004D2H1234FFFFFF85HFFFFFB2EH000004D2HUnsignedgFFFFFF85H1231234Decimal1234SignedgFFFFFB2EH–123–1234000004D2HFFFFFF85HDisplayednumeric value4D2Hd iHexadecimal–FF85FFFFFB2EHFFFFFB2E00001234H4600FFFFF123HF0001234H00001234HUnsignedgDecimalFFFFF123H4660SignedgF0001234HF0001234H–3805–26843079600001234HFFFFF123H38052684307961234HexadeciHd imal–F123F0001234Reference: Data is stored in the numeral memory table entry as signed data with a datalength of 4 bytes.If the setting for Storage Type is BCD, the contents of the host word(s) (BCDdata) are converted to signed binary (hexadecimal) data and then stored in thenumeral memory table entry.

If the most significant digit in the word contents is F,it is regarded as a negative value. If the BCD data is not correct, it is not read outand the existing value is retained.If the setting for Storage Type is Binary, the contents of the host word(s) arestored in the numeral memory table entry without alteration. However, if a negative value is written when the number of allocated host words is 1, the number ofbits is increased to accommodate 2-word signed data before storage (refer tothe example of F123 above).When the numeric value for display is designated as unsigned, it is displayed asan absolute value.Display FunctionsIn numeral display, the numeric values are displayed in accordance with theGeneral settings.For details on the method of display depending on the General settings, refer toCommon Attributes (page 141).Input FunctionsNumeral displays have no input function.Output FunctionsNumeral displays have no output function.Processing FunctionsWith numeral displays, the contents of numeral memory table entries are converted to displayed numeric values in accordance with the General settings.For details on the method of conversion depending on the General settings, refer to Common Attributes (page 141).146Numeral DisplaySection2-8Relationship with Other Elements• The conversion method and display method used with numeral displays arethe same as those used when displaying numeric values with numeral input(page 192).• When numeral display is specified for a lamp or touch switch’s guide charactertype, the characters are converted and displayed just like numeral displays.Refer to Guide Character Type on page 115 for more details on guide charactertypes.• For details on how numeric values are stored in the numeral memory tableentry, refer to 2-3 Numeral Memory Table (page 72).• Numeral displays overlap with other elements in accordance with the order inwhich they were registered for the screen with the Support Tool.

However, theway in which they overlap can be changed with the Support Tool.147SectionCharacter String Display2-92-9Character String DisplayFunction OutlineThe contents of character string memory table entries are displayed as character strings.Alphanumerics and symbols can be displayed. It is also possible to displaymarks (character codes FF20 to FFFFH) in character strings.There are two methods for referencing a character string memory table entrywhose contents are to be displayed, as follows:• Direct reference (reference of the number of the relevant character stringmemory table entry)PTPCCharacter stringmemory tableentry 51abcdabcdDirectreferenceAllocated word(character string memory table entry 51)DM01006 1 6 26 3 6 4• Indirect reference (reference of the numeral memory table entry that stores thenumber of the relevant character string memory table entry)PTPCNumeral memorytable entry 20abcd0051IndirectreferenceabcdCharacter stringmemory table entry 51Allocated word(numeral memory table entry 20)DM00000 0 5 1DM01006 1 6 26 3 6 4Allocated word(character string memorytable entry 51)Reference: When the PT is in NT20S or NT30/620 compatible mode, image and librarycodes can be included in character string memory table entries.

An image or library display might extend beyond the edge of the PT’s screen when it is displayed by changing the contents of a character string memory table entry within acharacter string display. Refer to Appendix C for details on the NT20S andNT30/620 compatible modes (page 457).Restrictions148• A maximum of 256 character string displays can be registered for one screen.(Same for window screen.) For an overlapping screen comprising 8 childscreens, the maximum is 1,024.There is no restriction on the number of character string displays that can beregistered for one screen data file: any number can be registered as long asthe data file capacity is not exceeded.

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

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

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

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