История
30 мая 2019
Новая страница: «More detailed description of the request and response data structure can be found on the Modbus Protocol page.»
−77
Новая страница: «*<01> — address *<0F> — write Multiple Coils function code *<00><00> — address of the first flag register to be recorded *<00><0E> — number of recorded fl…»
−77
Новая страница: «As well as note the structure of the answer:»
−8
Новая страница: «*[01] — address *[0F] — write Multiple Coils function code *[00][00] — address of the first flag register to be recorded *[00][0E] — number of items to re…»
−166
Новая страница: «Note the structure of the query data:»
−49
Новая страница: «<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a1 -t0x0f -r0x00 -c 14 0x00FF 0x0000 0x00FF 0x0000 0x00FF 0x0000 0x00FF 0x0000 0…»
−4
Новая страница: «---- 6. Turn on all the odd relays and turn off all the even ones. To do this, use the function 15 (Write Multiple Coils). There are only 14 relays in the module,…»
−107
Новая страница: «Note that the modbus_client utility replaced 1 with 0x00FF when recording, because this value is used to turn on the relay. Any nonzero value is changed to 0x00FF…»
−170
Новая страница: «---- 5.5. Let's turn on relay 6 on WB-MR14 relay module(addresses of flags registers start from zero, remember that!). Use the command 0x05 (Write Single Coil):…»
−108
Новая страница: «---- 4. Determine the current address of the device connected to the Wiren Board. The address is unknown to us and we do not want to change it. To do this, at the…»
−215
Новая страница: «In older firmware versions <syntaxhighlight lang="bash">| xxd -r -p</syntaxhighlight> wasn't necessary»
−30
Нет описания правки
−4
Новая страница: «In the answer we received 6 16-bit values, each of which contains the code of one ASCII-character. Convert them, replacing the initial '''0x00''' with '''/x''' an…»
−156
Новая страница: «---- 3. Read the registers of the relay module WB-MR14 with address 0x01, containing the signature of the device, WBMR14. It is known that the signature is stored…»
−103
Новая страница: «---- 2. Check: read the contents of the register 0x80 (now from the device with the address 0x02) using the function 0x03 (Read Holding Registers). Note that in W…»
−151
Новая страница: «An example of '''improper''' use: <syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80</syntaxhighlight> It does…»
−200
Новая страница: «The error message always occurs when writing to the special address 0 (-a0x00). Now the device needs to contact us at the address 0x02.»
−127
Новая страница: «<syntaxhighlight lang="bash">modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 -a0x00 -t0x06 -r0x80 0x02</syntaxhighlight> Where 0x02 is the address to be set.…»
−32
Новая страница: «---- 1. Write the new address of the WB-MR14 device to the 0x80 register using the 0x06 (Write Single Register) function.»
−42
Новая страница: «Here are some examples illustrating the capabilities of this utility.»
−65
Новая страница: «== Examples of use in Modbus RTU ==»
−26
Новая страница: «This is followed by the file name of the RS-485 port or host address, and at the end (optional, only for recording functions) — data.»
−69
Новая страница: «*'''-p''' — TCP port number of the device which the controller communicates with.»
−49
Новая страница: «For Modbus TCP:»
−3
Новая страница: «For Modbus RTU:»
−3
Новая страница: «Then you enter the specific parameters of the protocol (Modbus RTU or Modbus TCP). Despite the information displayed in the tooltip, these parameters also start w…»
−123
Новая страница: «* The first argument '''--debug''' — is arbitrary. It can be specified in any position and enables debugging by displaying the hexadecimal codes of the data bei…»
−795
Новая страница: «Parameter values (address, timeout, function type, etc.) can be specified in both hexadecimal (0x**) and decimal.»
−113
Новая страница: «Calling modbus_client without arguments will display a brief description of the possible arguments for the command: <syntaxhighlight lang="bash"> modbus_client [-…»
−38
Новая страница: «== Command line call and arguments ==»
−33
Новая страница: «Commands to stop the service: * for Wiren Board 5 and above: <syntaxhighlight lang="bash">service wb-mqtt-serial stop</syntaxhighlight> * for Wiren Board 4: <synt…»
−182
Новая страница: «'''IMPORTANT: since the Modbus driver is running on the functioning Wiren Board controller, it must be stopped before working with the modbus-client — they cann…»
−147
Новая страница: «The modbus-client utility is used to communicate via Modbus RTU and Modbus TCP protocols from the command line. The main purpose of this utility is to use Modbus…»
−315
Новая страница: «== General information ==»
−12
Новая страница: «Modbus-client»
+14 966