Changes for page 10 Communication Instruction
Last modified by Iris on 2026/03/30 11:47
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1667,12 +1667,13 @@ 1667 1667 1668 1668 == **Communication function block** == 1669 1669 1670 -=== **SERIAL_MODBUS_WR** === 1670 +=== **1. SERIAL_MODBUS_WR** === 1671 1671 1672 1672 SERIAL_MODBUS_WR - Modbus master serial communication 1673 1673 1674 -[[image:1761118509428-681.png ||height="227" width="212"]]1674 +[[image:1761118509428-681.png]] 1675 1675 1676 + 1676 1676 This function block is the setting function block for sending protocol frames by the Modbus master station (whether RTU or ASCII). When the contact in front of Enable is turned ON, according to the communication port, station number, function code, slave station address, quantity and mapped data address set by the function block, the data frame is combined and sent. 1677 1677 1678 1678 **Device used** ... ... @@ -1798,20 +1798,18 @@ 1798 1798 1799 1799 Set the COM2 communication parameters through the SD device. 1800 1800 1801 -(% style="text-align:center" %) 1802 -[[image:1761119049914-901.png||height="377" width="533"]] 1802 +[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps6.jpg]] 1803 1803 1804 1804 Enable the function block and its Enable pin, send Modbus serial port master data and wait for the slave respond. Done indicates that the current instruction has been executed, Busy indicates that the serial port is busy, and Active indicates that the current instruction is running (waiting for data to be returned from the slave station). 1805 1805 1806 -(% style="text-align:center" %) 1807 -[[image:1761120009429-879.png||height="611" width="571"]] 1806 +[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps7.jpg]] 1808 1808 1809 1809 1810 - ===**SERIAL_WR**===1809 +1. **SERIAL_WR** 1811 1811 1812 -SERIAL_WR - Custom protocol serial communication 1811 +[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps8.png]]SERIAL_WR - Custom protocol serial communication 1813 1813 1814 -[[image: 1761120169708-257.png||height="307" width="271"]]1813 +[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps9.jpg]] 1815 1815 1816 1816 This function block is a setting function block for user defined protocol serial port to send protocol frames. When the contact in front of Enable is turned ON. According to the communication port, sending data mapping address, sending data length, receiving data mapping address, and receiving data length set by the function block, the data frame is sent and waits for the data of the specified length to be returned. 1817 1817 ... ... @@ -1900,11 +1900,8 @@ 1900 1900 1901 1901 **Application example** 1902 1902 1903 -* Set the COM2 communication parameters through the SD device.((( 1904 -(% style="text-align:center" %) 1905 -[[image:1761120267443-852.png||height="580" width="498"]] 1906 -))) 1902 +* Set the COM2 communication parameters through the SD device. 1907 1907 1904 +[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps10.jpg]] 1908 1908 1909 - 1910 1910 Enables the function block and the Enable pin of the function block, sends custom protocol data and waits for the slave to respond. Done indicates that the current instruction has been executed, Busy indicates that the serial port is busy, and Active indicates that the current instruction is running (waiting for data to be returned from the slave station).
- 1761119049914-901.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Iris - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.9 KB - Content
- 1761120009429-879.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Iris - Size
-
... ... @@ -1,1 +1,0 @@ 1 -67.4 KB - Content
- 1761120169708-257.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Iris - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.9 KB - Content
- 1761120267443-852.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Iris - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.6 KB - Content