Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 96.1
edited by Ben
on 2022/08/29 15:40
Change comment: There is no comment for this version
To version 109.1
edited by Ben
on 2022/08/30 11:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -594,7 +594,7 @@
594 594  |N|ffff|N0 ~~ FFFF
595 595  |F|ffff|F0 ~~ FFFF
596 596  
597 -= Create communication with (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens** =
597 += Create communication with (% id="cke_bm_43878S" style="display:none" %)** **(%%)**Siemens PLC** =
598 598  
599 599  == **S7-200 Smart Ethernet Protocol** ==
600 600  
... ... @@ -1143,7 +1143,7 @@
1143 1143  
1144 1144  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1145 1145  
1146 -= Create communication with **Mitsubishi** =
1146 += Create communication with **Mitsubishi PLC** =
1147 1147  
1148 1148  == **FX1S, 1N, 2N Series Protocol** ==
1149 1149  
... ... @@ -1534,11 +1534,9 @@
1534 1534  (% style="text-align:center" %)
1535 1535  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1536 1536  
1537 -(% class="wikigeneratedid" %)
1538 1538  = Create communication with **Delta PLC** =
1539 1539  
1540 -(% class="wikigeneratedid" %)
1541 -= **DVP serial protocol** =
1539 +== **DVP serial protocol** ==
1542 1542  
1543 1543  (% class="wikigeneratedid" %)
1544 1544  Supported Series: Delta DVP EH/ES/SS/EX/EH2/SV/SA/SC/SX Controller
... ... @@ -1579,12 +1579,112 @@
1579 1579  (% class="wikigeneratedid" %)
1580 1580  **4)Cable Wiring**
1581 1581  
1580 +(% class="wikigeneratedid" id="H" %)
1581 +[[image:image-20220829152610-7.png]]
1582 +
1583 +(% class="wikigeneratedid" id="H" %)
1584 +[[image:image-20220829152102-5.png]]
1585 +
1586 +
1587 +== **DVP Ethernet Protocol** ==
1588 +
1582 1582  (% class="wikigeneratedid" %)
1583 -= [[image:image-20220829152610-7.png]] =
1590 +Supported Series: Delta DVP ES2/EX2/SS2/SA2/SX2/SE Controller
1584 1584  
1592 +**1)HMI Settings**
1593 +
1594 +|**Items**|**Settings**|**Note**
1595 +|Protocol|DELTA DVP Modbus TCP|
1596 +|Connection|Ethernet|
1597 +|Port No.|201|Must be the same as the PLC setting
1598 +|PLC station No.|0|Must be the same as the PLC setting
1599 +
1600 +**2)Address List**
1601 +
1602 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
1603 +|Bit|X|X|X o|0~~377|
1604 +|Bit|Y|Y|Y o|0~~377|
1605 +|Bit|M0|M0|M0 d|0~~1535|
1606 +|Bit|M1|M1|M1 d|1536~~4095|
1607 +|Bit|T|T|T d|0~~255|
1608 +|Bit|C|C|C d|0~~255|
1609 +|Bit|S|S|S d|0~~1023|
1610 +|Word|D0|D0|D0 d|0~~4095|
1611 +|Word|D1|D1|D1 d|4096~~11999|(((
1612 +
1613 +)))
1614 +|Word|T|T|T d|0~~255|
1615 +|Word|C|C|C d|0~~199|(((
1616 +
1617 +)))
1618 +
1585 1585  (% class="wikigeneratedid" %)
1586 -= [[image:image-20220829152102-5.png]] =
1620 +**3)Configure the communication protocol**
1587 1587  
1622 +[[image:image-20220829155452-1.png]]
1623 +
1624 +[[image:image-20220829162116-2.png]]
1625 +
1626 +**4)Cable Wiring**
1627 +
1628 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1629 +
1630 +== **AS serial protocol** ==
1631 +
1632 +**1)HMI Settings**
1633 +
1634 +|**Item**|**Settings**|**Note**
1635 +|Protocol|DELTA AS300 MODBUS RTU|
1636 +|Connection|RS485|
1637 +|Baud rate|9600|
1638 +|Data bit|8|
1639 +|Parity|NONE|
1640 +|Stop bit|1|
1641 +|PLC station No.|1|
1642 +
1643 +**2)Address List**
1644 +
1645 +
1646 +|**Type**|**Device registers**|**HMI registers**|**Format**|**Range**|**Note**
1647 +|Bit|X|X|X d|0~~63|
1648 +|Bit|Y|Y|Y d|0~~63|
1649 +|Bit|D|D|D d|0~~29999|
1650 +|Bit|M|M|M d|0~~8191|
1651 +|Bit|SM|SM|SM d|0~~4095|
1652 +|Bit|S|S|S h|0~~2047|
1653 +|Bit|T|T|T d|0~~511|
1654 +|Bit|C|C|C d|0~~511|
1655 +|Bit|HC|HC|HC d|0~~255|
1656 +|Word|X|X|X h|0~~63|
1657 +|Word|Y|Y|Y d|0~~63|
1658 +|Word|SR|SR|SR d|0~~2047|
1659 +|Word|D|D|D d|0~~29999|
1660 +|Word|T|T|T d|0~~511|
1661 +|Word|C|C|C h|0~~511|
1662 +|Word|E|E|E d|0~~9|
1663 +
1664 +**3)Configure the communication protocol**
1665 +
1666 +[[image:image-20220830094600-1.png]]
1667 +
1668 +[[image:image-20220830094657-2.png]]
1669 +
1670 +**4)Cable Wiring**
1671 +
1672 +[[image:image-20220830095131-1.png]]
1673 +
1674 +== **AS Ethernet Protocol** ==
1675 +
1676 +**1)HMI Settings**
1677 +
1678 +**2)Address List**
1679 +
1680 +**3)Configure the communication protocol**
1681 +
1682 +**4)Cable Wiring**
1683 +
1684 +[[image:image-20220830094929-1.png]]
1685 +
1588 1588  = **MODBUS** =
1589 1589  
1590 1590  == **MODBUS RTU Master** ==
... ... @@ -1928,174 +1928,6 @@
1928 1928  (% style="text-align:center" %)
1929 1929  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
1930 1930  
1931 -= **OpenCAN** =
1932 -
1933 -OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.
1934 -
1935 -This protocol is only available in PI8000 series HMI.
1936 -
1937 -**HMI Settings**
1938 -
1939 -(% class="table-bordered" %)
1940 -|**Items**|**Settings**|**Note**
1941 -|Protocol|OPENCAN|
1942 -|Connection|CAN port|
1943 -|Baud rate|250000|
1944 -
1945 -**CAN frame setting in HMI**
1946 -
1947 -Click [OpenCAN setting] button in communication setting window;
1948 -
1949 -(% style="text-align:center" %)
1950 -[[image:12.PLC Protocol_html_e866b9e56e19785d.png||data-xwiki-image-style-alignment="center" height="503" width="600" class="img-thumbnail"]]
1951 -
1952 -Click [Add] to create a new frame;
1953 -
1954 -(% style="text-align:center" %)
1955 -[[image:12.PLC Protocol_html_3a6f4e2141763c8f.png||data-xwiki-image-style-alignment="center" height="315" width="600" class="img-thumbnail"]]
1956 -
1957 -(% class="table-bordered" %)
1958 -|**No**|**Items**|**Description**
1959 -|1|Add|add a frame related to register address
1960 -|2|Insert|Select the position where you want to insert a frame, and click [Insert frame] to add a new frame in front of the current frame position
1961 -|3|Frame manager|This list shows some of the main parameters for each frame that the user adds
1962 -|4|Modify|Modify the frames in frame management
1963 -|5|Copy|Copy one frame to another
1964 -|6|Delete|Remove the selected frames from the list by modifying the frames in frame management. If no frames are selected in the list, the first frame is deleted.
1965 -|7|Empty|All frames in the list are cleared
1966 -|8|Browse|Displays configuration files in XML format in IE
1967 -|9|OK|Complete the configuration of the frame and exit
1968 -
1969 -Set CANBUS frame in setting windows
1970 -
1971 -(% style="text-align:center" %)
1972 -[[image:12.PLC Protocol_html_7c83130820321ef.png||data-xwiki-image-style-alignment="center" height="507" width="600" class="img-thumbnail"]]
1973 -
1974 -(% class="table-bordered" %)
1975 -|**No**|(% style="width:185px" %)**Items**|(% style="width:854px" %)**Description**
1976 -|1|(% style="width:185px" %)ID|(% style="width:854px" %)Set the ID of a can frame in hexadecimal format;
1977 -|2|(% style="width:185px" %)ID assign|(% style="width:854px" %)split the ID by PF, PS, and SA;
1978 -|3|(% style="width:185px" %)Frame type|(% style="width:854px" %)Select Standard frame or Extended Frame;
1979 -|4|(% style="width:185px" %)Frame format|(% style="width:854px" %)Select between data frame and remote Frame;
1980 -|5|(% style="width:185px" %)Data|(% style="width:854px" %)Set the data part of CAN frame, with two Numbers representing a hexadecimal number and Spaces spaced; Maximum support of 8 bytes is defined according to CAN message;
1981 -|6|(% style="width:185px" %)Use address|(% style="width:854px" %)(((
1982 -Set the register address related to the CAN frame, which corresponds to the register address set on the main state one by one. The data obtained from the address is assigned continuously;
1983 -
1984 -**Edit:** Set a bit or word address by its format;
1985 -
1986 -**Option: **Set address options related to frame, enter “register address option” interface, specifically browse the following “register address option” interface;
1987 -)))
1988 -|(% rowspan="8" %)7|(% rowspan="8" style="width:185px" %)Data interactive configuration|(% style="width:854px" %)There are two interactive modes of the touch screen. One is that the touch screen actively sends frames, and the device receives and processes and feeds back. The other, on the contrary, passively receives frames from the device for processing and feedback;
1989 -|(% style="width:854px" %)Send after receiving: if this item is selected, the interaction of the touch screen will act as a passive party, and the touch screen will receive the CAN frame first and send feedback. Unchecked items interact in the opposite way;
1990 -|(% style="width:854px" %)Feedback mode: feedback mode includes no response, confirm response and data response;
1991 -|(% style="width:854px" %)No response: the device or touch screen will not receive feedback;
1992 -|(% style="width:854px" %)Confirm response: the device or the touch screen will receive feedback with confirmation, which could be used to compare the data parts. If this function is used, the 20 addresses before and after this address should not be used. All addresses of cata10-cata30 could not be used with the reply confirmation function of cata20;
1993 -|(% style="width:854px" %)Data response: the device or touch screen will receive feedback with data, and the data to be separated from the feedback frame should be set to store in the register address;
1994 -|(% style="width:854px" %)response ID: if the address wants to receive data on a frame with a different ID, set this, check "different from sender", and enter a different ID in the following input box. Without this setting, the screen will receive and process a frame with the same ID as the sender;
1995 -|(% style="width:854px" %)Response timeout: sets whether the response frame timeout;
1996 -|(% rowspan="3" %)8|(% rowspan="3" style="width:185px" %)Control address|(% style="width:854px" %)If ticked, enable sending when the value of the corresponding control bit number (address) is non-0.
1997 -|(% style="width:854px" %)Control bit: CtrlBit register range 0~~255, if the control bit is ON, can instruction will run normally. Otherwise, it doesn't run;
1998 -|(% style="width:854px" %)Manually send: a manually send tick indicates only one send;
1999 -|9|(% style="width:185px" %)Flag configuration|(% style="width:854px" %)Communication control for each frame. Display OFF when communication is normal, and ON when communication is abnormal;
2000 -|10|(% style="width:185px" %)Note|(% style="width:854px" %)Fill the text to explain the meaning of the frame;
2001 -|11|(% style="width:185px" %)Data assign|(% style="width:854px" %)Preview the display in this table based on the address and the corresponding number of digits;
2002 -|12|(% style="width:185px" %)Current operation display|(% style="width:854px" %)Display the description of current operation;
2003 -|13|(% style="width:185px" %)Add|(% style="width:854px" %)Add a new frame;
2004 -|14|(% style="width:185px" %)Save frame|(% style="width:854px" %)Save the configured frame format;
2005 -|15|(% style="width:185px" %)Cancel|(% style="width:854px" %)Cancel the frame configuration;
2006 -
2007 -Set CAN address (Read or write operation);
2008 -
2009 -(% style="text-align:center" %)
2010 -[[image:12.PLC Protocol_html_7e9f9b25eb6ae8ce.png||data-xwiki-image-style-alignment="center" height="446" width="600" class="img-thumbnail"]]
2011 -
2012 -(% class="table-bordered" %)
2013 -|**No.**|(% style="width:207px" %)**Item**|(% style="width:829px" %)**Description**
2014 -|1|(% style="width:207px" %)Current address|(% style="width:829px" %)Displays the register type and register address set by the user in the data access interface
2015 -|(% rowspan="3" %)2|(% rowspan="3" style="width:207px" %)Trigger|(% style="width:829px" %)Two operations, "read" and "write," are based on on-screen registers
2016 -|(% style="width:829px" %)If "read" is selected, the register address is reading device data in a manner of sending frames set by the user in a loop.
2017 -|(% style="width:829px" %)If "write" is selected, the screen data of the register address will be written into the device. The writing mode is that the user makes a write operation on the screen, which will trigger the sending of a frame set by the user.
2018 -|(% rowspan="5" %)3|(% rowspan="3" style="width:207px" %)Data operation|(% style="width:829px" %)The read and write operations in the trigger conditions are set accordingly.
2019 -|(% style="width:829px" %)If the trigger condition is a read operation, this section needs to set the position and length of the data to be obtained at the current address in the frame.
2020 -|(% style="width:829px" %)If the trigger condition is a writing operation, there are two situations:(((
2021 -* If the "add writing data to the frame" option is not selected, the frame set by the user will be sent directly when the user writes on the screen.
2022 -* Select the "add the written data to the frame" option, and when the user writes on the screen, the program will insert the data in the frame set by the user and send the written data to the frame set by the user according to the data insertion position and length set by the user.
2023 -)))
2024 -|(% rowspan="2" style="width:207px" %)Position and length input format|(% style="width:829px" %)If the register type is a bit address, the decimal point is required to represent the bits in the byte. For example, 1.1 represents the first bit of the first byte of 8 bytes in the data frame, and the length is in bits, and so on.
2025 -|(% style="width:829px" %)If the register type is word address, the integer only needs to represent the byte, such as 1, which represents the first byte of 8-byte data in the data frame, and the unit of length is byte, and so on.
2026 -|4|(% style="width:207px" %)Add|(% style="width:829px" %)Add current configuration
2027 -|5|(% style="width:207px" %)Close|(% style="width:829px" %)Close the configuration window to exit
2028 -
2029 -**Multiple Packages Settings**
2030 -
2031 -(% style="text-align:center" %)
2032 -[[image:12.PLC Protocol_html_107e0f6b1a90afff.png||data-xwiki-image-style-alignment="center" height="341" width="600" class="img-thumbnail"]]
2033 -
2034 -Check [Multiple packages supported] to open [Multiple package data] window, as below show.
2035 -
2036 -Select Multiple package type
2037 -
2038 -* Not Multiple packages
2039 -* J1939 Multiple packages
2040 -* Customized Multiple packages
2041 -
2042 -Click [Edit Receive data] for [Receive] settings
2043 -
2044 -* Start code+ Total length (J1939)
2045 -
2046 -(% style="text-align:center" %)
2047 -[[image:12.PLC Protocol_html_3c360c6b5aca51bf.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2048 -
2049 -As set above set, J1939 command is received by the HMI, only when its length is 25 bytes, and the start code is 0x57, 0x1B;
2050 -
2051 -* Start code + Data max length (J1939)
2052 -
2053 -(% style="text-align:center" %)
2054 -[[image:12.PLC Protocol_html_74496b2a68cfcdde.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2055 -
2056 -As set above set, J1939 command is received by the HMI, only when its length less than 50 bytes, and the start code is 0x57, 0x1B;
2057 -
2058 -* Data max length (J1939)
2059 -
2060 -(% style="text-align:center" %)
2061 -[[image:12.PLC Protocol_html_98cea3e7cbd8f05d.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2062 -
2063 -As set above set, J1939 command is received by the HMI, only when its length less than 50 bytes.
2064 -
2065 -* Customized multiple package
2066 -
2067 -(% style="text-align:center" %)
2068 -[[image:12.PLC Protocol_html_4635bbe4d7999db0.png||data-xwiki-image-style-alignment="center" height="395" width="367" class="img-thumbnail"]]
2069 -
2070 -As set above, It is received by the HMI, when the first frame starts with 0X57 0X1B, and the sum of the data lengths of multiple frames is equal to 79 bytes.
2071 -
2072 -Click [Edit Send data] for [Send] setting
2073 -
2074 -* J1939
2075 -
2076 -(% style="text-align:center" %)
2077 -[[image:12.PLC Protocol_html_a4769e44331ca732.png||data-xwiki-image-style-alignment="center" height="280" width="463" class="img-thumbnail"]]
2078 -
2079 -[Data] is all data to be sent.
2080 -
2081 -Since the frame of the J1939 frame contains the number of the data packet, so the data sent is: the first byte (number) + 7 bytes of data. If it is less than 7 bytes, it is sent in the actual number of bytes.
2082 -
2083 -* Customized multiple package
2084 -
2085 -(% style="text-align:center" %)
2086 -[[image:12.PLC Protocol_html_78546f765d6f3deb.png||data-xwiki-image-style-alignment="center" height="280" width="463"]]
2087 -
2088 -[Data] is all data to be sent.
2089 -
2090 -As set above, fist frame length is 2 bytes, and others are sent with 6 bytes for every frame, if the last frame is less than 6 bytes, send according to the actual length.
2091 -
2092 -**Cable Wiring**
2093 -
2094 -(% style="text-align:center" %)
2095 -[[image:12.PLC Protocol_html_fccede84efcbdc22.png||data-xwiki-image-style-alignment="center" height="111" width="391" class="img-thumbnail"]]
2096 -
2097 -**✎Note:** The address interval between each frame need to be more than a word address;
2098 -
2099 2099  = **SHIMADEN** =
2100 2100  
2101 2101  == **FP23** ==
... ... @@ -2895,3 +2895,168 @@
2895 2895  **Cable Wiring**
2896 2896  
2897 2897  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
2828 +
2829 +
2830 += ** OpenCAN** =
2831 +
2832 +OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.
2833 +
2834 +This protocol is only available in PI8000 series HMI.
2835 +
2836 +**HMI Settings**
2837 +
2838 +|**Items**|**Settings**|**Note**
2839 +|Protocol|OPENCAN|
2840 +|Connection|CAN port|
2841 +|Baud rate|250000|
2842 +
2843 +**CAN frame setting in HMI**
2844 +
2845 +Click [OpenCAN setting] button in communication setting window;
2846 +
2847 +(% style="text-align:center" %)
2848 +[[image:12.PLC Protocol_html_e866b9e56e19785d.png||data-xwiki-image-style-alignment="center" height="503" width="600" class="img-thumbnail"]]
2849 +
2850 +Click [Add] to create a new frame;
2851 +
2852 +(% style="text-align:center" %)
2853 +[[image:12.PLC Protocol_html_3a6f4e2141763c8f.png||data-xwiki-image-style-alignment="center" height="315" width="600" class="img-thumbnail"]]
2854 +
2855 +|**No**|**Items**|**Description**
2856 +|1|Add|add a frame related to register address
2857 +|2|Insert|Select the position where you want to insert a frame, and click [Insert frame] to add a new frame in front of the current frame position
2858 +|3|Frame manager|This list shows some of the main parameters for each frame that the user adds
2859 +|4|Modify|Modify the frames in frame management
2860 +|5|Copy|Copy one frame to another
2861 +|6|Delete|Remove the selected frames from the list by modifying the frames in frame management. If no frames are selected in the list, the first frame is deleted.
2862 +|7|Empty|All frames in the list are cleared
2863 +|8|Browse|Displays configuration files in XML format in IE
2864 +|9|OK|Complete the configuration of the frame and exit
2865 +
2866 +Set CANBUS frame in setting windows
2867 +
2868 +(% style="text-align:center" %)
2869 +[[image:12.PLC Protocol_html_7c83130820321ef.png||data-xwiki-image-style-alignment="center" height="507" width="600" class="img-thumbnail"]]
2870 +
2871 +|**No**|**Items**|**Description**
2872 +|1|ID|Set the ID of a can frame in hexadecimal format;
2873 +|2|ID assign|split the ID by PF, PS, and SA;
2874 +|3|Frame type|Select Standard frame or Extended Frame;
2875 +|4|Frame format|Select between data frame and remote Frame;
2876 +|5|Data|Set the data part of CAN frame, with two Numbers representing a hexadecimal number and Spaces spaced; Maximum support of 8 bytes is defined according to CAN message;
2877 +|6|Use address|(((
2878 +Set the register address related to the CAN frame, which corresponds to the register address set on the main state one by one. The data obtained from the address is assigned continuously;
2879 +
2880 +**Edit:** Set a bit or word address by its format;
2881 +
2882 +**Option: **Set address options related to frame, enter “register address option” interface, specifically browse the following “register address option” interface;
2883 +)))
2884 +|(% rowspan="8" %)7|(% rowspan="8" %)Data interactive configuration|There are two interactive modes of the touch screen. One is that the touch screen actively sends frames, and the device receives and processes and feeds back. The other, on the contrary, passively receives frames from the device for processing and feedback;
2885 +|Send after receiving: if this item is selected, the interaction of the touch screen will act as a passive party, and the touch screen will receive the CAN frame first and send feedback. Unchecked items interact in the opposite way;
2886 +|Feedback mode: feedback mode includes no response, confirm response and data response;
2887 +|No response: the device or touch screen will not receive feedback;
2888 +|Confirm response: the device or the touch screen will receive feedback with confirmation, which could be used to compare the data parts. If this function is used, the 20 addresses before and after this address should not be used. All addresses of cata10-cata30 could not be used with the reply confirmation function of cata20;
2889 +|Data response: the device or touch screen will receive feedback with data, and the data to be separated from the feedback frame should be set to store in the register address;
2890 +|response ID: if the address wants to receive data on a frame with a different ID, set this, check "different from sender", and enter a different ID in the following input box. Without this setting, the screen will receive and process a frame with the same ID as the sender;
2891 +|Response timeout: sets whether the response frame timeout;
2892 +|(% rowspan="3" %)8|(% rowspan="3" %)Control address|If ticked, enable sending when the value of the corresponding control bit number (address) is non-0.
2893 +|Control bit: CtrlBit register range 0~~255, if the control bit is ON, can instruction will run normally. Otherwise, it doesn't run;
2894 +|Manually send: a manually send tick indicates only one send;
2895 +|9|Flag configuration|Communication control for each frame. Display OFF when communication is normal, and ON when communication is abnormal;
2896 +|10|Note|Fill the text to explain the meaning of the frame;
2897 +|11|Data assign|Preview the display in this table based on the address and the corresponding number of digits;
2898 +|12|Current operation display|Display the description of current operation;
2899 +|13|Add|Add a new frame;
2900 +|14|Save frame|Save the configured frame format;
2901 +|15|Cancel|Cancel the frame configuration;
2902 +
2903 +Set CAN address (Read or write operation);
2904 +
2905 +(% style="text-align:center" %)
2906 +[[image:12.PLC Protocol_html_7e9f9b25eb6ae8ce.png||data-xwiki-image-style-alignment="center" height="446" width="600" class="img-thumbnail"]]
2907 +
2908 +|**No.**|**Item**|**Description**
2909 +|1|Current address|Displays the register type and register address set by the user in the data access interface
2910 +|(% rowspan="3" %)2|(% rowspan="3" %)Trigger|Two operations, "read" and "write," are based on on-screen registers
2911 +|If "read" is selected, the register address is reading device data in a manner of sending frames set by the user in a loop.
2912 +|If "write" is selected, the screen data of the register address will be written into the device. The writing mode is that the user makes a write operation on the screen, which will trigger the sending of a frame set by the user.
2913 +|(% rowspan="5" %)3|(% rowspan="3" %)Data operation|The read and write operations in the trigger conditions are set accordingly.
2914 +|If the trigger condition is a read operation, this section needs to set the position and length of the data to be obtained at the current address in the frame.
2915 +|If the trigger condition is a writing operation, there are two situations:(((
2916 +* If the "add writing data to the frame" option is not selected, the frame set by the user will be sent directly when the user writes on the screen.
2917 +* Select the "add the written data to the frame" option, and when the user writes on the screen, the program will insert the data in the frame set by the user and send the written data to the frame set by the user according to the data insertion position and length set by the user.
2918 +)))
2919 +|(% rowspan="2" %)Position and length input format|If the register type is a bit address, the decimal point is required to represent the bits in the byte. For example, 1.1 represents the first bit of the first byte of 8 bytes in the data frame, and the length is in bits, and so on.
2920 +|If the register type is word address, the integer only needs to represent the byte, such as 1, which represents the first byte of 8-byte data in the data frame, and the unit of length is byte, and so on.
2921 +|4|Add|Add current configuration
2922 +|5|Close|Close the configuration window to exit
2923 +
2924 +**Multiple Packages Settings**
2925 +
2926 +(% style="text-align:center" %)
2927 +[[image:12.PLC Protocol_html_107e0f6b1a90afff.png||data-xwiki-image-style-alignment="center" height="341" width="600" class="img-thumbnail"]]
2928 +
2929 +Check [Multiple packages supported] to open [Multiple package data] window, as below show.
2930 +
2931 +Select Multiple package type
2932 +
2933 +* Not Multiple packages
2934 +* J1939 Multiple packages
2935 +* Customized Multiple packages
2936 +
2937 +Click [Edit Receive data] for [Receive] settings
2938 +
2939 +* Start code+ Total length (J1939)
2940 +
2941 +(% style="text-align:center" %)
2942 +[[image:12.PLC Protocol_html_3c360c6b5aca51bf.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2943 +
2944 +As set above set, J1939 command is received by the HMI, only when its length is 25 bytes, and the start code is 0x57, 0x1B;
2945 +
2946 +* Start code + Data max length (J1939)
2947 +
2948 +(% style="text-align:center" %)
2949 +[[image:12.PLC Protocol_html_74496b2a68cfcdde.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2950 +
2951 +As set above set, J1939 command is received by the HMI, only when its length less than 50 bytes, and the start code is 0x57, 0x1B;
2952 +
2953 +* Data max length (J1939)
2954 +
2955 +(% style="text-align:center" %)
2956 +[[image:12.PLC Protocol_html_98cea3e7cbd8f05d.png||data-xwiki-image-style-alignment="center" height="340" width="426" class="img-thumbnail"]]
2957 +
2958 +As set above set, J1939 command is received by the HMI, only when its length less than 50 bytes.
2959 +
2960 +* Customized multiple package
2961 +
2962 +(% style="text-align:center" %)
2963 +[[image:12.PLC Protocol_html_4635bbe4d7999db0.png||data-xwiki-image-style-alignment="center" height="395" width="367" class="img-thumbnail"]]
2964 +
2965 +As set above, It is received by the HMI, when the first frame starts with 0X57 0X1B, and the sum of the data lengths of multiple frames is equal to 79 bytes.
2966 +
2967 +Click [Edit Send data] for [Send] setting
2968 +
2969 +* J1939
2970 +
2971 +(% style="text-align:center" %)
2972 +[[image:12.PLC Protocol_html_a4769e44331ca732.png||data-xwiki-image-style-alignment="center" height="280" width="463" class="img-thumbnail"]]
2973 +
2974 +[Data] is all data to be sent.
2975 +
2976 +Since the frame of the J1939 frame contains the number of the data packet, so the data sent is: the first byte (number) + 7 bytes of data. If it is less than 7 bytes, it is sent in the actual number of bytes.
2977 +
2978 +* Customized multiple package
2979 +
2980 +(% style="text-align:center" %)
2981 +[[image:12.PLC Protocol_html_78546f765d6f3deb.png||data-xwiki-image-style-alignment="center" height="280" width="463"]]
2982 +
2983 +[Data] is all data to be sent.
2984 +
2985 +As set above, fist frame length is 2 bytes, and others are sent with 6 bytes for every frame, if the last frame is less than 6 bytes, send according to the actual length.
2986 +
2987 +**Cable Wiring**
2988 +
2989 +(% style="text-align:center" %)
2990 +[[image:12.PLC Protocol_html_fccede84efcbdc22.png||data-xwiki-image-style-alignment="center" height="111" width="391" class="img-thumbnail"]]
2991 +
2992 +**✎Note:** The address interval between each frame need to be more than a word address;
image-20220829155452-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +38.1 KB
Content
image-20220829162116-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +50.4 KB
Content
image-20220830094600-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +40.4 KB
Content
image-20220830094657-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +53.4 KB
Content
image-20220830094929-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +90.4 KB
Content
image-20220830095131-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Ben
Size
... ... @@ -1,0 +1,1 @@
1 +25.7 KB
Content