Наші бренди

Impact-Company-Logo-English Black-01-177x54

Вітаємо на веб-сайті Schneider Electric

Ласкаво просимо на наш веб-сайт.
		
Чим ми можемо вам допомогти сьогодні?
How do I convert an ASCII string of positive integers to a single register value in Concept IEC?

GOALS AND SYMPTOMS

The purpose of this resolution is to provide users with an example of converting an ASCII string of positive integers to a single register value in Concept IEC.

CAUSES AND FIXES


Below is an example of converting a string of ASCII digits to a single register value.

When a string of ASCII digits is read from a device like a bar code reader the digits are often in ASCII format. The logic below will convert the ASCII string 1234 to the decimal equivalent 1234.

The ASCII string is located in registers 400001 - 400002; two ASCII characters in each register.

Image1

The desired end result would is to have this ASCII string converted to a single decimal value located in one 4X register.
Image2

Below is the conversion chart for ASCII , Hexadecimal , Decimal illustrating the need for this conversion. If the register 400001 containing 12 ASCII was looked at in Hex format it would display 3132, if looked at in Decimal it would display 12594.
Generally this type of application only focuses on ASCII digits to decimal conversion. Other characters can be converted in the following manner. A complete conversion chart of ASCII, Hex, Decimal characters can be found on the web with the help of any search engine.

Image3

Image4

Image5

Legacy KB System (APS) Data: RESL2481 V1.0, Originally authored by on , Last Edited by on
Related ranges: Concept

Schneider Electric Україна

Досліджуйте більше
Серія:
Досліджуйте більше
Серія:

Потрібна допомога?

  • Інструмент вибору продукту

    Швидко та легко знаходьте потрібні продукти й допоміжне обладнання для своїх завдань.

  • Розрахувати вартість

    Ставте свої запитання щодо продажів онлайн, і з вами зв’яжеться фахівець

  • Де придбати?

    Зручний пошук найближчого дистриб’ютора, магазина або спеціалізованого партнера Schneider Electric у вашому регіоні.

  • Довідковий центр

    Знайдіть усі необхідні ресурси для підтримки в одному місці.

  • Документація Продукції
  • Завантаження ПЗ
  • Інструмент вибору продукту
  • Заміна та заміна продукту
  • Контактний центр із надання довідки
  • Знайти наші представництва"
  • Де купити
  • Вакансії
  • Профіль компанії
  • Повідомити про проступок
  • Спеціальні можливості
  • Новини
  • Інвестори
  • Ecostruxure
  • Вакансії Пошук
  • Блог
  • Політика конфіденційності
  • Сповіщення про файли cookie
  • Умови користування
  • Change your cookie settings