{"id":3418,"date":"2026-11-17T21:34:43","date_gmt":"2026-11-17T13:34:43","guid":{"rendered":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/fbs-hw-en-013\/"},"modified":"2026-11-17T21:34:43","modified_gmt":"2026-11-17T13:34:43","slug":"fbs-hw-en-013","status":"publish","type":"post","link":"https:\/\/resource.fatek.com\/index.php\/2026\/11\/17\/fbs-hw-en-013\/","title":{"rendered":"Chapter 13 The Applications of FBs-PLC Communication Link"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-001.png\" \/><\/p>\n<p> As previously revealed in Chapter 12 that the FBs-PLC can support the &quot;Ladder Program Control Interface&quot; communication function for the applications of multi-drop FATEK CPU Link network or connecting with the intelligent peripherals through Port 1\uff5ePort 4. <\/p>\n<p>The connection of FBs-PLC can through CLINK(FUN151), besides it support Modbus communication interface, too. Port1\uff5ePort 4 can be Modbus communication protocol master station by FUN150 to connect with the Modbus slave peripherals. <\/p>\n<p>\tThe RS-232 interface is for point to point connection, the RS485 interface is for long distance connection or multi-drop communication network <\/p>\n<p>The FUN151 (CLINK) instruction provides MD0 to MD3 four kinds of instruction mode, that the MD3 mode is monopolized by Port 2 for \u201cFATEK High Speed CPU Link Network\u201d ,  the others are for \u201cOrdinary Communication Link\u201d. <\/p>\n<p>The following list enlisted the description for the difference on various instruction modes for the CLINK instruction <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>Category<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Item<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p> Baud Rate<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p> Data Bit<\/p>\n<\/td>\n<td>\n<p>Transmitting <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Error detection <\/p>\n<\/td>\n<td>\n<p>Command <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>code <\/p>\n<\/td>\n<td>\n<p>processing speed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>High Speed LINK <\/p>\n<\/td>\n<td>\n<p>38.4K bps <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>8-bit <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>Binary code<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>CRC-16 <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>Immediately<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\uff08MD3\uff09<\/p>\n<\/td>\n<td>\n<p>| <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> * Port 2 only <\/p>\n<\/td>\n<td>\n<p>921.6K bps<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>(CLINK) <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Ordinary LINK <\/p>\n<\/td>\n<td>\n<p>4.8K bps <\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>7-bit or 8-bit<\/p>\n<\/td>\n<td rowspan=\"6\">\n<p>ASCII code<\/p>\n<\/td>\n<td rowspan=\"6\">\n<p>Checksum <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>Processing <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>| <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>\uff08MD0\uff5eMD2\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>during <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>921.6K bps<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Adjustable<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> * Port 1\uff5ePort 4 <\/p>\n<\/td>\n<td>\n<p>Housekeeping <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>FUN150 <\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>Modbus <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>4.8K bps <\/p>\n<\/td>\n<td rowspan=\"9\">\n<p>7bit\/8bit<\/p>\n<\/td>\n<td>\n<p>Binary <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>CRC-16 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Processing <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>code <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>when scan to <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>| <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\/ <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\/ <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>Master <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>FUN150 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>(M-BUS) <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>ASCII <\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>Checksum <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>921.6K bps<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>instruction <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Code <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-002.png\" \/><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>13.1\t Application for FUN151 Instruction <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>13.1.1\t Procedures for Usage <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Start <\/p>\n<p>Hardware wiring to connect the various <br \/>stations (PLC, ASCII peripherals, etc.)<\/p>\n<p>Set up the station number of the linking <\/p>\n<p>stations and make a consistent <\/p>\n<p>communication parameters setting for <\/p>\n<p>these stations. <\/p>\n<p>Fill in the value to the communication interface register (Rxxxx) of FUN151 (CLINK) if necessary; properly adjust the Time-out timer to detect <\/p>\n<p>\u25cf Station number can be set to any one between 1 to 254 without replication. <\/p>\n<p>\u25cf For communication parameters, please refer to the <\/p>\n<p>description of &quot;Communication Related Setting&quot;.<\/p>\n<p>communication error, transaction delay <br \/>to meet slow response device , etc. <\/p>\n<p>Write FUN151 instruction to PLC, which <br \/>serves as the master station or <br \/>performs communication sender\/ <br \/>receiver, and then fill the <br \/>communication program into the <br \/>register table assigned by operand SR. <br \/>FUN151 will then automatically send or <br \/>receive data according to the definition <br \/>of communication program.  The user <br \/>can easily reach the various function <br \/>services of CLINK by accessing the <br \/>table like of communication program. <\/p>\n<p>End <\/p>\n<h4> 13.1.2\t Explanation of Respective Modes and Application Program for FUN151 <\/h4>\n<p> This section will base on the four instruction modes (MD0 to MD3) of FUN151 (CLINK) instruction to explain their <\/p>\n<p>usages, with respective practical application program examples. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-003.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-004.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-005.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-006.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-007.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-008.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-009.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-010.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-011.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-012.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-013.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-014.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-015.png\" \/><\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td colspan=\"3\">\n<p> Pt <strong>:<\/strong> Assign the port, 1\uff5e4 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td colspan=\"3\">\n<p> MD <strong>:<\/strong> 0, serves as the master station of Fatek CPU <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"3\">\n<p>Link (adopts Fatek communication protocol) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-016.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-017.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-018.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\"><\/td>\n<td colspan=\"3\">\n<p> SR <strong>:<\/strong> Starting register of communication program      <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>(see example for its explanation) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p> WR <strong>:<\/strong> Starting register for instruction operation (see <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-019.png\" \/><\/p>\n<\/td>\n<td rowspan=\"13\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-020.png\" \/><\/p>\n<\/td>\n<td rowspan=\"13\"><\/td>\n<td rowspan=\"13\"><\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-021.png\" \/><\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>HR <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>example for its explanation). It controls 8 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"11\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-022.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-023.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>registers, the other programs can not repeat <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"3\">\n<p> Range <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>in using. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td>\n<p>DR<\/p>\n<\/td>\n<td>\n<p>K <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0 <\/p>\n<\/td>\n<td>\n<p>R5000<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>Operand <\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2223<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>R3839<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R8071<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>D3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p> Pt <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>1~4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> MD <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> SR <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> WR  <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td>\n<p>\u25cb* <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Descriptions<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>1. <br \/>2. <br \/>3. <br \/>4. <\/p>\n<\/td>\n<td>\n<p>FUN151 (CLINK) <strong>:<\/strong> MD 0, it makes PLC act as the master of FATEK CPU Link Network through Port 1~ 4. The master PLC may connect with 254 slave stations through the RS485 interface. <\/p>\n<p>Only the master PLC needs to use FUN151 instruction, the slave doesn&#8217;t need. <\/p>\n<p>It employs the program coding method or table filling method to plan for the data flow controls; i.e. from which <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>one of the slave station to get which type of data and save them to the master PLC, or from the master PLC to write which type of data to the assigned slave station.  It needs only seven registries to make definition; every seven registers define one packet of data transaction. <\/p>\n<p>5. \t\tWhen execution control \u301dEN\u301echanges from 0\u21921 and both inputs \u201cPAU\u201d and \u201cABT\u201d are 0, and if Port 1\/2\/3\/4 \thasn\u2019t been controlled by other communication instructions [i.e. M1960 (Port1) \/ M1962 (Port2) \/ M1936 \t(Port3) \/ M1938 (Port4) = 1], this instruction will control the Port 1\/2\/3\/4 immediately and set the \tM1960\/M1962\/M1936\/M1938 to be 0 (which means it is being occupied), then going on a packet of data \ttransaction immediately. If Port 1\/2\/3\/4 has been controlled (M1960\/M1962\/M1936\/M1938 = 0), then this \tinstruction will enter into the standby status until the controlling communication instruction completes its \ttransaction or pause\/abort its operation to release the control right (M1960\/M1962\/M1936\/M1938 =1), and \tthen this instruction will become enactive, set M1960\/M1962\/M1936\/M1938 to be 0, and going on the data \ttransaction immediately. <\/p>\n<p>6. \t\tWhile in transaction processing, if operation control \u201cPAU\u201d becomes 1, this instruction will release the control \tright (M1960\/M1962\/M1936\/M1938 = 1) after this transaction. Next time, when this instruction takes over the \ttransmission right again, it will restart from the next packet of data transaction. <\/p>\n<p>7. \t\tWhile in transaction processing, if operation control \u201cABT\u201d becomes 1, this instruction will abort this \ttransaction immediately and release the control right (M1960\/M1962\/M1936\/M1938 = 1). Next time, when this \tinstruction takes over the transmission right again, it will restart from the first packet of data transaction. <\/p>\n<p>8. \tWhile it is in the data transaction, the output indication \u201cACT\u201d will be ON. <\/p>\n<p>9. \t\tIf there is error occurred when it finishes a packet of data transaction, the output indication \u201cDN\u201d &amp; \u201cERR\u201d will \tbe ON. <\/p>\n<p>10. If there is no error occurred when it finishes a packet of data transaction, the output indication \u201cDN\u201d will be \tON. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-024.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-025.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u3010Interface Signals\u3011<\/p>\n<p>Dedicated Relays and Registers for corresponding port <strong>: <\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Signals <\/strong><\/p>\n<\/td>\n<td>\n<p><strong>Comm. Port<\/strong><\/p>\n<\/td>\n<td>\n<p><strong> Port 1 <\/strong><\/p>\n<\/td>\n<td>\n<p><strong> Port 2 <\/strong><\/p>\n<\/td>\n<td>\n<p><strong> Port 3 <\/strong><\/p>\n<\/td>\n<td>\n<p><strong> Port 4 <\/strong><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>1. Port Ready Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1960 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1962 <\/p>\n<\/td>\n<td>\n<p> M1936 <\/p>\n<\/td>\n<td>\n<p> M1938 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>2. Port Finished Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1961 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1963 <\/p>\n<\/td>\n<td>\n<p> M1937 <\/p>\n<\/td>\n<td>\n<p> M1939 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>3. Port Communication Parameters<\/strong><\/p>\n<\/td>\n<td>\n<p> R4146 <\/p>\n<\/td>\n<td>\n<p> R4158 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4043 <\/p>\n<\/td>\n<td>\n<p> R4044 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>4. TX Delay &amp; RX Time-out Span <\/strong><\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4147 <\/p>\n<\/td>\n<td>\n<p> R4159 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4045 <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4048 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>5. Setting of RX Time-out Span <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4043 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>6. Edge Trigger Execution <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4044 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><strong>1. Port Ready Indicator<\/strong>\uff1aThis signal is generated from CPU. \t ON, it represents that port is free and ready. <\/p>\n<p> OFF, it represents that port is busy, data transaction is going.<\/p>\n<p><strong>2. Port Finished Indicator :<\/strong> This signal is generated from CPU. <\/p>\n<p> When the communication program completed the last packet of data transaction, this signal will be ON for one scan time (for successive data transaction). <\/p>\n<p>\t When the communication program completed the last packet of data transaction, this signal will be still ON (for single packet of data transmission)<\/p>\n<p><strong> 3. Port Communication Parameters : <\/strong><br \/>\t\t The register is for communication parameters setting of corresponding port. (please refer to the chapter of communication parameters setting)<\/p>\n<p><strong> 4. TX Delay &amp; RX Time-out Span : <\/strong><br \/>\t\t The content of Low Byte defines the receive Time-out span of CLINK instruction; its unit is 0.01 second \t(the default is 50, which means 0.5 second). The CLINK instruction employs receive Time-out span to judge \twhether the slave station on line or not.  When the master PLC sent out the read\/write command to the slave \tstation, the slave station didn\u2019t reply within this period means that there is abnormal event in communication \tcalled Time-out.  When there are multi-drop linking, properly adjust this value (greater than 1 scan time of the \tslave station with the longest scan time) to shorten the communication response time among the active linking \tstations if there are many slave stations power off (The time-out cases will happen).<\/p>\n<p> The content of High Byte defines the transmission delay time between two packets of data transaction for CLINK instruction; its unit is 0.01 second (the default is 0).<\/p>\n<p><strong>5. Setting of RX Time-out Span D4043<\/strong>\uff1a<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>Setting of RX Time-out Span <\/p>\n<\/td>\n<td>\n<p>Port1 <\/p>\n<\/td>\n<td>\n<p>Port2 <\/p>\n<\/td>\n<td>\n<p>Port3 <\/p>\n<\/td>\n<td>\n<p>Port4 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>of R4147 <\/p>\n<\/td>\n<td>\n<p>of R4159 <\/p>\n<\/td>\n<td>\n<p>of R4045 <\/p>\n<\/td>\n<td>\n<p>of R4048 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> D4043\uff1aSetting the time unit in 0.01 or 0.1 second for RX time-out detection  High Byte                        Low Byte <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> 56H <\/p>\n<\/td>\n<td>\n<p>b7 <\/p>\n<\/td>\n<td>\n<p>b6 <\/p>\n<\/td>\n<td>\n<p>b5 <\/p>\n<\/td>\n<td>\n<p>b4 <\/p>\n<\/td>\n<td>\n<p>b3 <\/p>\n<\/td>\n<td>\n<p>b2 <\/p>\n<\/td>\n<td>\n<p>b1 <\/p>\n<\/td>\n<td>\n<p>b0 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>High Byte of D4043 \u226056H (Hex), time unit is in 0.01 second. <\/p>\n<p>High Byte of D4043 = 56H (Hex), Low Byte of D4043 defines the time unit; \t\tb1=0, Time-out timer in 0.01 second (Port 1) \t\t\t\t\t =1, Time-out timer in 0.1 second (Port 1) b2=0, Time-out timer in 0.01 second (Port 2) \t\t\t\t\t\t=1, Time-out timer in 0.1 second (Port 2) \t\tb3=0, Time-out timer in 0.01 second (Port 3) \t\t\t\t\t\t=1, Time-out timer in 0.1 second (Port 3) \t\t\t\tb4=0, Time-out timer in 0.01 second (Port 4) \t\t\t\t\t\t\t=1, Time-out timer in 0.1 second (Port 4) <\/p>\n<p>For example, D4043=560AH, it means time unit in 0.1 second for Port 1 &amp; 3; but in 0.01 second for Port 2 &amp; 4  If low byte of R4147=50, it means Port 1 has 5 seconds for RX time-out detection; <br \/> If low byte of R4159=50, it means Port 2 has 0.5 seconds for RX time-out detection <\/p>\n<p><strong>6. Edge Trigger Execution D4044<\/strong>\uff1a<br \/>\t\tHigh byte of D4044=00H <br \/> Low byte of D4044\uff1aSetting to improve communication efficiency \t\t\tHigh Byte                        Low Byte <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> 00H <\/p>\n<\/td>\n<td>\n<p>b7 <\/p>\n<\/td>\n<td>\n<p>b6 <\/p>\n<\/td>\n<td>\n<p>b5 <\/p>\n<\/td>\n<td>\n<p>b4 <\/p>\n<\/td>\n<td>\n<p>b3 <\/p>\n<\/td>\n<td>\n<p>b2 <\/p>\n<\/td>\n<td>\n<p>b1 <\/p>\n<\/td>\n<td>\n<p>b0 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>High Byte of D4044=00H (Hex), Low Byte of D4044 defines the communication port\uff1b<br \/>\t\t\t b1=0, Minimum 3 scan time to execute one communication transaction (Port 1) \t\t\t\t\t =1, Minimum 2 scan time to execute one communication transaction (Port 1) \t\t\t b2=0, same as the description of b1=0 (Port 2) <br \/>\t\t\t\t\t =1, same as the description of b1=1 (Port 2) <br \/>\t\t\t b3=0, same as the description of b1=0 (Port 3) <br \/>\t\t\t\t\t =1, same as the description of b1=1 (Port 3) <br \/>\t\t\t\tb4=0, Port 4 same as the description of b1=0 (Port 4) <br \/>\t\t\t\t\t\t=1, Port 4 same as the description of b1=1 (Port 4) <br \/>For example, D4044=0006H, it means 2 scan time minimum to execute one communication transaction for Port 1 \t\t&amp; 2; but 3 scan time minimum for Port 3 &amp; 4 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>High byte of D4044=56H <\/p>\n<p>D4044\uff1aSetting of one edge trigger to execute one communication transaction or only one edge trigger then make <\/p>\n<p>continuous execution of communication transactions <\/p>\n<p> High Byte                        Low Byte <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> 56H <\/p>\n<\/td>\n<td>\n<p>b7 <\/p>\n<\/td>\n<td>\n<p>b6 <\/p>\n<\/td>\n<td>\n<p>b5 <\/p>\n<\/td>\n<td>\n<p>b4 <\/p>\n<\/td>\n<td>\n<p>b3 <\/p>\n<\/td>\n<td>\n<p>b2 <\/p>\n<\/td>\n<td>\n<p>b1 <\/p>\n<\/td>\n<td>\n<p>b0 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>High Byte of D4044\u226056H(Hex), one edge trigger to execute one communication transaction High Byte of D4044=56H(Hex), Low Byte of D4044 defines the communication port\uff1b<\/p>\n<p> b1=0, one edge trigger to execute one communication transaction (Port 1)  <\/p>\n<p> =1, only one edge trigger then make continuous execution of  <\/p>\n<p>communication transaction (Port 1) <\/p>\n<p> b2=0, same as the description of b1=0 (Port 2) <\/p>\n<p> =1, same as the description of b1=1 (Port 2) <\/p>\n<p> b3=0, same as the description of b1=0 (Port 3) <\/p>\n<p> =1, sane as the description of b1=1 (Port 3) <\/p>\n<p> b4=0, same as the description of b1=0 (Port 4) <\/p>\n<p> =1, same as the description of b1=1 (Port 4) <br \/>For example, D4044=5618H, it means one edge trigger to execute one communication transaction for Port 1 &amp; 2; but only one edge trigger then make continuous execution of communication transactions for Port 3 &amp; 4 <\/p>\n<p>zWR+0 &amp; WR+1 of communication instruction will tell the communication result for each communication transaction if it is one edge trigger to execute one communication transaction <br \/>zIf it is only one edge trigger then make continuous execution of communication transactions, the following registers will tell the communication result: <br \/>\t\tD4045 &amp; D4046 : Communication result of Port 1 (Same with above WR+0 &amp; WR+1) <br \/>\t\tD4047 &amp; D4048 : Communication result of Port 2 (Same with above WR+0 &amp; WR+1) <br \/>\t\tD4049 &amp; D4050 : Communication result of Port 3 (Same with above WR+0 &amp; WR+1) <br \/>\t\tD4051 &amp; D4052 : Communication result of Port 4 (Same with above WR+0 &amp; WR+1) <\/p>\n<p>Let the control input ABT be ON if it wants to stop the communication transaction<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Sample program for one edge trigger to execute one communication transaction <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-026.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-027.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-028.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-029.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-030.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Sample program for only one edge trigger then make continuous execution of communication transactions <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-031.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-032.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-033.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-034.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-035.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Waveform of input control and output indication<\/p>\n<p>M1960                          \u2026<br \/>M1962 <br \/>M1936 <br \/>M1938 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>ENU <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>Transaction 0 <\/p>\n<\/td>\n<td>\n<p>\u2026<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>Transaction N<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>ACT <\/p>\n<\/td>\n<td>\n<p>\u2026<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Transaction 1\u2026\u2026<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>ABT <\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Editing Communication Table with WinProladder <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Click the \u201cLink Table\u201d Item which in project windows<strong> :<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"3\">\n<p> Project name <\/p>\n<\/td>\n<td colspan=\"4\" rowspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td>\n<p> T<\/p>\n<\/td>\n<td>\n<p>bl<\/p>\n<\/td>\n<td>\n<p> Edit <\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Link Table  \u00c6 Click right button and select  \u201cNew Link Table\u201d <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-036.png\" \/><\/p>\n<p>\u25cf  Table Type <strong>:<\/strong> MD0 must be selected \u201dNormal Link Table\u201d.  <strong>; <\/strong>MD3 must be selected \u201dHigh Speed Link Table\u201d. \u25cf  Table Name <strong>:<\/strong> For modify or debug, you can give a convenient name. <\/p>\n<p>\u25cf  Table Starting address<strong> :<\/strong> Enter the address which is the starting register of communication table to store the data exchange list. <\/p>\n<p>\u203bTo make it easy to edit, read, and maintain the communication program, we have extended following related instructions under FUN150 and FUN151. The use method is take focus on FUN150 or FUN151, and press the hotkey \u201cZ\u201d. When \u201cTable Edit\u201d windows appear, then you can edit the communication table.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-037.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-038.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-039.png\" \/><\/p>\n<p> Explanation for operand SR <br \/>\t SR\uff1aStarting register for communication program of CLINK instruction <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p> SR+0 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Total transactions<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid; one transaction takes 7 registers to describe, <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>which means 7 registers define a packet of data transaction.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> SR+1 <\/p>\n<\/td>\n<td>\n<p>Slave station No. which is about <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, 0\uff5e254 (0 means that master PLC broadcasts <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>to transact with<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>the data to all slave PLC, the slave PLC does not reply).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> SR+2 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Command code<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid;  =1, means reading data from slave PLC; <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>=2, means writing data to slave PLC.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+3 <\/p>\n<\/td>\n<td>\n<p>Data length of this transaction<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022 Low Byte is valid; the range is 1\uff5e64.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> SR+4 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Data type of Master PLC<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, and its range is 0 to 13; it defines the data <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>type of master PLC (see next page).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+5 <\/p>\n<\/td>\n<td>\n<p> Starting reference of Master PLC<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Word is valid; it defines the starting address of data (master).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> SR+6 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Data type of slave PLC<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, and its range is 0 to 13; it defines the data <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>type of slave PLC (see next page).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+7 <\/p>\n<\/td>\n<td>\n<p> Starting reference of Slave PLC<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Word is valid; it defines the starting address of data (slave).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> SR+8 <\/p>\n<\/td>\n<td>\n<p>Slave station No. which is about <\/p>\n<\/td>\n<td rowspan=\"8\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-040.png\" \/><\/p>\n<\/td>\n<td rowspan=\"8\">\n<p>Description of the 2nd packet of transaction. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>to transact with<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+9 <\/p>\n<\/td>\n<td>\n<p>Command Code<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+10 <\/p>\n<\/td>\n<td>\n<p>Data length of this transaction<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+11 <\/p>\n<\/td>\n<td>\n<p>Data type of Master PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+12 <\/p>\n<\/td>\n<td>\n<p>Starting reference of Master PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+13 <\/p>\n<\/td>\n<td>\n<p>Data type of slave PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> SR+14 <\/p>\n<\/td>\n<td>\n<p>Starting reference of Slave PLC<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-041.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Master\/Slave data type, code and reference number <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Data code<\/p>\n<\/td>\n<td>\n<p>Data type<\/p>\n<\/td>\n<td>\n<p>Reference number<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0 <\/p>\n<\/td>\n<td>\n<p>X (discrete input) <\/p>\n<\/td>\n<td>\n<p>0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1 <\/p>\n<\/td>\n<td>\n<p>Y (discrete output) <\/p>\n<\/td>\n<td>\n<p>0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>2 <\/p>\n<\/td>\n<td>\n<p>M (internal relay M) <\/p>\n<\/td>\n<td>\n<p>0\uff5e1911 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>3 <\/p>\n<\/td>\n<td>\n<p>S (step relay S) <\/p>\n<\/td>\n<td>\n<p>0\uff5e999 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>4 <\/p>\n<\/td>\n<td>\n<p>T (timer contact) <\/p>\n<\/td>\n<td>\n<p>0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>5 <\/p>\n<\/td>\n<td>\n<p>C (counter contact) <\/p>\n<\/td>\n<td>\n<p>0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>6 <\/p>\n<\/td>\n<td>\n<p>WX (word of discrete input ,16 bits) <\/p>\n<\/td>\n<td>\n<p>0\uff5e240, it must be the multiple of 8. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>7 <\/p>\n<\/td>\n<td>\n<p>WY (word of discrete output ,16 bits) <\/p>\n<\/td>\n<td>\n<p>0\uff5e240, it must be the multiple of 8. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>8 <\/p>\n<\/td>\n<td>\n<p>WM (word of internal relay,16 bits) <\/p>\n<\/td>\n<td>\n<p>0\uff5e1896, it must be the multiple of 8. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>9 <\/p>\n<\/td>\n<td>\n<p>W S (word of step relay,16 bits) <\/p>\n<\/td>\n<td>\n<p>0\uff5e984, it must be the multiple of 8. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>10 <\/p>\n<\/td>\n<td>\n<p>TR (timer register) <\/p>\n<\/td>\n<td>\n<p>0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>11 <\/p>\n<\/td>\n<td>\n<p>CR (counter register) <\/p>\n<\/td>\n<td>\n<p>0\uff5e199 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>12 <\/p>\n<\/td>\n<td>\n<p>R (data register Rxxxx) <\/p>\n<\/td>\n<td>\n<p>0\uff5e3839 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>13 <\/p>\n<\/td>\n<td>\n<p>D (data register Dxxxx) <\/p>\n<\/td>\n<td>\n<p>0\uff5e4095 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note <strong>:<\/strong> The data type for master and slave must be consistent.  i.e. if the master station is any value between 0 to 5, the slave station must also be any value between 0 to 5; if the master station is any value between 6 to 13, the slave station must also be any value between 6 to 13.<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Explanation for the operand WR of FUN151:MD0 <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>HighByte <\/p>\n<\/td>\n<td>\n<p>Low Byte <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022Result code indicates the transaction result; 0= normal, other value =abnormal.<\/p>\n<p>\u2022Transaction No. indicates which one is in processing.<\/p>\n<p>\u2022Station number, the slave station No. which is in transaction.<\/p>\n<p>Command code <br \/>=40H, reading system status from slave PLC. <\/p>\n<p>=44H, reading successive discrete status from slave PLC. =45H, writing successive discrete status to slave PLC. <\/p>\n<p>=46H, reading successive registers from slave PLC.<\/p>\n<p> =47H, writing successive registers to slave PLC.<\/p>\n<p>\u2022WR+4\u2019s b0=1, Port has been occupied and this instruction is waiting \tto acquire the transmission right for data transaction.<\/p>\n<p>b4=1 , This instruction is not first time performing. <\/p>\n<p>b12  , Output indication for \u201cACT\u201d <br \/>b13  , Output indication for \u201cERR\u201d. <\/p>\n<p>b14  , Output indication for \u201cDN\u201d.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>WR+3 <br \/>WR+4 <br \/>WR+5 <br \/>WR+6 <br \/>WR+7 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Result code<\/p>\n<\/td>\n<td>\n<p>Transaction No.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>\n<p>Command code<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>WR+0 <\/p>\n<p>WR+1 Station number<\/p>\n<p>WR+2 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Result code:   0, this transaction is successful. <\/p>\n<p>2, data length error (data length is 0 or greater than 64 in one transaction). 3, command code error (command code is greater than 2). <\/p>\n<p>4, data type error (data type is greater than 13, please refer to data type code). 5, reference number error (please refer to reference number). <\/p>\n<p>6, inconsistence in data type (e.g. master station is 0\uff5e5 while slave is 6\uff5e13). A, no response from slave station (Time-out error). <\/p>\n<p>B, communication error (received error data).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <br \/>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u25cf \tFor easy programming and trouble shooting, the WinProladder provides the table editing environment to edit \tthe communication table of FUN151 instruction; Key in the complete FUN151 instruction first and then move \tthe cursor to the position of it, depressing the &quot;Z&quot; key, now comes the table editing environment. The user can \tcreate the new communication table or display the existed table under this friendly user interface operation. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Communication Table for FUN151:MD0 <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Sequence  No. <\/p>\n<\/td>\n<td>\n<p>Command <\/p>\n<\/td>\n<td>\n<p>Slave <\/p>\n<\/td>\n<td>\n<p> Master Data <\/p>\n<\/td>\n<td>\n<p> Slave Data <\/p>\n<\/td>\n<td>\n<p>Length <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0 ~ nnn <\/p>\n<\/td>\n<td>\n<p>Read (=1) Write (=2) <\/p>\n<\/td>\n<td>\n<p>Describing the <br \/>station number of slave PLC which is about to transact <br \/>with.<\/p>\n<p>Station number=0, The master PLC broadcasts the <br \/>data to all slave <br \/>PLCs and slave <br \/>PLCs will not <br \/>reply<\/p>\n<p>Station <br \/>number=N, <br \/>it means the <br \/>station number of the slave PLC <br \/>which is about to transact with the master PLC <\/p>\n<p>N=1~ 254 <\/p>\n<\/td>\n<td>\n<p>Describing the data type &amp; reference <br \/>number of this packet of transaction for the master PLC. <\/p>\n<p>X0 ~ X255 <br \/> Y0 ~ Y255 <br \/>M0 ~ M1911 S0 ~ S999 <br \/>T0 ~ T255 <br \/>C0 ~ C255 <br \/>WX0 ~ WX240 WY0 ~ WY240 WM0 ~ WM1896 WS0 ~ WS984 TR0 ~ TR255 CR0 ~ CR199 R0 ~ R3839 <br \/>D0 ~ D4095<\/p>\n<\/td>\n<td>\n<p>Describing the data type &amp; reference <br \/>number of this packet of transaction for the slave PLC. <\/p>\n<p>X0 ~ X255 <br \/> Y0 ~ Y255 <br \/>M0 ~ M1911 S0 ~ S999 <br \/>T0 ~ T255 <br \/>C0 ~ C255 <br \/>WX0 ~ WX240 WY0 ~ WY240 WM0 ~ WM1896 WS0 ~ WS984 TR0 ~ TR255 CR0 ~ CR199 <br \/>R0 ~ R3839 <br \/>D0 ~ D4095<\/p>\n<\/td>\n<td>\n<p>Data length of this transaction.<\/p>\n<p>1 ~ 64 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Explanation on program example <\/p>\n<p> When execution control M1\/M2\/M3\/M4 = ON, and corresponding port is not occupied by other communication  instruction (M1960\u3001M1962\u3001M1936\u3001M1938 = ON), CLINK instruction will start the data transaction.  The M1960\u3001M1962\u3001M1936\u3001M1938 is OFF during data transaction, and when the transaction is finished, the M1960\u3001M1962\u3001M1936\u3001M1938 becomes ON.  Employ the OFF\u2194ON change of M1960\u3001M1962\u3001M1936\u3001M1938 (FUN151 execution control \u301dENU\u301e\u2022means starting) may automatically starts for every packet of data transaction successively (when the last packet of transaction is completed, it will automatically return to the first packet of transaction to obtain the automatic cycling transmission). <\/p>\n<p>\u25cf Output Indicators <strong>:<\/strong>\u301dACT\u301eON\uff1aTransaction is in progress <br \/>\t\u301dERR\u301eON\uff1aError occurred (Refer to the result code) \t\u301dDN\u301eON\uff1aOne transaction finished <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-042.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD0 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>(Which makes PLC act as the master station in CPU LINK network through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Waveform of Input and Output Signals<\/p>\n<p>M1960 <br \/>M1962 <br \/>M1936 <br \/>M1938<\/p>\n<p>ENU(start transmission)<\/p>\n<p>ACT(data transmission)<\/p>\n<p>DN(Non-error)<\/p>\n<p>ERR(Error occur)<\/p>\n<p>Note<strong> : <\/strong> 1. Only &quot;DN&quot; will be ON if one transaction finished without error. <\/p>\n<p> 2. &quot;ERR&quot; &amp; &quot;DN&quot; will be ON at the same time if one transaction finished with error. <\/p>\n<p> 3. M1961\/M1963\/M1937\/M1939 will be ON one scan time while the last packet of transaction finished. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-043.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-044.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-045.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-046.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-047.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-048.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-049.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-050.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <br \/>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-051.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-052.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-053.png\" \/><\/p>\n<\/td>\n<td>\n<p>Pt  <strong>:<\/strong> Assign the port, 1\uff5e4 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>MD <strong>:<\/strong> 1, link with intelligent peripherals that equipped <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-054.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-055.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>with communication interface <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-056.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-057.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-058.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td colspan=\"3\">\n<p>SR <strong>: <\/strong>Starting register for data transmission table <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"2\" rowspan=\"4\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-059.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>WR <strong>:<\/strong> Starting register for instruction operation (see <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-060.png\" \/><\/p>\n<\/td>\n<td rowspan=\"11\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-061.png\" \/><\/p>\n<\/td>\n<td rowspan=\"11\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-062.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-063.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p> example for explanation).  It controls 8 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"10\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-064.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-065.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>registers, the other programs cannot repeat in <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>use. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\" rowspan=\"2\">\n<p> Range<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>HR <br \/>R0 <\/p>\n<\/td>\n<td>\n<p>ROR <\/p>\n<\/td>\n<td>\n<p>DR <\/p>\n<\/td>\n<td>\n<p>K <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R5000 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"2\">\n<p>Operand <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2223<br \/>R3839 <\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2223<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R8071 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> D3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p> Pt <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>1~4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p> MD <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>1 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> SR <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> WR  <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<td>\n<p>\u25cb* <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Descriptions<\/p>\n<p>1. FUN151:MD1, it makes PLC act as the communication sender to link with the intelligent peripherals that equipped with communication interface. <\/p>\n<p>2. A master PLC may connect to multi sets of peripherals that have identical communication protocol through the RS-485 interface. <\/p>\n<p>3. The communication protocol\/format is written with LADDER program, which must be consistent with the linked peripherals. <\/p>\n<p>4. When execution control \u301dEN\u301echanges from 0\u21921 and both inputs \u201cPAU\u201d and \u201cABT\u201d are 0, and if Port 1\/2\/3\/4 \t hasn\u2019t been controlled by other communication instructions [i.e. M1960 (Port1) \u3001 M1962 (Port2) \u3001M1936 \t\t(Port3) \u3001 M1938 (Port4) = 1], this instruction will control the Port 1\/2\/3\/4 immediately and set the M1960\u3001\t\tM1962\u3001M1936\u3001M1938 to be 0 (which means it is being occupied), then going on a packet of data transaction \t\timmediately. If Port 1\/2\/3\/4 has been controlled (M1960\u3001M1962\u3001M1936\u3001M1938 = 0), then this instruction will \t\tenter into the standby status until the controlling communication instruction completes its transaction or \t\tpause\/abort its operation to release the control right (M1960\u3001M1962\u3001M1936\u3001M1938 =1), and then this \t\tinstruction will become enactive, set M1960\u3001M1962\u3001M1936\u3001M1938 to be 0, and going on the data transaction \t\timmediately. <\/p>\n<p>5. During transaction, if the \u201cPAU\u201d input becomes 1, this instruction will pause and release the control right (set M1960\u3001M1962\u3001M1936\u3001M1938 = 1) after it completed the transmission of the on-going data. <\/p>\n<p>6. During transaction, if the \u201cABT\u201d input becomes 1, this instruction will abort the transmission and release the control right immediately (set M1960\/M1962\/M1936\/M1938 = 1). <\/p>\n<p>7. While transaction is going, the output indication \u201cACT\u201d will be ON. <\/p>\n<p>8. When a packet of data transaction is finished (transmission finished or &quot;transmit then receive&quot; completed), if there is error occurred, the output indication \u201cDN\u201d &amp; \u201cERR\u201d will be ON. <\/p>\n<p>9. When a packet of data transaction is finished (transmission finished or &quot;transmit then receive&quot; completed), if there is no error occurred, the output indication \u201cDN\u201d will be ON. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-066.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <br \/>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u3010Interface Signals\u3011<\/p>\n<p>Dedicated Relays and Registers for corresponding port <strong>:<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Comm Port <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 1 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 2 <\/strong><\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p><strong> Port 3 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 4 <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Signals <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>1. Port Ready Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1960 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1962 <\/p>\n<\/td>\n<td>\n<p> M1936 <\/p>\n<\/td>\n<td>\n<p> M1938 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>2. Port Finished Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1961 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1963 <\/p>\n<\/td>\n<td>\n<p> M1937 <\/p>\n<\/td>\n<td>\n<p> M1939 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>3. Port Communication Parameters<\/strong><\/p>\n<\/td>\n<td>\n<p> R4146 <\/p>\n<\/td>\n<td>\n<p> R4158 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4043 <\/p>\n<\/td>\n<td>\n<p> R4044 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>4. TX Delay &amp; RX Time-out Span <\/strong><\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4147 <\/p>\n<\/td>\n<td>\n<p> R4159 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4045 <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4048 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>5. Setting of RX Time-out Span <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4043 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>6. Edge Trigger Execution <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4044 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><strong>1. Port Ready Indicator<\/strong>\uff1aThis signal is generated from CPU. \tON, it represents that port is free and ready.<\/p>\n<p>OFF, it represents that port is busy, data transaction is going.<\/p>\n<p><strong>2.Port Finished Indicator<\/strong>\uff1aThis signal is generated from CPU. \tON, it means data transaction has been completed.<\/p>\n<p><strong>3. Port Communication Parameters :<\/strong><br \/>\t The register is for communication parameters setting of corresponding. port. (please refer to the chapter of communication parameters setting). <\/p>\n<p><strong>4.TX Delay &amp; RX Time-out Span<\/strong>\uff1a<br \/>\t\tThe content of Low Byte defines the receive Time-out span of CLINK instruction; its unit is 0.01 second \t(the default is 50, which means 0.5 second). <\/p>\n<p>The CLINK instruction employs receive Time-out span to judge whether the slave station on line or not. When the master PLC sent out the read\/write command to the slave station, the slave station didn\u2019t reply within this period means that there is abnormal event in communication called Time-out.  When there are multi-drop linking, properly adjust this value (greater than 1 scan time of the slave station with the longest scan time) to shorten the communication response time among the active linking stations if there are many slave stations power off (The time-out cases will happen).<\/p>\n<p>The content of High Byte makes no sense at this mode.<\/p>\n<p><strong>5. Setting of RX Time-out Span: <\/strong>Please refer this chapter, page 13-4~13-5 for details<\/p>\n<p><strong>6. Edge Trigger Execution:<\/strong>Please refer this chapter, page 13-5~13-6 for details <\/p>\n<p>\u203bWhen receiving message without ending code, and if M1956=1, then R4148 high byte of the received Time-out span setting is used to determine whether a data have been received or not, the unit is 0.001 second (default is 0CH, 12mS). <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <br \/>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Program example for loop back test <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> PLC station A sends data to PLC station B (PLC station B sends the received original data back to the PLC station A, loopback test), and checks whether the responding message of PLC station B is the same as its original data that had sent out; therefore, it can do simple test on software and hardware of PLC Port1 whether it is normal and error free. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-067.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"4\">\n<p>FUN151 CLINK <\/p>\n<p>M1924<\/p>\n<\/td>\n<td colspan=\"4\">\n<p>Convenient Instruction of FUN151: MD1 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<p>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>RST<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R   108<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022 Clears the received data length to be 0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>(for &quot;transmit&quot; only, this instruction is not required). <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"9\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<td rowspan=\"30\">\n<p>ACT<\/p>\n<\/td>\n<td rowspan=\"29\">\n<p>Y0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Setting of the operation mode: <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:               1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R        0<\/p>\n<\/td>\n<td>\n<p>\u2022 Set to be &quot;transmit then receive&quot; mode (R0=1) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Set the starting code (02H) and ending code (03H) for <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:      0203H<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>responding message in receiving.  (without starting <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:    R        1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>and ending codes, R1=0 can also receive regularly) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<td>\n<p>\u2022 Packing data to be transmitted: <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2191<\/p>\n<\/td>\n<td>\n<p>EN<\/p>\n<\/td>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:               4<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Set the transmitting data length (R2=N). <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"20\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"6\">\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:    R        2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>\u2022 Fills in the data that is to be transmitted: <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:              2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>\u2022 Fill in data 1 (R3= &#8216; STX &#8216; ) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R       3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p>08.MOV<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>\u2022 Fill in data 2 (R4= &#8216; O &#8216; ) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:          4FH<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:    R        4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>\u2022 Fill in data 3 (R5= &#8216; K &#8216; ) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:          4BH<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:    R        5<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>\u2022 Fill in data 4 (R6= &#8216; ETX &#8216; ) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:               3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R        6<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>151P.CLINK<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Pt<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:          1<\/p>\n<\/td>\n<td>\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"19\">\n<p>M100<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>PAU<\/p>\n<\/td>\n<td>\n<p>MD<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:          1<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>ERR<\/p>\n<\/td>\n<td>\n<p>Y1<\/p>\n<\/td>\n<td rowspan=\"9\">\n<p>\u2022 When selecting &quot;transmit then receive&quot; mode, it <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>SR:        R0 <\/p>\n<\/td>\n<td>\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"3\">\n<p>WR:      R100 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Y2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>ABT<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>DN<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"3\">\n<p>17.CMP<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>M100<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>a=b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>Sa<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:    R    108<\/p>\n<\/td>\n<td rowspan=\"11\">\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>employs the comparing instruction to judge whether <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"7\">\n<p>Sb<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"7\">\n<p>:               0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"7\">\n<p>U\/S<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>a&gt;b<\/p>\n<\/td>\n<td>\n<p>the responding message from the counter partner is <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>received; if it is received, then M100=OFF, and it will <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>process the received data. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>a&lt;b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>(For &quot; transmit&quot; mode, this program is not required) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>66<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>JMP<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-068.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022 The processing program for data received. <\/p>\n<p>\u2022 For details of the data received, please refer to the explanation of following page. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>17.CMP<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>a=b<\/p>\n<\/td>\n<td>\n<p>M101<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>\u2022 Compares the received data length and transmitted <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sa<\/p>\n<\/td>\n<td>\n<p>:    R    108<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>U\/S<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Sb<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>:    R        2<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>a&gt;b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>data length. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>a&lt;b<\/p>\n<p>M101<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>M101<\/p>\n<\/td>\n<td>\n<p>EN<\/p>\n<\/td>\n<td>\n<p>SET<\/p>\n<\/td>\n<td>\n<p>Y       3<\/p>\n<\/td>\n<td>\n<p>\u2022 When the length is inconsistent, it sets up the error <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>66<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>indication. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>JMP<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>08.MOV<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>S<\/p>\n<\/td>\n<td>\n<p>:               0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Clears the pointer V to be 0. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D<\/p>\n<\/td>\n<td>\n<p>:               V<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>70<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"5\">\n<p>FOR<\/p>\n<\/td>\n<td>\n<p>R     2<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>17.CMP<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>a=b<\/p>\n<\/td>\n<td>\n<p>M101<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Compares the consistency of all of the received data <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Sa<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>:    R      3V<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>and transmitted data. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>U\/S<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Sb<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>:    R  109V<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>a&gt;b<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022 Compares the received data and transmitted data <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>one by one. <\/p>\n<p>a&lt;b<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>M101<\/p>\n<\/td>\n<td>\n<p>EN<\/p>\n<\/td>\n<td>\n<p>SET<\/p>\n<\/td>\n<td>\n<p>Y       4<\/p>\n<\/td>\n<td>\n<p>\u2022 When there is a data difference, set up the error <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>indication. <\/p>\n<p>15<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>EN<\/p>\n<\/td>\n<td>\n<p>(+1)<\/p>\n<\/td>\n<td>\n<p>V<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>71<\/p>\n<p>NEXT<\/p>\n<p>65<\/p>\n<p>LBL \t0<\/p>\n<p>\u2022 As the received data processed complete, clears the <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>65<\/p>\n<\/td>\n<td>\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>RST<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>R   108<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>received data length to be 0, and gets ready to receive <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>new data.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>LBL<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <br \/>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Explanation for the operand SR of FUN151: MD1 <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> SR\uff1aStarting register of data transmission table <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"2\">\n<p>SR+3 <\/p>\n<p>SR+4 <\/p>\n<p>SR+5 <\/p>\n<p>SR+6 <\/p>\n<p>\u2024 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Transmit only or <br \/>Transmit then Receive<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Starting &amp; Ending code for receiving<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Length of Transmission<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data 2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data 3 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data 4 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>SR+0 <\/p>\n<p>SR+1 <\/p>\n<p>SR+2 <\/p>\n<p>\u2024 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022Low byte is valid, <\/p>\n<p>=00H, transmit only, no response from the slave device <\/p>\n<p>=01H, transmit then receive the responding data (Receive only without erro<\/p>\n<p>=81H, transmit then receive the responding data (Receive even with <\/p>\n<p>error)<\/p>\n<p>\u2022 High byte : Start of text for receiving. <\/p>\n<p> Low byte : End of text for receiving. <\/p>\n<p>\u2022The maximum length of data to be transmitted is 511<\/p>\n<p>\u2022Low byte is valid<\/p>\n<p>\u2022Low byte is valid<\/p>\n<p>\u2022Low byte is valid<\/p>\n<p>\u2022Low byte is valid<\/p>\n<p>\u2022Low byte is valid<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2024<\/p>\n<\/td>\n<td>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data N <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note 1 <strong>: <\/strong> When selecting the transmit-only mode, the Starting \/Ending code of receiving is meaningless. <\/p>\n<p>2 <strong>: <\/strong> When it is in the &quot;transmit then receive&quot; mode, before the starting of transmission, it must first to estimate the starting and ending code of responding message from communication partner and write them into the receiving starting\/ending code register (e.g. SR+1=0203H, 02H stands for starting code and 03H for ending code), so as to ensure the correct message frame receiving.  The communication protocol with starting\/ending code makes the identifying of every packet of messages easy, and the communication program is simple and efficient. <\/p>\n<p>3 <strong>:<\/strong>  When it is in the &quot;transmit then receive&quot; mode, fills the high byte of starting\/ending code register with 0 if no starting code in responding message; if no ending code in responding message, fills 0 to the low byte of starting\/ending code register.  Adjusts the high byte of R4148 (message detection time interval) to judge whether a packet of data has been received completely; the unit is 0.001 second (the default is 0CH, 12mS). <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD1 <br \/>(Which makes PLC act as the communication sender through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>The communication protocol without ending code depends on message detection time interval to tell whether it has received completely a packet of data (the setting of message detection time interval must be greater than the maximum response delay time between data bytes when communication partner is replying), thus it may ensure the receiving of the whole packet to be complete.  Generally speaking, the data in transmitting is transmitted one byte after another continuously; therefore, if there is pause (greater than message detection time interval), it means the packet of message is transmitted completely.<\/p>\n<p>Explanation for the operand WR of FUN151:MD1 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>High Byte <\/p>\n<\/td>\n<td>\n<p>Low Byte <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>WR+6 <br \/>WR+7 <br \/>WR+8Total amount of data received\u2022 The total amount of data byte being received (the register for received <\/p>\n<p>WR+9<\/p>\n<p>\u2024 <br \/>\u2024 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td>\n<p>0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Data 1 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Data 2 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Data 3 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022 The first byte of data received (if there is the starting code, it is the <\/p>\n<p>\u2022 The second byte of data received; High byte =0. <\/p>\n<p>\u2022 The third byte of data received; High byte =0. <\/p>\n<p>starting code); High byte =0. <\/p>\n<p>data length; it includes the starting and ending code). <\/p>\n<p>\t\tb14=\u301dDN\u301e output indication WR+0 Result code\t\u2022 Result code =0, OK ; = other values, abnormal. <\/p>\n<p>WR+1 \t\u2022 Working registers for CLINK instruction WR+2 <br \/>WR+3 <br \/>WR+4\t\u2022 WR+4 : b0=1, Pending <br \/>\t\tb12=\u301dACT\u301eoutput indication WR+5 <br \/>\t\tb13=\u301dERR\u301eoutput indication <\/p>\n<p>\u2024 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2024 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data N <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<td>\n<p>\u2022 The N_th byte of data received (if there is the ending code, it is the \tending code); High byte =0. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Result code <strong>: <\/strong>0, transaction is successful. <\/p>\n<p>2, data length error (the value is 0, or the packet of transaction is greater than 511) <\/p>\n<p>A, no response from the slave <\/p>\n<p>B, communication abnormal (received error data)<\/p>\n<p>\u25cf Output Indicator <strong>:<\/strong>\u301dACT\u301e ON\uff1aTransaction is in progress <\/p>\n<p>\u301dERR\u301e ON\uff1aError occurred <\/p>\n<p>\u301dDN\u301e  ON\uff1aOne transaction finished <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-069.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-070.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-071.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-072.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-073.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-074.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-075.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-076.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD2 <br \/>(Which makes PLC act as the communication receiver through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-077.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-078.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-079.png\" \/><\/p>\n<\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td colspan=\"5\">\n<p>Pt  <strong>: <\/strong>Assign the port, 1\uff5e4 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td colspan=\"5\" rowspan=\"2\">\n<p>MD <strong>:<\/strong> 2, PLC waiting to receive the message sent by <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\" rowspan=\"2\">\n<p>intelligent peripherals <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-080.png\" \/><\/p>\n<\/td>\n<td rowspan=\"5\"><\/td>\n<td rowspan=\"5\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-081.png\" \/><\/p>\n<\/td>\n<td rowspan=\"5\"><\/td>\n<td rowspan=\"5\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-082.png\" \/><\/p>\n<\/td>\n<td rowspan=\"6\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-083.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-084.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-085.png\" \/><\/p>\n<\/td>\n<td rowspan=\"5\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>SR <strong>:<\/strong> Starting register for data transmission table <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-086.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\"><\/td>\n<td colspan=\"5\">\n<p>WR <strong>:<\/strong> Starting register for instruction operation (see <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>example for explanation).  It controls 8 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"5\">\n<p>registers, the other programs cannot repeat in <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"10\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-087.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-088.png\" \/><\/p>\n<\/td>\n<td rowspan=\"10\"><\/td>\n<td rowspan=\"10\"><\/td>\n<td rowspan=\"10\"><\/td>\n<td><\/td>\n<td><\/td>\n<td rowspan=\"2\">\n<p>HR <\/p>\n<\/td>\n<td colspan=\"5\">\n<p>use. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> Range<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>DR <\/p>\n<\/td>\n<td>\n<p>K <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"3\">\n<p>Operand <\/p>\n<\/td>\n<td>\n<p>R0 <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>R5000<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u2223<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>R3839 <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>R8071<\/p>\n<\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p>D3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"2\">\n<p> Pt <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>1~4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> MD <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"5\">\n<p>2 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> SR <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> WR  <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td>\n<p>\u25cb* <\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Descriptions <\/p>\n<p>1. \tFUN151 <strong>: <\/strong>MD2 instruction provides Fatek PLC with ability to receive message sent by peripherals with <\/p>\n<p>communication interface at any time. <\/p>\n<p>2. \tThe communication protocol is written with LADDER program, which must be consistent to the peripheral <\/p>\n<p>device. <\/p>\n<p>3. \tWhen execution control \u301dEN\u301echanges from 0\u21921 and both inputs \u201cPAU\u201d and \u201cABT\u201d are 0, and if Port 1\/2\/3\/4 <\/p>\n<p>hasn\u2019t been controlled by other communication instructions [i.e. M1960 (Port1) \u3001 M1962 (Port2) \u3001 M1936 <\/p>\n<p>(Port3) \u3001 M1938 (Port4) = 1], this instruction will control the Port 1\/2\/3\/4 immediately and set the M1960\u3001<\/p>\n<p>M1962\u3001M1936\u3001M1938 to be 0 (which means it is being occupied). If Port 1\/2\/3\/4 has been controlled <\/p>\n<p>(M1960\u3001M1962\u3001M1936\u3001M1938 = 0), then this instruction will enter into the standby status until the <\/p>\n<p>controlling communication instruction completes its transaction or pause\/abort its operation to release the <\/p>\n<p>control right, and then this instruction will become enactive. <\/p>\n<p>4. \tWhen the input \u201cPAU\u201d or \u201cABT\u201d becomes 1, it gives up the receiving immediately (M1960\u3001M1962\u3001M1936\u3001<\/p>\n<p>M1938 = 1). <\/p>\n<p>5. \tWhile it is in the receiving state, the output indication \u201cACT\u201d is ON. <\/p>\n<p>6. \tWhen a packet of data transaction finished (receive finished or receive then transmit completed), if there is <\/p>\n<p>error occurred, the output indication \u201cDN\u201d &amp; \u201cERR\u201d will be ON for one scan time. <\/p>\n<p>7. \tWhen a packet of data transaction finished (receive finished or receive then transmit completed), if there is <\/p>\n<p>no error occurred, the output indication \u201cDN\u201d will be ON for one scan time. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-089.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD2 <br \/>(Which makes PLC act as the communication receiver through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u3010Interface Signals\u3011<\/p>\n<p>Dedicated Relays and Registers for corresponding port <strong>:<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Comm Port <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 1 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 2 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 3 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 4 <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Signals <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>1. Port Ready Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1960 <\/p>\n<\/td>\n<td>\n<p> M1962 <\/p>\n<\/td>\n<td>\n<p> M1936 <\/p>\n<\/td>\n<td>\n<p> M1938 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>2. Port Finished Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1961 <\/p>\n<\/td>\n<td>\n<p> M1963 <\/p>\n<\/td>\n<td>\n<p> M1937 <\/p>\n<\/td>\n<td>\n<p> M1939 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>3. Port Communication Parameters<\/strong><\/p>\n<\/td>\n<td>\n<p> R4146 <\/p>\n<\/td>\n<td>\n<p> R4158 <\/p>\n<\/td>\n<td>\n<p> R4043 <\/p>\n<\/td>\n<td>\n<p> R4044 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>4. TX Delay &amp; RX Time-out Span <\/strong><\/p>\n<\/td>\n<td>\n<p> R4147 <\/p>\n<\/td>\n<td>\n<p> R4159 <\/p>\n<\/td>\n<td>\n<p> R4045 <\/p>\n<\/td>\n<td>\n<p> R4048 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><strong>1. Port Ready Indicator<\/strong>\uff1aThis signal is generated from CPU. \tON, it represents that port is free and ready.<\/p>\n<p>OFF, it represents that port is busy, data transaction is going.<\/p>\n<p><strong>2.Port Finished Indicator<\/strong>\uff1aThis signal is generated from CPU. \tON, it means data transaction has been completed. <\/p>\n<p><strong>3. Port Communication Parameters :<\/strong><br \/>\t The register is for communication parameters setting of corresponding. port. (please refer to the chapter of communication parameters setting). <\/p>\n<p><strong>4.TX Delay &amp; RX Time-out Span<\/strong>\uff1a<br \/>\t The Low Byte defines the Time-out span of FUN151:MD2 instruction; its unit is 0.01 second (the default is 32H).  When the PLC received the message and must respond to it (receive then transmit mode), but the LADDER program is unable to process and send out the responding message during this period of time, the CPU will give up response this time and automatically restore back to receiving state.  When FUN151:MD2 is set to be &quot;receive only&quot; mode, this value is meaningless.<\/p>\n<p> The content of High Byte makes no sense at this mode. <\/p>\n<p>Note 1 <strong>:<\/strong> Once FUN151 <strong>: <\/strong>MD2 activated, it will stay in receiving state all the time; unless the input signal of PAU\u201d or \u201cABT\u201d becomes ON, then it will escape from receiving state and stop receiving and waiting for next time it will be activated again. <\/p>\n<p> 2 <strong>: <\/strong>When there is change on Starting\/Ending code for receiving, it must make the input signal of PAU\u201d or \u201cABT\u201d  \t becomes ON once, and re-activate the receive control \u201cEN\u201d from 0\u21921 to start message receiving <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-090.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD2 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>(Which makes PLC act as the communication receiver through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Program example for loop back reply (This PLC station sends back the received data to the master, which <\/p>\n<p> had sent out the data) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"11\">\n<p>M1924<\/p>\n<\/td>\n<td>\n<p>EN<\/p>\n<\/td>\n<td>\n<p>RST<\/p>\n<\/td>\n<td>\n<p>R   108<\/p>\n<\/td>\n<td>\n<p>Clears the received data length to be 0. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>RST<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R       2<\/p>\n<\/td>\n<td>\n<p>\u2022 Clears the transmitted data length to be 0. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>(for &#8221;receive&#8217; only, this program is not required). <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>08.MOV<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Sets up the operation mode: <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td>\n<p>:               1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<td>\n<p>:    R        0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 Sets \u201creceive then transmit\u201d mode. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>08.MOV<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u2022 Sets up the starting code (02H) and ending code <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>S<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>:      0203H<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>(03H) (R1=0, it will receive regularly even without the <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D<\/p>\n<\/td>\n<td>\n<p>:    R        1<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>starting and ending code) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>151P.CLINK<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>ACT<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Y0 <br \/>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Pt<\/p>\n<\/td>\n<td>\n<p>:          1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>M2<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>PAU<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>MD<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>:          2<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>Y1 <br \/>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>ERR<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR<\/p>\n<\/td>\n<td>\n<p>:        R0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>WR<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>:      R100 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>Y2 <br \/>(   )<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2191<\/p>\n<\/td>\n<td>\n<p>ABT<\/p>\n<\/td>\n<td>\n<p>DN<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Y2<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>RST<\/p>\n<\/td>\n<td>\n<p>R       2<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>a=b<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>M100 <br \/>(   )<\/p>\n<\/td>\n<td>\n<p>\u2022 When transmission complete, clears the transmitted <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>17.CMP<\/p>\n<\/td>\n<td>\n<p>data length to be 0 (for &quot;receive&quot; only mode, this <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sa<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R    108<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>instruction is not needed) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>U\/S<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Sb<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>:              0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>a&gt;b<\/p>\n<\/td>\n<td>\n<p>\u2022 While selecting &quot;receive then transmit&quot; mode, it employs <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>the comparing instruction to tell whether a new packet of a&lt;b message is received; if it is, the M100=OFF and it will process the received data. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>M100<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>66<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>JMP<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>103.BT_M<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>Ts<\/p>\n<\/td>\n<td>\n<p>:    R    109<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Td<\/p>\n<\/td>\n<td>\n<p>:    R        3<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>L<\/p>\n<\/td>\n<td>\n<p>:    R    108<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022 Copy all of the received data to responding registers. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>08.MOV<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 R108 is the length of received data. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R    108<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>:    R        2<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022 After the received data processed, fills the received data <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>RST<\/p>\n<\/td>\n<td>\n<p>R   108<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>length to be the sending back data length to start the <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>65<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>1<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>responding transmission. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>LBL<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022 Clears the received data length to be 0 <\/p>\n<p> (ready to receive new data).<\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD2 <br \/>(Which makes PLC act as the communication receiver through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> Explanation for the operand SR of FUN151: MD2 <\/p>\n<p>SR <strong>:<\/strong> Starting register of data reply table <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"4\">\n<p>SR+0 <\/p>\n<\/td>\n<td rowspan=\"12\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Receive only or <br \/>Receive then Transmit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Starting\/Ending code of receiving<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Length of reply data<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Reply data 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Reply data 2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<td>\n<p>\u2022 Low Byte is valid, <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>=00H, Receive only without error, no response from the PLC <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>=01H, Receive only without error, then reply from the PLC <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>=80H, Receive even with error, no response from the PLC <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>SR+1 <\/p>\n<\/td>\n<td>\n<p>=81H, Receive even with error, then reply from the PLC <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022 High Byte : Describing the starting code of receiving <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Low Byte : Describing the ending code of receiving. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022 Maximum of length is 511. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>SR+4 <\/p>\n<\/td>\n<td>\n<p>It will start to transmit the reply data as long as the length is not 0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022Low Byte is valid<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u2022Low Byte is valid<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Reply data N<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022Low Byte is valid<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note 1 <strong>: <\/strong> When selecting the &quot;receive only&quot; mode, CPU fills the received data into the receiving registers and set the length after it has received a packet of message, and starts to receive the next packet of message immediately. <\/p>\n<p>2 <strong>:  <\/strong>When selecting the &quot;receive then transmit&quot; mode, CPU fills the received data into the receiving registers and set the length after it has received a packet of message; then it starts to wait for the reply data length which is not zero to start transmitting reply data (therefore when select this mode, it must control the reply data length to be zero before the reply data completely filled into the reply registers; when the reply data fills into the reply registers finished, it may then set the length of reply data). <\/p>\n<p>3 <strong>: <\/strong> It must fills the starting code and ending code into the starting\/ending code register before the starting of receiving (e.g. SR+1=0A0DH, 0AH stands for starting code and 0DH for ending code), so as to ensure it to be free from receiving error. <\/p>\n<p>The communication protocol with starting\/ending code makes the identifying of every packet of messages easy, and the communication program is simple and efficient. <\/p>\n<p>4 <strong>: <\/strong> If the receiving message without starting code, fills the high byte of starting\/ending code with 0; if the receiving message without ending code, fills the low byte of starting\/ending code with 0.  Adjusting High Byte of R4148 (new message detection time interval) to detect whether a packet of message has been received completely, the unit is 0.001 second (default is 0CH, 12 mS). The communication protocol without ending code depends on new message detection time interval to tell whether it has received completely for a packet of data (the setting of new message detection time interval must be greater than the maximum delay time between data bytes to be received), thus it may ensure the receiving of the whole packet to be completed.  Generally speaking, the data in transmitting is transmitted one byte after another continuously; therefore, if there is pause (greater than new message detection time interval), it means that the packet of message is transmitted completely. <\/p>\n<p>5 <strong>: <\/strong> When selecting &quot;receive only&quot; mode, if the receiving message has no ending code, the interval between every packet of data sent by the sender must be greater than the receiver\u2019s new message detection time interval, otherwise the receiver won\u2019t be able to distinguish between each packet of data correctly. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD2 <br \/>(Which makes PLC act as the communication receiver through Port 1~4)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> Explanation for the operand WR of FUN151:MD2 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"2\">\n<p>High Byte <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>Low Byte <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<p>WR+6 <br \/>WR+7 <br \/>WR+8 Total amount of data received\u2022The total amount of data byte being received (the register for received <\/p>\n<p>WR+9 <\/p>\n<p>\u2027 <br \/>\u2027<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td>\n<p>0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Data 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Data 2<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022The first byte of data received (if there is the starting code, it is the <\/p>\n<p>\u2022The second byte of data received; High byte =0.<\/p>\n<p>starting code); High byte =0.<\/p>\n<p>data length; it includes the starting and ending code).<\/p>\n<p>\t\tb14=\u301dDN\u301e output indication WR+0 Result code \tResult code =0, OK ; = other values, abnormal.<\/p>\n<p>WR+1 \t\u2022 Working registers for CLINK instruction WR+2 <br \/>WR+3 <br \/>WR+4 \t\u2022  WR+4 :  b0=1, Pending <br \/>\t\t\tb12=\u301dACT\u301eoutput indication WR+5 <br \/>\t\t\tb13=\u301dERR\u301eoutput indication <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027 <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>Data N<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022The N_th byte of data received (if there is the ending code, it is the <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> \u2027<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>ending code); High byte =0.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note <strong>:<\/strong> When CPU received a packet of message, it filled the data to receiving registers and set up the received data length.  Before the LADDER program starts to receive, you may clear the register of received data length to be 0; it means the receiving of a new packet of message when compared and found that the received data length is not zero.  After the LADDER program gets the received data, it clears the received data length register to be 0.  Just compare to see the received data length register is not zero means the receiving of a packet of new message, and so it may easily to process the receiving action. <\/p>\n<p>Result code<strong> :<\/strong>  0, data transaction is successful. <\/p>\n<p> 2, the data length is error (the value is 0, or the transaction is greater than 511)  A, unable to reply message within Time-out span (&quot;receive then transmit&quot; mode). <\/p>\n<p> B, communication abnormal (received error data) <\/p>\n<p> Output indication <strong>:<\/strong><br \/>\t\t\u201cACT\u201d ON :  In receiving state <br \/>\t\t\u201cERR\u201d ON :  Error occurred in previous packet of transaction, it will be ON for a scan time \t \u201cDN\u201d ON :  The previous packet of transaction completed without error, ON for a scan time.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-091.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-092.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-093.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-094.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-095.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-096.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-097.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-098.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-099.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-100.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD3 <br \/>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-101.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-102.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-103.png\" \/><\/p>\n<\/td>\n<td>\n<p>Pt <strong>:<\/strong> Only port 2 is valid <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>MD <strong>: <\/strong>3, serves as the master station of Fatek High <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<td colspan=\"5\">\n<p>Speed CPU Link network <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-104.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-105.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\"><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-106.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-107.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<td colspan=\"5\">\n<p>SR <strong>: <\/strong>Starting register of communication program <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"5\">\n<p> (see example for its explanation)  <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-108.png\" \/><\/p>\n<\/td>\n<td rowspan=\"12\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-109.png\" \/><\/p>\n<\/td>\n<td rowspan=\"12\"><\/td>\n<td rowspan=\"12\"><\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-110.png\" \/><\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>HR <\/p>\n<\/td>\n<td colspan=\"5\">\n<p> WR\uff1aStarting register for instruction operation (see <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"11\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-111.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-112.png\" \/><\/p>\n<\/td>\n<td colspan=\"5\">\n<p>example for its explanation). It controls 8 registers, <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>the other programs can not repeat in using.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p> Range<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>DR <\/p>\n<\/td>\n<td>\n<p>K <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R0 <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>R5000<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>Operand <\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u2223<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>R3839 <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>R8071<\/p>\n<\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p>D3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p> Pt <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>1~4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> MD <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"5\">\n<p>3 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> SR <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p> WR  <\/p>\n<\/td>\n<td>\n<p>\u25cb <\/p>\n<\/td>\n<td>\n<p>\u25cb* <\/p>\n<\/td>\n<td colspan=\"4\">\n<p>\u25cb <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Descriptions<\/p>\n<p>1.  FUN151 <strong>:<\/strong> MD3, it provides high speed data sharing between Fatek&#8217;s PLC (data response time will not be \tinfluenced by the scan time of PLC). <\/p>\n<p>2. A master PLC can link with 254 slave PLCs at the most to share data through the RS-485 interface. <\/p>\n<p>3.  FUN151 <strong>:<\/strong> MD3 is required only by master PLC, not by the slave PLC. <\/p>\n<p>4.  The station number of master PLC must be No.1, or it should be assigned by R4054 register if which is not \tNo.1 but need to be as the master. <\/p>\n<p>5. The setting of M1958 for slave PLC must be ON (M1958 OFF is for non-high speed link), but it\u2019s not necessary \tfor master PLC. <\/p>\n<p>6. In high speed linking, the maximum Baud Rate is 921.6K bps and minimum is 38.4K bps (adjustable); the data bit is fixed at 8 Bits.  Data is transmitted with binary code (which is twice time as fast as ASCII Code), and the error checking is adopting CRC-16, which is more reliable than Checksum. <\/p>\n<p>7. The principle of high speed linking data transmission is based upon the COMMON DATA MEMORY concept to design; e.g. as the master PLC sent out the content of R0 to R31, .the contents of R0\uff5eR31 for all the slave PLCs will be the same as the master\u2019s; when slave PLC no.2 sent out the contents of R32\uff5eR47, the R32\uff5eR47 contents of master PLC and other slave PLCs will be the same as PLC station no.2\u2019s, etc. <\/p>\n<p>8. When PLC is in STOP mode, the Port 2 enters into the standard interface mode that it can connect to \tWinProladder, MMI, or graphic supervisor (the communication parameter is set by R4158). <\/p>\n<p>9. It employs the program coding or table filling method to plan for data flow control; i.e. for what kind of data being sent from which PLC station to all the PLC on line, it takes only 7 registers (5 of which is being physically used, and 2 reserved) to define; every 7 registers define once communication transaction. <\/p>\n<p>10. When execution control \u201cEN\u201d changes from 0\u21921 and both pause \u201cPAU\u201d and abort \u201cABT\u201d are 0, this instruction will control Port 2 and set M1962 to be \u201c0\u201d (being controlled) and processing the data transaction immediately, suppose the Port 2 is not controlled by other communication instruction (M1962=1).  If Port 2 is being controlled (M1962=0), this instruction will enter into wait state until the controlling instruction completes the transmission or pause\/abort the operation to release the control right (M1962=1); then it enacts from wait state, engages in the transmitting transaction and sets M1962 to be \u201c0\u201d. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD3 <br \/>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>11. When pause \u201cPAU\u201d or abort \u201cABT\u201d of input is 1, it  escapes from high speed data link immediately (M1962 \tON). <\/p>\n<p>12. Within the high speed linking, the output indication \u201cACT\u201d is ON; Port 2 is occupied. <\/p>\n<p>13.When there is error occurred while it is starting the high speed linking, the output indication \u201cERR\u201d will be ON, \tand the high speed linking will not be performed. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>\u3010Interface signals\u3011<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>M1958 <strong>:<\/strong> While in the PLC high speed data linking, slave PLC must set M1958 ON (not necessary for master PLC) <br \/>For non high speed data linking of PLC, the slave PLC must set M1958 OFF. <\/p>\n<p>M1962 <strong>:<\/strong> The signal is generated from CPU. <br \/>ON represents the Port 2 is available. <br \/>OFF represents the Port 2 is occupied. <\/p>\n<p>M1963 <strong>: <\/strong>The signal is generated from CPU. <\/p>\n<p>When M1967 is ON (this signal is controlled by the user program) and after the last packet of communication transaction is completed, the CPU sets M1962 and M1963 ON, and the high speed data transmission will be stopped; it must control \u201cABT\u201d (transmission abort) to be ON, and then restart execution control \u201cEN\u2191\u201d to change from 0\u21921 before the high speed linking can restart. <\/p>\n<p>When M1967 is OFF (this signal is controlled by the user program), the high speed data transmission will automatically restart a new transmission from the first packet of communication transaction (M1962 and M1963 is keeping OFF state) after the last packet of communication transaction is completed. <\/p>\n<p>M1967 <strong>: <\/strong>One-time or cycling control (controlled by the user program) <br \/>\tON, one cycle, it will stop after the last packet of data transaction is performed completely. <\/p>\n<p>OFF, successive cycles, it will restart from first packet of transaction when it has finished the last packet of transaction. <\/p>\n<p>R4054 <strong>:<\/strong> It assigns the PLC station which is not no.1 to act as the master of high speed linking. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>R4054 <\/p>\n<\/td>\n<td>\n<p>High byte <\/p>\n<\/td>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>H <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>55 <\/p>\n<\/td>\n<td>\n<p>Station number.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>When the station number of the PLC is not number 1, fills its station number (low byte of R4055 stores the station number) into the low byte of R4054 and writes to high byte of R4054 with 55H, and then controls the execution control input \u201cEN\u2191\u201d from 0\u21921; even though the PLC station which is not no.1, it can still be the master station for high speed linking. <\/p>\n<p>R4055 <strong>: <\/strong>When high byte of R4055 is not 55H,Low byte of R4055 shows the station number of PLC. \t When high byte of R4055 is 55H,Low byte of R4055 defines the station number of PLC. <\/p>\n<p>R4058  <strong>:<\/strong> Showing the station number of slave PLC which is abnormal while high speed linking (0: Represents normal; if many slave PLC were abnormal in the mean time, it is possible to see only one number; after the debugging of abnormal and clear R4058 to be 0 until the value of R4058 keeping to be 0, it will then network works normal).  In communication transaction program or table, it must exist the case for slave station to send data to other stations then can the master PLC detect whether the slave station is online without error; if in the communication transaction program or table, there is only the master station sending data to slave stations, the master PLC can\u2019t detect whether slave PLC is on line without error. <\/p>\n<p>The user must employ programming skill to add abnormal detecting program to the master PLC and <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-113.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD3 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> slave PLC to do the error checking (as a matter of fact, the program is very simple; just makes the PLC, which is sending data, to create an ON\u2194OFF variation signal.  Once the receiving PLC does not detect the ON\u2194OFF variation signal in a period of time, it means that there is communication error).<\/p>\n<p>R4059 <strong>:<\/strong>    Error logging of abnormal slave PLC while high speed linking. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>R4059 <\/p>\n<\/td>\n<td>\n<p>High byte <\/p>\n<\/td>\n<td>\n<p>Low byte <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>H<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Abnormal code <\/p>\n<\/td>\n<td>\n<p>Abnormal count <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Low byte <strong>:<\/strong> Abnormal count summation <\/p>\n<p> High byte <strong>: <\/strong>Abnormal code <br \/> OAH, No response from slave station <br \/> OBH, Error data  <br \/> 01H, Framing Error <br \/> 02H, Over Run Error <br \/> 04H, Parity Error <br \/> 08H, CRC error <\/p>\n<p> Explanation for the checking method for abnormal communication is the same as that for R4058. <\/p>\n<p>R4160 <strong>:<\/strong> Port 2 Rx\/Tx Time-out setting (in high speed linking).  The system will base on the setting of R4161 communication parameter to produce pertaining set point if high byte of R4160 is not 56H, the user need not to set it. If high byte of R4160 is 56H, the low byte of R4160 is reserved for manual setting. <\/p>\n<p>R4161 <strong>:<\/strong> Communication parameter setting register for Port 2 High Speed CPU Link.<\/p>\n<p> Program example 1 (PLC no. 1 serves as the master of high speed data linking) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>M1963M1967<\/p>\n<\/td>\n<td>\n<p>M100<\/p>\n<\/td>\n<td>\n<p>\u2022  Planning R5000\uff5eR5199 to be ROR, the <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>communication program will be stored together <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>151P.CLINK<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>ACT<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M1<\/p>\n<\/td>\n<td>\n<p>with LADDER program. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Pt :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>2<\/p>\n<\/td>\n<td>\n<p>\u2022  When M1967 is ON, performs one cycle <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>M100<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>PAU<\/p>\n<\/td>\n<td>\n<p>MD:<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>3<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>ERR<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>M2<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>transmission.  It must start the abortion, then <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR:<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>R5000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>restart M0 before it can perform high speed data <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>WR:<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R100<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>ABT<\/p>\n<\/td>\n<td>\n<p>DN<\/p>\n<\/td>\n<td>\n<p>link again.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-114.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD3 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Program example 2 (PLC which station number is not no.1 serves as the master of high speed data linking.) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"4\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>18.AND<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>D=0<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>\u2022 Get PLC station number and write it into R4054 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sa :<\/p>\n<\/td>\n<td>\n<p>R4055<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sb :<\/p>\n<\/td>\n<td>\n<p>00FFH<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D  :<\/p>\n<\/td>\n<td>\n<p>R4054<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>19.OR<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"8\">\n<p>M0<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>Sa :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>R4055<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>D=0<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>M2<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>\u2022  Set the high byte for R4054 to be 55H <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sb :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>5500H<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>D  :<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>R4054<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u2022  Planning R5000\uff5eR5199 to be ROR, the <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>151P.CLINK<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>Pt :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>2<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>ACT<\/p>\n<\/td>\n<td rowspan=\"8\">\n<p>M3<\/p>\n<\/td>\n<td>\n<p>communication program will be stored together <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>MD:<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p>3<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>with LADDER program. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>PAU<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>ERR<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"5\">\n<p>M1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR:<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>R5000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u2022  When ABT is not controlled, M1 instruction needs <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>WR:<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R100<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>ABT<\/p>\n<\/td>\n<td>\n<p>DN<\/p>\n<\/td>\n<td>\n<p>not to input.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Program example 3  <\/p>\n<p>\tThe same machine sets or equipments (with same LADDER program) perform multi-station data collection or distributed control through RS-485 high speed linking. <\/p>\n<p> The principle for high speed data linking is based on COMMON DATA MEMORY concept to design; while designing, it must devise a successive data block and evenly distributed to respective PLCs to do data exchange among PLCs.  e.g.: <\/p>\n<p> R1000\uff5eR1031<strong>: <\/strong>The data block of PLC no. 1 (through high speed linking, the other PLCs\u2019 content of \tR1000\uff5eR1031 become the same as that of PLC no.1). <\/p>\n<p> R1032\uff5eR1063: The data block of PLC no. 2 (through high speed linking, the other PLCs\u2019 content of R1032\uff5eR1063 become the same as that of PLC no.2). <\/p>\n<p>\u2022\t\u2022<\/p>\n<p>\u2022\t\u2022<\/p>\n<p>\t\t\u2022\t\u2022<br \/>\t For example, get the production data (stored at R0\uff5eR31) from each machine set, and collectively gathering R1000\uff5eR1639 (suppose there are 20 sets linking) stored in master PLC through RS-485 high speed data linking; it needs merely the master PLC of high speed linking to connect to MMI or graphic supervisor, then it can monitor and store, for follow up processing, the production data of respective machine sets with real time effect. <\/p>\n<p>Note <strong>: <\/strong>If it is simply for data collection and monitoring and no need to do real time control, employs the FUN151: MD0 can easily and concisely accomplish the assignment; when requiring real time control or supervisoring , it must employ FUN151: MD3 to accomplish a speedy, precisely controlling demand.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-115.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"19\">\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td colspan=\"5\">\n<p>Convenient Instruction of FUN151: MD3 <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>18.AND<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>D=0<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022Get PLC station number and write it in pointer Z <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Sa :<\/p>\n<\/td>\n<td>\n<p>R4055<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Sb :<\/p>\n<\/td>\n<td colspan=\"4\">\n<p>00FFH<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>D  :<\/p>\n<\/td>\n<td colspan=\"4\">\n<p>Z<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>16<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Z<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>UDF<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022Station number deducts 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>(-1)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"6\">\n<p>13.(*)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>EN<\/p>\n<\/td>\n<td>\n<p>Sa :<\/p>\n<\/td>\n<td>\n<p>R  2000<\/p>\n<\/td>\n<td>\n<p>D=0<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022R2000 = Length of data to be sent from each station (e.g. 32)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>Sb :<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Z<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>D&lt;0<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022data length * (station number\u22121): <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>Directing to the apportioned data block of this station.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>D  :<\/p>\n<\/td>\n<td>\n<p>Z<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>EN<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>103.BT_M<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>\u2022Move production data from respective stations to the <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Ts :<\/p>\n<\/td>\n<td>\n<p>R    0<\/p>\n<\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p>apportioned data block of respective stations, and <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>Td :<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R  1000Z<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"2\">\n<p>transmitting it to all other PLCs on line through high speed <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>D  :<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>R  2000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>data linking.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Explanation for operand SR of FUN151: MD3 <\/p>\n<p> SR\uff1aStarting register for communication program of CLINK instruction <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>SR+0 <\/p>\n<\/td>\n<td>\n<p>Packets of data <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid.  A packet of transmission demands 7 registers <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>transaction<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>to describe; i.e. 7 registers define a packet of data.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>SR+1 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Station number to transmit<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022Low Byte is valid. 1\uff5e254<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>Command code<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+2 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, it can only be 4 (high speed linking command).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+3 <\/p>\n<\/td>\n<td>\n<p>Length of this packet of <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022 Low Byte is valid. 1\uff5e32, defines the data length of one <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>data<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>transaction.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+4 <\/p>\n<\/td>\n<td>\n<p>Data type<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022 Low Byte is valid.  12\uff1dR; 13\uff1dD.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+5 <\/p>\n<\/td>\n<td>\n<p>Data starting reference<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Word is valid.  Defines starting number of working data.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+6 <\/p>\n<\/td>\n<td>\n<p>Reserved<\/p>\n<\/td>\n<td>\n<p>\u2022Code for data type <\/p>\n<\/td>\n<td>\n<p>Data starting reference <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+7 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Reserved<\/p>\n<\/td>\n<td>\n<p>12: R data register <\/p>\n<\/td>\n<td>\n<p>0\uff5e3839 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>13: D data register <\/p>\n<\/td>\n<td>\n<p>0\uff5e3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+8 <\/p>\n<\/td>\n<td>\n<p>Station number to transmit<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"7\">\n<p>Describing for the 2_nd packet of transaction<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+9 <\/p>\n<\/td>\n<td>\n<p>04 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027<\/p>\n<\/td>\n<td>\n<p>Length of data<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027<\/p>\n<\/td>\n<td>\n<p>Data type<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027<\/p>\n<\/td>\n<td>\n<p>Data starting reference<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027<\/p>\n<\/td>\n<td>\n<p>Reserved<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2027<\/p>\n<\/td>\n<td>\n<p>Reserved<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction of FUN151: MD3 <br \/>( PLC serve as the master of \u201cFatek high speed CPU Link network\u201d through Port2)<\/p>\n<\/td>\n<td>\n<p>FUN151 CLINK <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Explanation for operand WR of FUN151:MD3 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>High Byte <\/p>\n<\/td>\n<td>\n<p>Low Byte <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR+0 <br \/>WR+1 <\/p>\n<\/td>\n<td colspan=\"2\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Result code<\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR+7 <\/p>\n<\/td>\n<td colspan=\"2\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\n<p>For internal operation<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Result code<strong> :<\/strong>  0 <strong>:<\/strong> Correct format <br \/> 2 <strong>: <\/strong>Data length error (Length is 0 or greater than 32)  3 <strong>:<\/strong> Command code error (Command is not equal to 4)  4 <strong>:<\/strong> Data type error (Data type is not 12 nor 13) <br \/> 5 <strong>: <\/strong>Data reference error<\/p>\n<p>\u25cf For easy programming and trouble shooting, the WinProladder provides the table editing environment to edit the communication table of FUN151 instruction; Key in the complete FUN151 instruction first and then move the cursor to the position of it, depressing the &quot;Z&quot; key, now comes the table editing environment. The user can create the new communication table or display the existed table under this friendly user interface operation. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Communication Table for FUN151:MD3 <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u203b Only Port 2 is valid for FUN151\uff1aMD 3<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Sequence No. <\/p>\n<\/td>\n<td>\n<p>Command <\/p>\n<\/td>\n<td>\n<p>Station No. <\/p>\n<\/td>\n<td>\n<p>Data <\/p>\n<\/td>\n<td>\n<p>All Station <\/p>\n<\/td>\n<td>\n<p>Length <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0\uff5ennn <\/p>\n<\/td>\n<td>\n<p>High Speed Link ( =4 ) <\/p>\n<\/td>\n<td>\n<p>Station number to transmit the data <\/p>\n<p> 1\uff5e254 <\/p>\n<\/td>\n<td>\n<p>The data will be transmitted <\/p>\n<p>R0\uff5eR3839 D0\uff5eD3999 <\/p>\n<\/td>\n<td>\n<p>The data <br \/>will be received <\/p>\n<p>R0\uff5eR3839 D0\uff5eD3999 <\/p>\n<\/td>\n<td>\n<p>Data length of this transaction <\/p>\n<p>1\uff5e32 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-116.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>CPU Link by Way of Port 1 to Connect to Modem <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u25cf  PLC can connect to MODEM through communication port 1, and by way of telecommunication network to link \t and share data with remote PLC.  Its application is as follows <strong>:<\/strong><\/p>\n<p>\uff0ePerform automatic data collection from the remote end.<\/p>\n<p>\uff0eAutomatically report for alarm and abnormal conditions.<\/p>\n<p>\uff0eAssociate with current available graphic supervisor software or MMI etc. standard products to constitute a wide area network automatic monitoring system. It doesn\u2019t need to develop specific designing, so as to reduce the development risk and time limit.<\/p>\n<p>\u25cf  Hardware configuration, and setting<strong> :<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SCADA<\/p>\n<\/td>\n<td>\n<p>\uff08Data collection PLC\uff09<\/p>\n<\/td>\n<td>\n<p>M<\/p>\n<\/td>\n<td>\n<p>M<\/p>\n<\/td>\n<td>\n<p>\uff08Data reply PLC\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>or<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>FBS-PLC<\/p>\n<\/td>\n<td>\n<p>O<\/p>\n<\/td>\n<td>\n<p>O<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>FBS-PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>MMI<\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>or<\/p>\n<\/td>\n<td>\n<p>E<\/p>\n<\/td>\n<td>\n<p>E<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>M<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>WinProladder<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Data collecting PLC <strong>: <\/strong><br \/>\uff0eDon\u2019t need to store phone number within the CPU <\/p>\n<p>\uff0eHigh Byte of R4149 = 55H (MODEM function) Data reply PLC<strong> :<\/strong><\/p>\n<p>\uff08Data reply PLC\uff09<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>\uff0eHigh Byte of R4149 = 55H (MODEM function) <\/p>\n<\/td>\n<td>\n<p>M<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>FBS-PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\uff0eR4140\uff5eR4145 sets the phone number for general data <\/p>\n<\/td>\n<td>\n<p>O<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>collecting PLC end (extension phone function allowed). <\/p>\n<\/td>\n<td>\n<p>D<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>E<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> e.g. Phone number is 02-28082192, then <\/p>\n<\/td>\n<td>\n<p>M<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>R4140=8220H, R4141=1280H, and R4142=0E29H. <\/p>\n<p>\tIf phone number is <strong>:<\/strong> 02-28082192 ext 100, then R4140=2A20H, R4141=2808H, R4142=A291H, R4143=AAAAH, R4144=001AH, R4145=000EH.<\/p>\n<p>\uff0eExplanation: R4140\uff5eR4145 is telephone number register for dialing; <br \/>\u201cE\u201d is the ending character of phone number; \u201cA\u201d is the dial delaying character (usually the dialing of extension number or international long distance call can be reached by making use of dial delaying, the delayed time for a delaying character is based on MODEM setting, which is about 2 second).  \u201cB\u201d stands for \u201c#\u201d character, and \u201cC\u201d stands for \u201c*\u201d character. <\/p>\n<p>\uff0eIt employs CLINK (FUN151:MD0) instruction to write data to the general data collecting PLC or to read data \tfrom general data collecting PLC (refer to FUN151:MD0 Instruction user guide).<\/p>\n<p>*** The maximum communication Baud Rate can reach 115200 bps (both of the communication ends must be \t\tconsistent in setting) <br \/>\t\uff0eLet the communication parameters be 8-bit and Non-parity will be better for almost Modem <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-117.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>CPU Link by Way of Port 1 to Connect to Modem <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\uff0eThe wiring of PLC communication port1 and MODEM\uff1a<br \/>\tFatek PLC \uff08DB-9\uff09                MODEM \uff08DB-25\uff09<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"2\" rowspan=\"4\">\n<p>PIN 3\uff1aRXD \u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192PIN 2\uff1aTXD \u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192PIN 8\uff1aRTS \u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192PIN 7\uff1aCTS \u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192<\/p>\n<\/td>\n<td>\n<p>TXD <\/p>\n<\/td>\n<td>\n<p>\uff08PIN_3\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>RXD \uff08PIN_2\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CTS <\/p>\n<\/td>\n<td>\n<p>\uff08PIN_4\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>RTS <\/p>\n<\/td>\n<td>\n<p>\uff08PIN_5\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>PIN 5\uff1aSG <\/p>\n<\/td>\n<td>\n<p>\u2190\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192<\/p>\n<\/td>\n<td>\n<p>SG <\/p>\n<\/td>\n<td>\n<p>\uff08PIN_7\uff09<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>\u250c\u2500\u2500<br \/>\u2502<br \/>\u2514\u2500\u2500<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>DSR \uff08PIN_6\uff09<br \/> DTR  \uff08PIN_20\uff09<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>MODEM dialing interface signal <\/p>\n<p>M1959<strong> :<\/strong> OFF, dialing by \u201cTone\u201d ; <br \/>\t\t ON, dialing by \u201cPulse\u201d <br \/>M1964 <strong>: <\/strong>OFF\u2192ON, dial up ; <br \/>\t\t\t\t ON\u2192OFF, hang up <br \/>R4163 <strong>:<\/strong> The Low Byte of R4163 is used to control the application of X instruction while MODEM dialing. \t\t =1, it does not detect dial tone nor busy tone while MODEM dialing. <\/p>\n<p> =2, it detects only dial tone but does not detect busy tone while MODEM dialing. <\/p>\n<p> =3, it dials directly without detecting dial tone, but will detect busy tone after MODEM dialing. <\/p>\n<p> =4, it detects both dial tone and busy tone for MODEM dialing. <\/p>\n<p>For other values, it works as 4; different country system needs to adjust the setting pertaining to the country. <\/p>\n<p>b15                b8 b7    b4     b3    b0<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>R4163 <\/p>\n<\/td>\n<td>\n<p>High Byte <\/p>\n<\/td>\n<td>\n<p>Low <\/p>\n<\/td>\n<td>\n<p>Byte <\/p>\n<\/td>\n<td>\n<p>H<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>b0\uff5eb3<\/p>\n<p>B7\uff5eb4=0\uff0cAT&amp;F\u2026\u2026as default setting <br \/>B7\uff5eb4=1\uff0cAT&amp;Y\u2026\u2026as User Profile setting <\/p>\n<p> The High Byte of R4163 is used to set the ring count for auto answer mode of Modem. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>M1964<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Dial up<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Hang up<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Dial up<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Hang up<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\uff08LADDER\uff09<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>M1965<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>\uff08CPU\uff09<\/p>\n<\/td>\n<td>\n<p>Connect<\/p>\n<\/td>\n<td>\n<p>Connect<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M1966<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Disconnect<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Disconnect<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\uff08CPU\uff09<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-118.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>CPU Link by Way of Port 1 to Connect to Modem <\/p>\n<\/td>\n<td>\n<p>FUN151 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<td>\n<p>CLINK <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Note  1 <strong>: <\/strong>Of M1965 and M1966, there will be only one ON, not both to be ON at the same time. <\/p>\n<p> 2 <strong>:<\/strong> The waiting time for dial connection is 1 minute; if unable to connect, it will redial twice (totally 3 times).  \tIf all of the dial connection tries failed, CPU will set M1966 to be ON (connection failed). <\/p>\n<p> 3 <strong>:<\/strong> When the quality of communication is not stable and easy to disconnect, you may employ the abnormal detecting function of CLINK instruction to control M1964 redials for connection (delay time of redial must be more than 10 seconds). <\/p>\n<p> 4 <strong>:<\/strong> When PLC change from RUN to STOP, the CPU will automatically change MODEM to be receiving state, \twhich could accept the remote side dial connection. <\/p>\n<p>5 <strong>: <\/strong>When PLC is not in dialing or MODEM connection states, CPU will automatically change MODEM to be \treceiving state, which could accept the remote side dial connection.<\/p>\n<p>Program example <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>M 0<\/p>\n<\/td>\n<td rowspan=\"20\">\n<p>M 1965<\/p>\n<\/td>\n<td rowspan=\"20\">\n<p>C 0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>E N<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>S E T<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>M 1964<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>C U P<\/p>\n<\/td>\n<td rowspan=\"11\">\n<p>M 100<\/p>\n<\/td>\n<td>\n<p>\u25cf When M0 changes from 0\u21921, dials up. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u25cf Clears the transaction count. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>P LS<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>C 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>C 0<\/p>\n<\/td>\n<td>\n<p>E N<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>P V :<\/p>\n<\/td>\n<td>\n<p>3<\/p>\n<\/td>\n<td rowspan=\"8\">\n<p>A C T<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u25cf Hang up after transactions completed <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>E N<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>R S T<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p>M 1964<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>or connection failed. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>M 1966<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"3\">\n<p>151P .C LIN K<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>E N<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>\u25cf Planning R5000\uff5eR5199 to be ROR, <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>M 1960<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>P t :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"9\">\n<p>M 1961<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>P A U<\/p>\n<\/td>\n<td>\n<p>M D :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>0<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>E R R<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>M 101<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>the communication program will be <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>S R :<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p>R 5000<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>stored together with LADDER <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"6\">\n<p>M 102<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p>W R :<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"3\">\n<p>R 100<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>A B T<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>D N<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>program. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>P LS<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>C 0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>C U P<\/p>\n<\/td>\n<td>\n<p>\u25cf Counting after all transactions <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>C LR<\/p>\n<\/td>\n<td>\n<p>P V :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>3<\/p>\n<\/td>\n<td>\n<p>completed<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-119.png\" \/><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>13.2\t Application for FUN150( Modbus) Instruction <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>13.2.1\t Procedures for Usage <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Start <\/p>\n<p>Hardware wiring to connect the various <br \/>stations (PLC, ASCII peripherals, etc.)<\/p>\n<p>Set up the station number of the linking stations and make a consistent <\/p>\n<p>\u25cf Station number can be set to any one between 1 to 254 <\/p>\n<p>communication parameters setting for \twithout replication. <\/p>\n<p>these stations.\u3002<\/p>\n<p>Fill in the value to the communication interface register (Rxxxx) of FUN150 <\/p>\n<p>\u25cf For communication parameters, please refer to the description of &quot;Communication Related Setting&quot;.<\/p>\n<p>(Modbus) if necessary; properly adjust the <br \/>Time_out timer to detect communication <br \/>error, transaction delay to meet slow <br \/>response device , etc. <\/p>\n<p>Write FUN150 instruction to PLC, which <br \/>serves as the master station or performs <br \/>communication sender\/ receiver, and then <br \/>fill the communication program into the <br \/>register table assigned by operand SR. <\/p>\n<p>FUN150 will then automatically send or <br \/>receive data according to the definition of <br \/>communication program.  The user can <br \/>easily reach the various function services <br \/>of  Modbus by accessing the table like <br \/>of communication program.<\/p>\n<p> End <\/p>\n<h4>13.2.2\t Explanation Application Program for FUN150 <\/h4>\n<p>This section will instruction to explain FUN150(Modbus) usages, with respective practical application program <\/p>\n<p>examples.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-120.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-121.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-122.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-123.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-124.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-125.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-126.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-127.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-128.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-129.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"7\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-130.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\"><\/td>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-131.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-132.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-133.png\" \/><\/p>\n<\/td>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"3\"><\/td>\n<td colspan=\"3\" rowspan=\"6\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-134.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-135.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\" rowspan=\"2\">\n<p>Pt \uff1a1\uff5e4\uff0cspecify the communication port to work as <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"2\">\n<p>the Modbus RTU master <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\"><\/td>\n<td rowspan=\"4\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-136.png\" \/><\/p>\n<\/td>\n<td rowspan=\"4\"><\/td>\n<td rowspan=\"4\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-137.png\" \/><\/p>\n<\/td>\n<td rowspan=\"4\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>SR \uff1aStarting register of communication program <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\" rowspan=\"2\">\n<p>WR \uff1aStarting register for instruction operation. It controls <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td colspan=\"3\" rowspan=\"3\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-138.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"9\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-139.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-140.png\" \/><\/p>\n<\/td>\n<td rowspan=\"9\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-141.png\" \/><\/p>\n<\/td>\n<td rowspan=\"9\"><\/td>\n<td rowspan=\"9\"><\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-142.png\" \/><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-143.png\" \/><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>8 registers\uff0cthe other programs can not repeat in <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>using.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"4\">\n<p>Range <\/p>\n<\/td>\n<td>\n<p>HR<\/p>\n<\/td>\n<td>\n<p>ROR<\/p>\n<\/td>\n<td>\n<p>DR<\/p>\n<\/td>\n<td>\n<p>K <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>R0 <\/p>\n<\/td>\n<td>\n<p>R5000<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D0 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>Ope- <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>\u2223<\/p>\n<\/td>\n<td>\n<p>\u2223<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2223<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>rand <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>R3839<\/p>\n<\/td>\n<td>\n<p>R8071<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D3999<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"5\">\n<p>Pt <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>1\uff5e4<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>SR <\/p>\n<\/td>\n<td colspan=\"3\">\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>WR <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb<\/p>\n<\/td>\n<td>\n<p>\u25cb* <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u25cb<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Descriptions<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>1. <\/p>\n<\/td>\n<td>\n<p>FUN150 (M-BUS) instruction makes PLC act as Modbus RTU\/ASCII master through Port 1\uff5e4, thus it is very <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>easy to communicate with the intelligent peripheral with Modbus RTU\/ASCII protocol. <\/p>\n<p>2. \tThe master PLC may connect with 247 slave stations through the RS485 interface. <\/p>\n<p>3. \tOnly the master PLC needs to use M-BUS instruction. <\/p>\n<p>4. \tIt employs the program coding method or table filling method to plan for the data flow controls; i.e. from which \tone of the slave station to get which type of data and save them to the master PLC, or from the master PLC \tto write which type of data to the assigned slave station.  It needs only seven registries to make definition; \tevery seven registers define one packet of data transaction. <\/p>\n<p>5. \tWhen execution control \u301dEN\u301echanges from 0\u21921 and the input \u201cABT\u201d is 0, and if Port 1\/2\/3\/4 hasn\u2019t been \tcontrolled by other communication instructions [i.e. M1960 (Port1)\u3001 M1962 (Port2) \u3001 M1936 (Port3) \u3001\tM1938 (Port4) = 1], this instruction will control the Port 1\/2\/3\/4 immediately and set the M1960\u3001M1962\u3001\tM1936\u3001M1938 to be 0 (which means it is being occupied), then going on a packet of data transaction \timmediately. If Port 1\/2\/3\/4 has been controlled (M1960\u3001M1962\u3001M1936\u3001M1938 = 0), then this instruction will \tenter into the standby status until the controlling communication instruction completes its transaction or \tpause\/abort its operation to release the control right (M1960\u3001M1962\u3001M1936\u3001M1938 =1), and then this \tinstruction will become enactive, set M1960\u3001M1962\u3001M1936\u3001M1938 to be 0, and going on the data \ttransaction immediately. <\/p>\n<p>6. \tWhile in transaction processing, if operation control \u201cABT\u201d becomes 1, this instruction will abort this \ttransaction immediately and release the control right (M1960\u3001M1962\u3001M1936\u3001M1938 = 1). Next time, when \tthis instruction takes over the transmission right again, it will restart from the first packet of data transaction. 7. \tWhile\u301dA\/R\u301e=0\uff0cModbus RTU protocol\uff1b\u301dA\/R\u301e=1\uff0cModbus ASCII protocol\u3002<\/p>\n<p>8. \tWhile it is in the data transaction, the output indication \u201cACT\u201d will be ON. <\/p>\n<p>9. \tIf there is error occurred when it finishes a packet of data transaction, the output indication \u201cDN\u201d &amp; \u201cERR\u201d will \t\tbe ON. <\/p>\n<p>10. If there is no error occurred when it finishes a packet of data transaction, the output indication \u201cDN\u201d will be \tON. <\/p>\n<p> Note : Modbus ASCII Mode has been supported after OS Version 4.24 and later <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-144.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u3010Interface Signals\u3011<\/p>\n<p>Dedicated Relays and Registers for corresponding port <strong>:<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p><strong>Comm Port <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 1 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 2 <\/strong><\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p><strong> Port 3 <\/strong><\/p>\n<\/td>\n<td rowspan=\"2\">\n<p><strong> Port 4 <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>Signals <\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>1. Port Ready Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1960 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1962 <\/p>\n<\/td>\n<td>\n<p> M1936 <\/p>\n<\/td>\n<td>\n<p> M1938 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>2. Port Finished Indicator <\/strong><\/p>\n<\/td>\n<td>\n<p> M1961 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> M1963 <\/p>\n<\/td>\n<td>\n<p> M1937 <\/p>\n<\/td>\n<td>\n<p> M1939 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>3. Port Communication Parameters<\/strong><\/p>\n<\/td>\n<td>\n<p> R4146 <\/p>\n<\/td>\n<td>\n<p> R4158 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4043 <\/p>\n<\/td>\n<td>\n<p> R4044 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>4. TX Delay &amp; RX Time-out Span <\/strong><\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4147 <\/p>\n<\/td>\n<td>\n<p> R4159 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p> R4045 <\/p>\n<\/td>\n<td rowspan=\"3\">\n<p> R4048 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>5. Setting of RX Time-out Span <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4043 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>6. Edge Trigger Execution <\/strong><\/p>\n<\/td>\n<td colspan=\"3\">\n<p>D4044 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><strong>1. Port Ready Indicator<\/strong>\uff1aThis signal is generated from CPU. \t ON, it represents that port is free and ready.  <\/p>\n<p> OFF, it represents that port is busy, data transaction is going.<\/p>\n<p><strong>2. Port Finished Indicator :<\/strong> This signal is generated from CPU. <\/p>\n<p>When the communication program completed the last packet of data transaction, this signal will be ON for one scan time (for successive data transaction). <\/p>\n<p> When the communication program completed the last packet of data transaction, this signal will be still ON \t(for single packet of data transmission)<\/p>\n<p><strong> 3. Port Communication Parameters : <\/strong><br \/>\t\t The register is for communication parameters setting of corresponding port. (please refer to the chapter of communication parameters setting).<\/p>\n<p><strong> 4. TX Delay &amp; RX Time-out Span : <\/strong><br \/>\t\t The content of Low Byte defines the receive time-out span of M-BUS instruction; its unit is 0.01 second \t(the default is 50, which means 0.5 second) <br \/>\tThe M-BUS instruction employs receive time-out span to judge whether the slave station on line or not. <\/p>\n<p>When the master PLC sent out the read\/write command to the slave station, the slave station didn\u2019t reply within this period means that there is abnormal event in communication called Time-out.  When there are multi-drop linking, properly adjust this value (greater than 1 scan time of the slave station with the longest scan time) to shorten the communication response time among the active linking stations if there are many slave stations power off (The time-out cases will happen).<\/p>\n<p> The content of High Byte defines the transmission delay time between two packets of data transaction for M-BUS instruction; its unit is 0.01 second (the default is 0).<\/p>\n<p> For point to point link, this value can be set as 0 to shorten the communication transaction time and promote the communication efficiency.  In the case of linking multi-drop and if the scan time of master PLC is far longer than any slave station, this value can also be set to 0 to shorten the communication transaction time and promote the communication efficiency.  When there are multi-drops linking and the scan time of master PLC is close to that of slave station&#8217;s, it must properly adjust this value (greater than 1 scan time of the slave station with the longest scan time) to reach the best, error-free communication quality<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-145.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <\/p>\n<\/td>\n<td>\n<p>FUN150 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>M-BUS <\/p>\n<\/td>\n<td>\n<p>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>M-BUS <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><strong>5. Setting of RX Time-out Span: <\/strong>Please refer this chapter, page 13-4~13-5 for details<\/p>\n<p><strong>6. Edge Trigger Execution:<\/strong>Please refer this chapter, page 13-5~13-6 for details <\/p>\n<p>\u203bWhen receiving message without ending code, and if M1956=1, then R4148 high byte of the received Time-out span setting is used to determine whether a data have been received or not, the unit is 0.001 second (default is 0CH, 12mS). <\/p>\n<p> Program example (Automatic cycling transmission) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"5\">\n<p>M 1<\/p>\n<\/td>\n<td rowspan=\"5\">\n<p>M 1 9 6 0<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>E N<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>1 5 0 P .M _ B U S<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>A C T<\/p>\n<\/td>\n<td>\n<p>M 1 0<\/p>\n<\/td>\n<td>\n<p>\u2022Configure R5000\uff5eR5399 as the read only <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>P t :<\/p>\n<\/td>\n<td>\n<p>1<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M 1 1<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>register (ROR) before programming, after <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>S R :<\/p>\n<\/td>\n<td>\n<p>R 5 0 0 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>A \/R<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>WR :<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>D 0<\/p>\n<\/td>\n<td>\n<p>E R R<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M 1 2<\/p>\n<\/td>\n<td>\n<p>then, when storing program, the ladder <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>A B T<\/p>\n<\/td>\n<td>\n<p>D N<\/p>\n<\/td>\n<td>\n<p>program will  automatically contains the <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>communication program . <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"4\">\n<p>M 1 1<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>E N<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>0 8 D .M O V<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022When there is communication error, gets <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>S  :<\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>D 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>and stores the error message to D1000 &amp; <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>D  :<\/p>\n<\/td>\n<td>\n<p>D 1 0 0 0<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>D1001 would be helpful for error analysis <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"4\">\n<p>M 2<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>M 1 9 6 2<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>E N<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>1 5 0 P .M _ B U S<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>A C T<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M 2 0<\/p>\n<\/td>\n<td rowspan=\"4\">\n<p>or logging. <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>P t :<\/p>\n<\/td>\n<td>\n<p>2<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>A \/R<\/p>\n<\/td>\n<td>\n<p>S R :<\/p>\n<\/td>\n<td>\n<p>R 5 2 0 0<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>E R R<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>M 2 1<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>WR :<\/p>\n<\/td>\n<td>\n<p>D 2 0<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>M 2 2<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"3\">\n<p>M 2 1<\/p>\n<\/td>\n<td>\n<p>A B T<\/p>\n<\/td>\n<td colspan=\"3\">\n<p>0 8 D .M O V<\/p>\n<\/td>\n<td rowspan=\"3\">\n<p>D N<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>E N<\/p>\n<\/td>\n<td>\n<p>S  :<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>D 2 0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>D  :<\/p>\n<\/td>\n<td>\n<p>D 1 0 0 2<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Explanation on program example <\/p>\n<p>1. When execution control \u301dEN\u301echanges from 0\u21921, and Port 1 is not occupied by other communication instruction (M1960 ON), M-BUS instruction will start the data transaction.  The M1960 is OFF during data transaction, and when the transaction is finished, the M1960 becomes ON.  Employ the OFF\u2190\u2192ON change of M1960 (M-BUS execution control \u201cEN\u201d = 0\u21921 means starting) may automatically starts for every packet of data transaction successively (when the last packet of transaction is completed, it will automatically return to the first packet of transaction to obtain the automatic cycling transmission). <\/p>\n<p> 2. When execution control \u301dEN\u301echanges from 0\u21921, and Port 2 is not occupied by other communication instruction (M1962 ON), M-BUS instruction will start the data transaction.  The M1962 is OFF during data transaction, and when the transaction is finished, the M1962 becomes ON.  Employ the OFF\u2190\u2192ON change of M1962 (M-BUS execution control \u201cEN\u201d = 0\u21921 means starting) may automatically starts for every packet of data transaction successively (when the last packet of transaction is completed, it will automatically return to the first packet of transaction to obtain the automatic cycling transmission). <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Editing Communication Table with WinProladder <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Click the \u201cModbus Master\u201d Item which in project windows<strong> :<\/strong><\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"3\">\n<p> Project name <\/p>\n<\/td>\n<td rowspan=\"2\"><\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\"><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Table Edit  <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> Modbus Master  \u00c6 Click right button and select  \u201cAdd Modbus Master Table\u201d <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-146.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u25cf Table Type <strong>:<\/strong> It will be fixed to \u201d Modbus Master Table \u201d. <\/p>\n<p> \u25cf Table Name <strong>:<\/strong> For modify or debug, you can give a convenient name.<\/p>\n<p> \u25cf Table Starting address<strong> :<\/strong> Enter the address which Starting register of communication Table<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-147.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-148.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-149.png\" \/><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-150.png\" \/><\/p>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> Starting register for communication program of M-BUS instruction  SR\uff1aStarting register for communication program of M-BUS instruction<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SR+0 <\/p>\n<\/td>\n<td>\n<p>A5h<\/p>\n<\/td>\n<td>\n<p>50h<\/p>\n<\/td>\n<td>\n<p>\u2022A550h\uff0cit means valid M-BUS program<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+1 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>07h<\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Total <br \/>transactions<\/p>\n<\/td>\n<td>\n<p>\u2022Low Byte\uff1aTotal number of transactions\uff0cone transaction needs 7 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>registers to describe.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+2 <\/p>\n<\/td>\n<td colspan=\"2\">\n<p>Slave station No. Which is <\/p>\n<\/td>\n<td>\n<p>\u2022Low Byte is valid, 0\uff5e247 (0 means that master PLC broadcasts <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>about to transact with<\/p>\n<\/td>\n<td>\n<p>the data to all slaves, the slaves do not reply).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022Low Byte is valid <strong>; <\/strong>=1, means &quot;Read data from slave station&quot; <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SR+3 <\/p>\n<\/td>\n<td>\n<p>Command code<\/p>\n<\/td>\n<td>\n<p> =2, means &quot;Write multiple data to slave station&quot;<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> =3, means &quot;Write single data to slave station&quot;<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td rowspan=\"2\">\n<p>SR+4 <\/p>\n<\/td>\n<td>\n<p>Data length of this <\/p>\n<\/td>\n<td rowspan=\"23\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-151.png\" \/><\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022 Low Byte is valid; the range is 1\uff5e125 (Reg.) or 1\uff5e255 (Discrete). <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>transaction<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+5 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Data type of Master PLC<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, and its range is 1\uff5e3 or 12\uff5e13; it defines the <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>data type of master PLC (see next page).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+6 <\/p>\n<\/td>\n<td>\n<p>Starting reference of <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022Word is valid; it defines the starting address of data (master).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Master PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+7 <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>Data type of slave station<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u2022Low Byte is valid, and its range is 0 or 4; it defines the data type <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>of slave station (see next page).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+8 <\/p>\n<\/td>\n<td>\n<p>Starting reference of <\/p>\n<\/td>\n<td colspan=\"2\" rowspan=\"2\">\n<p>\u2022Word is valid; it defines the starting address of data (slave).<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Slave station<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+9 <\/p>\n<\/td>\n<td>\n<p>Slave station No. which is <\/p>\n<\/td>\n<td rowspan=\"14\">\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-152.png\" \/><\/p>\n<\/td>\n<td rowspan=\"14\">\n<p>Description of the 2_nd packet of transaction <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>about to transact with<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+10 <\/p>\n<\/td>\n<td>\n<p>Command code<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+11 <\/p>\n<\/td>\n<td>\n<p>Data length of this <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>transaction<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+12 <\/p>\n<\/td>\n<td>\n<p>Data type of Master PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+13 <\/p>\n<\/td>\n<td>\n<p>Starting reference of <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Master PLC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>SR+14 <\/p>\n<\/td>\n<td>\n<p>Data type of slave station<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>SR+15 <\/p>\n<\/td>\n<td>\n<p>Starting reference of <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"4\">\n<p>Slave station<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-153.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-154.png\" \/><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>\u2022<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>\u2022<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><img decoding=\"async\" src=\"https:\/\/resource.fatek.com\/wp-content\/uploads\/fatek\/fbs-hw-en-013\/fbs-hw-en-013-155.png\" \/><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\u2022<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>SR+2+ <br \/>n\u00d77 <\/p>\n<\/td>\n<td>\n<p>Reserved<\/p>\n<\/td>\n<td>\n<p>\u2022N is the total number of transaction<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>zData code, type and reference number of Master station (FATEK PLC)<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Data code <\/p>\n<\/td>\n<td>\n<p> Data type <\/p>\n<\/td>\n<td>\n<p>Reference number <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1 <\/p>\n<\/td>\n<td>\n<p> Y\uff08Output Relay\uff09<\/p>\n<\/td>\n<td>\n<p> 0\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>2 <\/p>\n<\/td>\n<td>\n<p> M\uff08Internal M Relay\uff09<\/p>\n<\/td>\n<td>\n<p> 0\uff5e1911 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>3 <\/p>\n<\/td>\n<td>\n<p> S\uff08Step Relay\uff09<\/p>\n<\/td>\n<td>\n<p> 0\uff5e999 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>12 <\/p>\n<\/td>\n<td>\n<p> R\uff08Data Register Rxxxx\uff09<\/p>\n<\/td>\n<td>\n<p> 0\uff5e3839 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>13 <\/p>\n<\/td>\n<td>\n<p> D\uff08Data register Dxxxx\uff09<\/p>\n<\/td>\n<td>\n<p> 0\uff5e3999 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>zData code, type and reference number of Slavestation (Modbus slave)<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Data code <\/p>\n<\/td>\n<td>\n<p> Data type <\/p>\n<\/td>\n<td>\n<p>Reference number <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0 <\/p>\n<\/td>\n<td>\n<p> Discrete Output  <\/p>\n<\/td>\n<td>\n<p> 1\uff5e65535 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>4 <\/p>\n<\/td>\n<td>\n<p> Holding register <\/p>\n<\/td>\n<td>\n<p> 1\uff5e65535 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>1 <\/p>\n<\/td>\n<td>\n<p>Discrete Input (OS version 4.22\u2191) <\/p>\n<\/td>\n<td>\n<p> 1\uff5e65535 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>3 <\/p>\n<\/td>\n<td>\n<p>Input Register(OS version 4.22\u2191) <\/p>\n<\/td>\n<td>\n<p> 1\uff5e65535 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>z WR\uff1aStarting register for instruction operation of M-BUS (FUN150) <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> HighByte <\/p>\n<\/td>\n<td>\n<p> Low Byte <\/p>\n<\/td>\n<td rowspan=\"2\">\n<p>\u2022Result code indicates the transaction result; 0 means &quot;Normal&quot;, other value means &quot;Abnormal&quot;<br \/>\u2022Transaction No. indicates which one is in processing (begins from 0).<\/p>\n<p>\u2022Station number: the slave station No. which is in transaction.<\/p>\n<p>\tCommand code=01H\uff0cread status of 0xxxxx from slave station \t\t\t\t\t=02H\uff0cread status of 1xxxxx from slave station \t\t\t\t\t=03H\uff0cread data of 4xxxxx from slave station <br \/>\t\t\t\t\t\t=04H\uff0cread data of 3xxxxx from slave station \t\t\t\t\t =05H\uff0cforce single coil to slave station <br \/>\t\t\t\t =06H\uff0cpreset single register to slave station <br \/>\t\t\t\t\t\t\t\t=0FH\uff0cforce multiple coils to slave station <br \/>\t\t\t\t\t\t\t\t=10H\uff0cpreset multiple registersto slave station\u2022WR+4  B0=1, Port has been occupied and this instruction is waiting to \t\t\tacquire the transmission right for data transaction \tB4=1, this instruction is not first time performing.<\/p>\n<p>B12, output indication for \u201cACT\u201d<br \/>B13, output indication for \u201cERR\u201d<br \/>B14, output indication for \u201cDN\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>WR +3 <\/p>\n<p>WR+4 <br \/>WR+5 <br \/>WR+6 <br \/>WR+7 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Result code<\/p>\n<\/td>\n<td>\n<p>Transaction No.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>Station number<\/p>\n<\/td>\n<td>\n<p>Command code<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\">\n<p>For internal working use<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>WR+0 <\/p>\n<p>WR+1 <\/p>\n<p>WR+2 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Result code <strong>:<\/strong> 0, Transaction is successful.<\/p>\n<p> 2, Data length error (for length is 0 or over limit).<\/p>\n<p>3, Command code error (Command code is0 or greater than 3) <br \/>4, Data type error <br \/>5, Reference number error <br \/>6, Inconsistence in data type (e.g. master station is 1\uff5e3 while slave is 12\uff5e13). <\/p>\n<p>7, Port error(Not Port 1\uff5e4) <br \/>8, Invalid communication table<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> FUN150 M-BUS <\/p>\n<\/td>\n<td>\n<p>Convenient Instruction for Modbus RTU\/ASCII Master <br \/>\uff08Which makes PLC as the Modbus RTU\/ASCII master through Port 1\uff5e4\uff09<\/p>\n<\/td>\n<td>\n<p>FUN150 M-BUS <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p> A, No response from slave station (Time-out error). <\/p>\n<p> B, Communication error (received error data or exception reply ).<\/p>\n<p>\u25cf For easy programming and trouble shooting, the WinProladder provides the table editing environment to edit <\/p>\n<p>the communication table of FUN150 instruction; Key in the complete FUN150 instruction first and then move <\/p>\n<p>the cursor to the position of it, depressing the &quot;Z&quot; key, now comes the table editing environment. The user can <\/p>\n<p>create the new communication table or display the existed table under this friendly user interface operation. <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> M-BUS Communication Table <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Sequence  No. <\/p>\n<\/td>\n<td>\n<p>Command <\/p>\n<\/td>\n<td>\n<p>Slave <\/p>\n<\/td>\n<td>\n<p>Data of Master <\/p>\n<\/td>\n<td>\n<p>Data of Slave <\/p>\n<\/td>\n<td>\n<p>Length <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>0\uff5ennn <\/p>\n<\/td>\n<td>\n<p>Read (=1) <br \/>Write (=2) <br \/>Write single (=3) <\/p>\n<\/td>\n<td>\n<p>The station number of slave which is <br \/>about to transact <br \/>with Station No.=0, It means <br \/>broadcasting, <br \/>there will not <br \/>any response <br \/>from the slave <\/p>\n<p>Station No.=N, <\/p>\n<p>It means the station number of slave <br \/>which is about to <br \/>transact with; <\/p>\n<p>N=1\uff5e247 <\/p>\n<\/td>\n<td>\n<p>The data type of Master for <br \/>this transaction <\/p>\n<p>Y0\uff5eY255 <br \/>M0\uff5eM1911 S0\uff5eS999 <br \/>R0\uff5eR3839 D0\uff5eD3999 <\/p>\n<\/td>\n<td>\n<p>The data type <\/p>\n<p>of Slave for this <\/p>\n<p>transaction <\/p>\n<p>000001\uff5e<br \/>065535(read\/ write) <\/p>\n<p>400001\uff5e<br \/>465535(read\/ write) <\/p>\n<p>100001\uff5e<br \/>165535(read) <\/p>\n<p>300001\uff5e<\/p>\n<p>365535(read)<\/p>\n<\/td>\n<td>\n<p>Quantity of this <\/p>\n<p>While Register, <\/p>\n<p> 1\uff5e125 <\/p>\n<p>While Discrete, <\/p>\n<p> 1\uff5e255<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>\u203b <\/p>\n<\/td>\n<td>\n<p>WinProladder provides the user friendly table edit for M-BUS Master\uff1a<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>Sequence <\/p>\n<p> No.CommandSlaveData of MasterData of SlaveData length<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> 0      Read    1\uff5e247 <\/p>\n<\/td>\n<td>\n<p> Y0\uff5eY255 <\/p>\n<\/td>\n<td>\n<p>\u2190  000001\uff5e065535    1\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> M0\uff5eM1911  \u2190  000001\uff5e065535    1\uff5e255  S0\uff5eS999 \t\u2190  000001\uff5e065535    1\uff5e255 <\/p>\n<p> Y0\uff5eY255  \u2190  100001\uff5e165535    1\uff5e255  M0\uff5eM1911  \u2190  100001\uff5e165535    1\uff5e255  S0\uff5eS999 \t\u2190  100001\uff5e165535    1\uff5e255 <\/p>\n<p> R0\uff5eR3839  \u2190  400001\uff5e465535    1\uff5e125  D0\uff5eD3999  \u2190  400001\uff5e465535    1\uff5e125 <\/p>\n<p> R0\uff5eR3839  \u2190  300001\uff5e365535    1\uff5e125  D0\uff5eD3999  \u2190  300001\uff5e365535    1\uff5e125 <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> 1      Write    0\uff5e247 <\/p>\n<\/td>\n<td>\n<p> Y0\uff5eY255 <\/p>\n<\/td>\n<td>\n<p>\u2192  000001\uff5e065535    1\uff5e255 <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>\t M0\uff5eM1911  \u2192  000001\uff5e065535    1\uff5e255 \t S0\uff5eS999 \t\u2192  000001\uff5e065535    1\uff5e255 \t R0\uff5eR3839  \u2192  400001\uff5e465535    1\uff5e125 \t D0\uff5eD3999  \u2192  400001\uff5e465535    1\uff5e125 2 <br \/>. <\/p>\n<p>. <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Address mapping between Modbus and Fatek <br \/>(Port 1~4 works as the slave device through Modbus Communication Protocol) <\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u25cfFBs-PLC can use FUN150 to be Modbus protocol Master, besides it also can be Modbus communication Slave by configuration(Port1\uff5ePort4, but Port0 fixed to Fatek communication protocol) then it can connect with the intelligent peripheral. <\/p>\n<p>\u25cf  See below for Modbus and Fatek data address mapping rules:<\/p>\n<p> Mapping Rule <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td colspan=\"2\">\n<p> Modbus  <\/p>\n<\/td>\n<td>\n<p> Fatek <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> 5 <br \/>Code <\/p>\n<\/td>\n<td>\n<p> 0XXXX <\/p>\n<\/td>\n<td>\n<p>Discrete elements of Ynnn\u3001Xnnn\u3001Mnnnn\u3001Snnn\u3001Tnnn\u3001Cnnn <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 4XXXX <\/p>\n<\/td>\n<td>\n<p>Data Registers of Rnnnn\u3001Dnnnn\u3001Tnnn\u3001Cnnn <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p> 6 <br \/>Code <\/p>\n<\/td>\n<td>\n<p> 00XXXX <\/p>\n<\/td>\n<td>\n<p>Discrete elements of Ynnn\u3001Xnnn\u3001Mnnnn\u3001Snnn\u3001Tnnn\u3001Cnnn <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 40XXXX <\/p>\n<\/td>\n<td>\n<p>Data Registers of Rnnnn\u3001Dnnnn\u3001Tnnn\u3001Cnnn <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Available Range( 5 Code ) <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Modbus  <\/p>\n<\/td>\n<td>\n<p> FATEK  <\/p>\n<\/td>\n<td>\n<p> Description <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>00001\uff5e00256 <\/p>\n<\/td>\n<td>\n<p> Y0\uff5eY255 <\/p>\n<\/td>\n<td>\n<p>Discrete Output <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>01001\uff5e01256 <\/p>\n<\/td>\n<td>\n<p> X0\uff5eX255 <\/p>\n<\/td>\n<td>\n<p>Discrete Input <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>02001\uff5e04002 <\/p>\n<\/td>\n<td>\n<p> M0\uff5eM2001 <\/p>\n<\/td>\n<td>\n<p>Discrete M Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>06001\uff5e07000 <\/p>\n<\/td>\n<td>\n<p> S0\uff5eS999 <\/p>\n<\/td>\n<td>\n<p>Discrete S Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>09001\uff5e09256 <\/p>\n<\/td>\n<td>\n<p> T0\uff5eT255 <\/p>\n<\/td>\n<td>\n<p>Status of T0\uff5eT255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>09501\uff5e09756 <\/p>\n<\/td>\n<td>\n<p> C0\uff5eC255 <\/p>\n<\/td>\n<td>\n<p>Status of C0\uff5eC255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>40001\uff5e44168 <\/p>\n<\/td>\n<td>\n<p> R0\uff5eR4167 <\/p>\n<\/td>\n<td>\n<p>Holding Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>45001\uff5e45999 <\/p>\n<\/td>\n<td>\n<p> R5000\uff5eR5998 <\/p>\n<\/td>\n<td>\n<p>Holding Register or ROR <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>46001\uff5e48999 <\/p>\n<\/td>\n<td>\n<p> D0\uff5eD2998 <\/p>\n<\/td>\n<td>\n<p>Data Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>49001\uff5e49256 <\/p>\n<\/td>\n<td>\n<p> T0\uff5eT255 <\/p>\n<\/td>\n<td>\n<p>Current Value of T0\uff5eT255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>49501\uff5e49700 <\/p>\n<\/td>\n<td>\n<p> C0\uff5eC199 <\/p>\n<\/td>\n<td>\n<p>Current Value of C0\uff5eC199( 16-bit) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>49701\uff5e49812 <\/p>\n<\/td>\n<td>\n<p> C200\uff5eC255 <\/p>\n<\/td>\n<td>\n<p>Current Value of C200\uff5eC255( 32-bit) <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Address mapping between Modbus and Fatek <br \/>(Port 1~4 works as the slave device through Modbus Protocol)<\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Available Range( 6 Code ) <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Modbus <\/p>\n<\/td>\n<td>\n<p> FATEK  <\/p>\n<\/td>\n<td>\n<p> Description <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>000001\uff5e000256 <\/p>\n<\/td>\n<td>\n<p> Y0\uff5eY255 <\/p>\n<\/td>\n<td>\n<p>Discrete Output <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>001001\uff5e001256 <\/p>\n<\/td>\n<td>\n<p> X0\uff5eX255 <\/p>\n<\/td>\n<td>\n<p>Discrete Input <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>002001\uff5e004002 <\/p>\n<\/td>\n<td>\n<p> M0\uff5eM2001 <\/p>\n<\/td>\n<td>\n<p>Discrete M Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>006001\uff5e007000 <\/p>\n<\/td>\n<td>\n<p> S0\uff5eS999 <\/p>\n<\/td>\n<td>\n<p>Discrete S Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>009001\uff5e009256 <\/p>\n<\/td>\n<td>\n<p> T0\uff5eT255 <\/p>\n<\/td>\n<td>\n<p>Status of T0\uff5eT255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>009501\uff5e009756 <\/p>\n<\/td>\n<td>\n<p> C0\uff5eC255 <\/p>\n<\/td>\n<td>\n<p>Status of C0\uff5eC255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>400001\uff5e404168 <\/p>\n<\/td>\n<td>\n<p> R0\uff5eR4167 <\/p>\n<\/td>\n<td>\n<p>Holding Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>405001\uff5e405999 <\/p>\n<\/td>\n<td>\n<p> R5000\uff5eR5998 <\/p>\n<\/td>\n<td>\n<p>Holding Register or ROR <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>406001\uff5e408999 <\/p>\n<\/td>\n<td>\n<p> D0\uff5eD2998 <\/p>\n<\/td>\n<td>\n<p>Data Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>409001\uff5e409256 <\/p>\n<\/td>\n<td>\n<p> T0\uff5eT255 <\/p>\n<\/td>\n<td>\n<p>Current Value of T0\uff5eT255 <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>409501\uff5e409700 <\/p>\n<\/td>\n<td>\n<p> C0\uff5eC199 <\/p>\n<\/td>\n<td>\n<p>Current Value of C0\uff5eC199( 16-bit) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>409701\uff5e409812 <\/p>\n<\/td>\n<td>\n<p> C200\uff5eC255 <\/p>\n<\/td>\n<td>\n<p>Current Value of C200\uff5eC255( 32-bit) <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>\u203b\u203b Special Register and Relay Available Range <\/p>\n<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p> Modbus  <\/p>\n<\/td>\n<td>\n<p> FATEK  <\/p>\n<\/td>\n<td>\n<p> Description <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 02001\uff5e03912 <\/p>\n<\/td>\n<td>\n<p> M0\uff5eM1911 <\/p>\n<\/td>\n<td>\n<p>General purpose Internal Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 03913\uff5e04002 <\/p>\n<\/td>\n<td>\n<p> M1912\uff5eM2001 <\/p>\n<\/td>\n<td>\n<p>Special Internal Relay <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 40001\uff5e43840 <\/p>\n<\/td>\n<td>\n<p> R0\uff5eR3839 <\/p>\n<\/td>\n<td>\n<p>General purpose Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 43841\uff5e43904 <\/p>\n<\/td>\n<td>\n<p> R3840\uff5eR3903 <\/p>\n<\/td>\n<td>\n<p>Analog or Numeric Input Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 43905\uff5e43968 <\/p>\n<\/td>\n<td>\n<p> R3904\uff5eR3967 <\/p>\n<\/td>\n<td>\n<p>Analog or Numeric Output Register <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 43969\uff5e44168 <\/p>\n<\/td>\n<td>\n<p> R3968\uff5eR4167 <\/p>\n<\/td>\n<td>\n<p>Special Register <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Port 1~4 simulates the Modbus slave device <\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>Add new address mapping for Modbus slave communication protocol; out of range access, the PLC will reply communication error<\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Register No. <\/p>\n<\/td>\n<td>\n<p>Value <\/p>\n<\/td>\n<td>\n<p>Description <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\n<p>R3968 <\/p>\n<\/td>\n<td>\n<p>=A55AH <\/p>\n<\/td>\n<td>\n<p>New address mapping for Modbus slave communication protocol (Detailed as below) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>= Others <\/p>\n<\/td>\n<td>\n<p>Existed address mapping for Modbus slave comm. protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3969 <\/p>\n<\/td>\n<td>\n<p>0 ~ 65535 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of discrete output of Modbus \ufe520 ~ 65535 : it means discrete output 000001 ~ 065536 \ufe52Apply to function code 01, 05, 15 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3970 <\/p>\n<\/td>\n<td>\n<p>0 ~ 2001 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of internal relay of FATEK \ufe520 ~ 2001 : it means internal relay M0 ~ M2001 <br \/>\ufe52Apply to function code 01, 05, 15 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3971 <\/p>\n<\/td>\n<td>\n<p>1 ~ 2001 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the range of access both for discrete output <br \/> (Modbus) and internal relay (FATEK) <br \/>\ufe521 ~ 2001 : it means access range between 1 ~ 2001 point \ufe52It is the group R3969 ~ R3971 for mapping the discrete \t\t output (Modbus ) and internal relay (FATEK ) for access  \t\t (R3968 should be A55AH) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3972 <\/p>\n<\/td>\n<td>\n<p>0 ~ 65535 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of discrete input of Modbus \ufe520 ~ 65535 : it means discrete input 100001 ~ 165536 \ufe52Apply to function code 02 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3973 <\/p>\n<\/td>\n<td>\n<p>0 ~ 2001 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of internal relay of FATEK \ufe520 ~ 2001 : it means internal relay M0 ~ M2001 <br \/>\ufe52Apply to function code 02 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3974 <\/p>\n<\/td>\n<td>\n<p>1 ~ 2001 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the range of access both for discrete input <br \/> (Modbus) and internal relay (FATEK) <br \/>\ufe521 ~ 2001 : it means access range between 1 ~ 2001 point \ufe52It is the group R3972 ~ R3974 for mapping the discrete  input (Modbus ) and internal relay (FATEK ) for access   (Don\u2019t care R3968) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3975 <\/p>\n<\/td>\n<td>\n<p>0 ~ 65535 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of register input of Modbus \ufe520 ~ 65535 : it means register input 300001 ~ 365536 \ufe52Apply to function code 04 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3976 <\/p>\n<\/td>\n<td>\n<p>0 ~ 3839 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of R register of FATEK \ufe520 ~ 3839 : it means R register R0 ~ R3839 <br \/>\ufe52Apply to function code 04 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Port 1~4 simulates the Modbus slave device <\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>R3977 <\/p>\n<\/td>\n<td>\n<p>1 ~ 3840 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the range of access both for register input <br \/> (Modbus) and R register (FATEK) <br \/>\ufe521 ~ 3840 : it means access range between 1 ~ 3840 word \ufe52It is the group R3975 ~ R3977 for mapping the register  input (Modbus) and R register (FATEK) for access  <br \/> (Don\u2019t care R3968) <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3978 <\/p>\n<\/td>\n<td>\n<p>0 ~ 65535 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of holding register of Modbus \ufe520 ~ 65535 : it means holding register 400001 ~ 465536 \ufe52Apply to function code 03, 06,16 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3979 <\/p>\n<\/td>\n<td>\n<p>0 ~ 3839 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the starting address of R register of FATEK \ufe520 ~ 3839 : it means R register R0 ~ R3839 <br \/>\ufe52Apply to function code 03, 06,16 of Modbus protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>R3980 <\/p>\n<\/td>\n<td>\n<p>1 ~ 3840 <\/p>\n<\/td>\n<td>\n<p>\ufe52Assign the range of access both for holding register  (Modbus) and R register (FATEK) <br \/>\ufe521 ~ 3840 : it means access range between 1 ~ 3840 word \ufe52It is the group R3978 ~ R3980 for mapping the holding  register (Modbus ) and R register (FATEK) for access   (R3968 should be A55AH) <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>For example. R3968=A55AH, it means new address mapping for Modbus slave comm. protocol \t R3969=0, R3970=1000, R3971=100: Mapping 000001 ~ 000100 (Modbus) <br \/>\t\t\t\tM1000~M1099  (FATEK) <br \/>\t\tR3972=10, R3973=1100, R3974=50: Mapping 100011 ~ 100060 (Modbus) <br \/>\t\t\t M1100 ~ M1149  (FATEK) <br \/>\t\tR3975=50, R3976=1000, R3977=10: Mapping 300051 ~ 300060 (Modbus) <br \/>\t\t\t\tR1000 ~ R1009  (FATEK) <br \/>\t\tR3978=100, R3979=2000, R3980=200: Mapping 400101 ~ 400300 (Modbus) <br \/>\t\t\t\tR2000 ~ R2199  (FATEK)<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Configuration of Port 1~4 for working as the Modbus Protocol<\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\u25cf Port 1\uff5e4 support Modbus RTU\/ASCII (Slave) communication protocol <\/p>\n<p>\ufe52Method 1 (All OS versions of FBs PLC can support this method) <\/p>\n<p>R4047 : Upper Byte = 55H\uff0cconfigure the communication port of Modbus RTU protocol <\/p>\n<p>= Other values\uff0cPort 1\uff5e4 don\u2019t support Modbus RTU protocol (FATEK as the default) <\/p>\n<p> Lower Byte : Port assignment for Modbus RTU protocol <\/p>\n<p> Format as below : <\/p>\n<p> Upper Byte        Lower Byte <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>55     <\/p>\n<\/td>\n<td>\n<p> b7 <\/p>\n<\/td>\n<td>\n<p>b6 <\/p>\n<\/td>\n<td>\n<p>b5 <\/p>\n<\/td>\n<td>\n<p>b4 <\/p>\n<\/td>\n<td>\n<p>b3<\/p>\n<\/td>\n<td>\n<p>b2<\/p>\n<\/td>\n<td>\n<p>b1<\/p>\n<\/td>\n<td>\n<p>b0<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p> b0, Reserved ;  <\/p>\n<p> b1=0, Port 1 acts as FATEK protocol  <br \/>\t =1, Port 1 acts as Modbus RTU protocol  <\/p>\n<p> b2=0, Port 2 acts as FATEK protocol  <br \/>\t =1, Port 2 acts as Modbus RTU protocol  <\/p>\n<p> b3=0, Port 3 acts as FATEK protocol  <br \/>\t =1, Port 3 acts as Modbus RTU protocol <\/p>\n<p>\t b4=0, Port 4 acts as FATEK protocol  <br \/>\t\t =1, Port 4 acts as Modbus RTU protocol   <br \/> . <\/p>\n<p> . <\/p>\n<p> . <\/p>\n<p> b7\uff5eb5, Reserved <\/p>\n<p>\u203b It allows to assign multiple ports for Modbus RTU protocol\uff0cwhere the \t corresponding bit must be 1\u3002<\/p>\n<p> For example:  <br \/>R4047=5502H, Assign Port 1 as Modbus RTU protocol ; <br \/>R4047=5504H, Assign Port 2 as Modbus RTU protocol ; <br \/>R4047=5506H, Assign both Port 1 &amp; Port 2 as Modbus RTU protocol\u3002<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p>FBs-PLC LINK <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<td>\n<p>Configuration of Port 1~4 for working as the Modbus Protocol<\/p>\n<\/td>\n<td>\n<p>Modbus Slave <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\">\n<p>\ufe52Method 2 (FBs PLC OS V4.24 or later can support this method) <br \/>R4047 : Upper Byte = 56H\uff0cconfigure the communication port of FATEK or Modbus RTU\/ASCII communication \t\t\tprotocol <br \/>\t\t\t\t= Other values\uff0cit doesn\u2019t work above function <br \/>\t Lower Byte : Port assignment for communication protocols <\/p>\n<p> Format as below : <\/p>\n<p> Upper Byte        Lower Byte <\/p>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>56      <\/p>\n<\/td>\n<td>\n<p> b7<\/p>\n<\/td>\n<td>\n<p>b6 <\/p>\n<\/td>\n<td>\n<p>b5 <\/p>\n<\/td>\n<td>\n<p>b4 <\/p>\n<\/td>\n<td>\n<p>b3<\/p>\n<\/td>\n<td>\n<p>b2<\/p>\n<\/td>\n<td>\n<p>b1<\/p>\n<\/td>\n<td>\n<p>b0<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<div class=\"fatek-tw\">\n<table>\n<tr>\n<td>\n<p>Bits <\/p>\n<\/td>\n<td>\n<p>Value <\/p>\n<\/td>\n<td>\n<p> Description <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p> b1b0 <\/p>\n<\/td>\n<td>\n<p> 0 or1 <\/p>\n<\/td>\n<td>\n<p>Port 1 works FATEK protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 2 <\/p>\n<\/td>\n<td>\n<p>Port 1 works Modbus RTU protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 3 <\/p>\n<\/td>\n<td>\n<p>Port 1 works Modbus ASCII protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p> b3b2 <\/p>\n<\/td>\n<td>\n<p> 0 or 1 <\/p>\n<\/td>\n<td>\n<p>Port 2 works FATEK protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 2 <\/p>\n<\/td>\n<td>\n<p>Port 2 works Modbus RTU protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 3 <\/p>\n<\/td>\n<td>\n<p>Port 2 works Modbus ASCII protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p> b5b4 <\/p>\n<\/td>\n<td>\n<p> 0 or 1 <\/p>\n<\/td>\n<td>\n<p>Port 3 works FATEK protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 2 <\/p>\n<\/td>\n<td>\n<p>Port 3 works Modbus RTU protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 3 <\/p>\n<\/td>\n<td>\n<p>Port 3 works Modbus ASCII protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"3\">\n<p> b7b6 <\/p>\n<\/td>\n<td>\n<p> 0 or 1 <\/p>\n<\/td>\n<td>\n<p>Port 4 works FATEK protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 2 <\/p>\n<\/td>\n<td>\n<p>Port 4 works Modbus RTU protocol <\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p> 3 <\/p>\n<\/td>\n<td>\n<p>Port 4 works Modbus ASCII protocol <\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As previously revealed in Chapter 12 that the FBs-PLC c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-3418","post","type-post","status-publish","format-standard","hentry","category-en-fbs-hw"],"_links":{"self":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/comments?post=3418"}],"version-history":[{"count":0,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/posts\/3418\/revisions"}],"wp:attachment":[{"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/media?parent=3418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/categories?post=3418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/resource.fatek.com\/index.php\/wp-json\/wp\/v2\/tags?post=3418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}