12 063
правки
(Новая страница: «== 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…») |
|||
Строка 65: | Строка 65: | ||
To remove all recorded signals, write 1 to the flag register at <code>5000</code>. | To remove all recorded signals, write 1 to the flag register at <code>5000</code>. | ||
== | == 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 putting it in the ROM - write 1 in the flag register at <code>5001</code>. Further actions occur in the same way as described above to record the signal in ROM. After the recording is stopped in the storage registers at <code>2000</code>, the signal will be stored as a sequence of numbers. You can edit this sequence as described above. Note: the contents of these storage registers are not stored when the device is powered off! | |||
=== | = = = = Playing a signal from memory === | ||
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 типа операций с сигналами: | Управление ИК-приёмопередатчиком производится через регистры флагов Modbus (полный список можно найти в [[#Карта_регистров_флагов_(Coils)|Карта регистров флагов (Coils)]]). Есть 3 типа операций с сигналами: |
правки