I have configured a string variable communicating to a PLC via MODNET and I can only see the first 2 characters of the string. How can I see the whole string?
If you specify a string tag with the address 40001, the MODNET driver will only read register 40001 (2 bytes so 2 characters). If you want a string longer than 2 characters you have to create your tag as an array of characters so the driver knows how long the string is. So if you want a string of length 10 you need to setup an array of length 5.
MODBUS |
________________________________________
Опубліковано для: Schneider Electric Україна
Потрібна допомога?
Інструмент вибору продукту
Швидко та легко знаходьте потрібні продукти й допоміжне обладнання для своїх завдань.
Розрахувати вартість
Ставте свої запитання щодо продажів онлайн, і з вами зв’яжеться фахівець
Де придбати?
Зручний пошук найближчого дистриб’ютора, магазина або спеціалізованого партнера Schneider Electric у вашому регіоні.
Довідковий центр
Знайдіть усі необхідні ресурси для підтримки в одному місці.