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

Связь между InTouch и программируемыми логическими контроллерами, компьютерами
и другими устройствами.

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

Сообщение harbor » Вт май 05, 2015 5:26 pm

добрый день

Немного впал в ступор с одной проблемой
Имеется мануал 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 и потом выделять старший и младший байты сдвигами?
harbor
 
Сообщения: 93
Зарегистрирован: Чт июл 03, 2014 6:47 pm

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. По ссылке не ходил. Шнайдер не пустил.
Vita est dolor.
Генератор зла
 
Сообщения: 2860
Зарегистрирован: Вс янв 23, 2011 5:08 pm


Вернуться в Связь InTouch с ПЛК

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 3

cron