WB-MSx Consumer IR Manual/en: различия между версиями

Новая страница: «The control of the IR receiver is made through the Modbus registers flags (a full list can be found in Coils). There are 3 types of operations with sig…»
(Новая страница: «== Operating mode == === Recording the signal to the RAM from the remote control === To write a signal (only one) from the remote control to the RAM without putti…»)
(Новая страница: «The control of the IR receiver is made through the Modbus registers flags (a full list can be found in Coils). There are 3 types of operations with sig…»)
Строка 71: Строка 71:
To play the signal from memory, write 1 to the flag register at <code>5002</code>. The signal recorded in the storage registers starting with <code>2000</code>will be played. In the absence of the marker of the end of the command will return an error. While the signal is playing, the flag register at <code>5002</code> will be set to 1 and then set to 0. While the signal is being played, no other operations with the IR transceiver via Modbus will be available.
To play the signal from memory, write 1 to the flag register at <code>5002</code>. The signal recorded in the storage registers starting with <code>2000</code>will be played. In the absence of the marker of the end of the command will return an error. While the signal is playing, the flag register at <code>5002</code> will be set to 1 and then set to 0. While the signal is being played, no other operations with the IR transceiver via Modbus will be available.


Управление ИК-приёмопередатчиком производится через регистры флагов Modbus (полный список можно найти в [[#Карта_регистров_флагов_(Coils)|Карта регистров флагов (Coils)]]). Есть 3 типа операций с сигналами:
The control of the IR receiver is made through the Modbus registers flags (a full list can be found in [[#Coils|Coils]]). There are 3 types of operations with signals:
* запись сигнала в память с пульта ДУ,
* entry signal in the memory with the remote control,
* воспроизведение сигнала из памяти,
* play a signal from memory,
* редактирование сигнала в памяти.
* edit signal in memory.
* в следующих версиях предполагается реализовать непосредственную запись из оперативного буфера в ПЗУ.
* in future versions it is expected to implement direct write from the operational buffer to ROM.


Как и в случае работы с регистрами постоянного хранения, в каждый момент времени можно выполнять только одну операцию только над одним сигналом. Так как во время выполнения любой операции в один из регистров флагов ставится 1, а после завершения операции туда же ставится 0, в каждый момент времени среди всех регистров флагов, относящихся к ИК-приёмопередатчику, только один регистр может быть установлен в единицу. Попытка записи 1 в регистры флагов, связанных с ИК, при уже имеющейся единице приведёт к ошибке <code>BUSY</code>.
Как и в случае работы с регистрами постоянного хранения, в каждый момент времени можно выполнять только одну операцию только над одним сигналом. Так как во время выполнения любой операции в один из регистров флагов ставится 1, а после завершения операции туда же ставится 0, в каждый момент времени среди всех регистров флагов, относящихся к ИК-приёмопередатчику, только один регистр может быть установлен в единицу. Попытка записи 1 в регистры флагов, связанных с ИК, при уже имеющейся единице приведёт к ошибке <code>BUSY</code>.
12 063

правки