Страница 1 из 1

Чтение системных регистров( ошибок модулей RIO)

СообщениеДобавлено: Вт май 05, 2015 5:26 pm
harbor
добрый день

Немного впал в ступор с одной проблемой
Имеется мануал http://www.schneider-electric.ru/support/index?page=content&id=FA175437&actp=search&viewlocale=ru_RU&searchid=1430719744867&answerid=16777237&searchid=&locale=ru_RU

Что в интаче вписать в Item если я хочу прочитать регистр %SW546?
так и писать %SW546 ?
И какой тип данных надо использовать I/O Real и потом выделять старший и младший байты сдвигами?

Re: Чтение системных регистров( ошибок модулей RIO)

СообщениеДобавлено: Вт май 05, 2015 6:17 pm
Генератор зла
Item Name Description
400001 When no spaces and no letters follow the register
number, the register contents are treated as a 16-bit
unsigned quantity.
400001 S When a space and the letter "S" follow the register
number, the register contents are treated as a 16-bit
signed quantity.
400001 I When a space and the letter "I" follow the register
number, the register contents are treated as a 32-bit
signed quantity.
This takes up two consecutive registers.
400001 L When a space and the letter "L" follow the register
number, the register contents are treated as a 32-bit
signed quantity.
This takes up two consecutive registers.
400001 F When a space and the letter "F" follow the register
number, the register contents are treated as a floatingpoint
quantity.
This takes up two consecutive registers.
400001 U When a space and the letter "U" follow the register
number, the register contents are treated as a 32-bit
unsigned quantity.
This takes up two consecutive registers.
400001 LF When a space and the letter “LF”, follows the register
number, the register contents are treated as a 64-bit
floating-point quantity. This takes up four consecutive
registers.
400001 LL When a space and the letter “LL”, follows the register
number, the register contents are treated as a 64-bit
signed quantity. This takes up four consecutive
registers.
400001 UL When a space and the letter “UL”, follows the register
number, the register contents are treated as a 64-bit
unsigned quantity. This takes up four consecutive
registers.
400001-400003 M When a space and the letter "M" follow the register
number or register number pair separated by a dash, the
register contents are treated as ASCII data.
Each register contains up to two (2) ASCII characters.
This example represents six (6) ASCII characters.
300001:10 When a colon and a number from 1 (one) to 16 follow
the register number, the register contents are treated as
discrete data.
This example represents bit 10 of the input register
300001.

P.S. По ссылке не ходил. Шнайдер не пустил.