Last modified by Iris on 2026/03/30 11:47

From version 4.1
edited by Iris
on 2025/10/22 15:35
Change comment: There is no comment for this version
To version 5.1
edited by Iris
on 2025/10/22 16:05
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1671,9 +1671,8 @@
1671 1671  
1672 1672  SERIAL_MODBUS_WR - Modbus master serial communication
1673 1673  
1674 -[[image:1761118509428-681.png]]
1674 +[[image:1761118509428-681.png||height="227" width="212"]]
1675 1675  
1676 -
1677 1677  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.
1678 1678  
1679 1679  **Device used**
... ... @@ -1799,18 +1799,20 @@
1799 1799  
1800 1800  Set the COM2 communication parameters through the SD device.
1801 1801  
1802 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps6.jpg]]
1801 +(% style="text-align:center" %)
1802 +[[image:1761119049914-901.png||height="377" width="533"]]
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 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps7.jpg]]
1806 +(% style="text-align:center" %)
1807 +[[image:1761120009429-879.png||height="611" width="571"]]
1807 1807  
1808 1808  
1809 -1. **SERIAL_WR**
1810 +**2.SERIAL_WR**
1810 1810  
1811 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps8.png]]SERIAL_WR - Custom protocol serial communication
1812 +SERIAL_WR - Custom protocol serial communication
1812 1812  
1813 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps9.jpg]]
1814 +[[image:1761120169708-257.png||height="307" width="271"]]
1814 1814  
1815 1815  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.
1816 1816  
... ... @@ -1899,8 +1899,11 @@
1899 1899  
1900 1900  **Application example**
1901 1901  
1902 -* Set the COM2 communication parameters through the SD device.
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 +)))
1903 1903  
1904 -[[image:file:///C:\Users\Administrator\AppData\Local\Temp\ksohtml2512\wps10.jpg]]
1905 1905  
1909 +
1906 1906  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,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +41.9 KB
Content
1761120009429-879.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +67.4 KB
Content
1761120169708-257.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +41.9 KB
Content
1761120267443-852.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Iris
Size
... ... @@ -1,0 +1,1 @@
1 +44.6 KB
Content