Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | = KV-5000(Ethernet) = |
| 2 | |||
| 3 | Supported Series: KEYENCE KV-5000, KV-5500 models | ||
| 4 | |||
| 5 | **HMI Settings** | ||
| 6 | |||
| 7 | |=**Item**|=**Settings**|=**Note** | ||
| 8 | |Protocol|KEYENCE KV-5000(Ethernet)| | ||
| 9 | |Connection|Ethernet| | ||
| 10 | |Port No.|8501|Need to be the same as PLC settings | ||
| 11 | |PLC station No.|0| | ||
| 12 | |||
| 13 | **Address List** | ||
| 14 | |||
| 15 | |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note** | ||
| 16 | |(% colspan="1" rowspan="4" %)Bit|R|RDDDDD.dd|0~~59915.15|Relay | ||
| 17 | |CR|CRDDDDD.dd|0~~3915.15|Control Relay | ||
| 18 | |MR|MRDDDDD.dd|0~~99915.15|Internal Auxiliary Relay | ||
| 19 | |LR|LRDDDDD.dd|0~~99915.15|Latch Relay | ||
| 20 | |(% colspan="1" rowspan="15" %)Word|DM|DMDDDDD|0~~65534|Data Memory | ||
| 21 | |CM|CMDDDDD|0~~11998|Control Memory | ||
| 22 | |TM|TMDDD|0~~511|Temporary Data Memory | ||
| 23 | |EM|EMDDDDD|0~~65534|Extension Data Memory | ||
| 24 | |FM|FMDDDDD|0~~32766|Extension Data Memory | ||
| 25 | |Z|ZDD|1~~12|Index Register | ||
| 26 | |VB|VBHHH|0~~F9F|Work Relay | ||
| 27 | |ZF|ZFDDDDD|0~~524287|File Register Serial Number System | ||
| 28 | |VM|VMDDDDD|0~~65535|Work Memory | ||
| 29 | |W|WHHHH|0~~7FFF|Link Register | ||
| 30 | |B|BHHH|0~~7FF|Link Relay | ||
| 31 | |R|RDDD|0~~999|Input Relay/Output Relay/Internal Auxiliary Relay | ||
| 32 | |CR|CRDDD|0~~999|Control Relay | ||
| 33 | |LR|LRDDD|0~~999|Latch Relay | ||
| 34 | |MR|MRDDDD|0~~3999|Internal Auxiliary Relay | ||
| 35 | |(% colspan="1" rowspan="9" %)Double Word|T|TDDDD|0~~9999|Timer | ||
| 36 | |C|CDDDD|0~~9999|Counter | ||
| 37 | |CTH|CTHD|0~~3|High-speed Counter Comparator(Current Value) | ||
| 38 | |CTC|CTCD|0~~7|High-speed Counter Comparator(Setting Value) | ||
| 39 | |TRM|TRMD|0~~7|Digital Trimmer | ||
| 40 | |C_Preset|C_PresetDDDD|0~~9999|Counter(Setting Value) | ||
| 41 | |C_Curr|C_CurrDDDD|0~~9999|Counter(Current Value) | ||
| 42 | |T_Preset|T_PresetDDDD|0~~9999|Timer(Setting Value) | ||
| 43 | |T_Curr|T_CurrDDDD|0~~9999|Timer(Current Value) | ||
| 44 | |||
| 45 | **PLC Settings** | ||
| 46 | |||
| 47 | Create the project according to the PLC specific model. | ||
| 48 | |||
| 49 | (% style="text-align:center" %) | ||
| 50 | [[image:KVsetup01.png]] | ||
| 51 | |||
| 52 | Enter the EtherNet/IP setting configuration window to check the PLC IP settings | ||
| 53 | |||
| 54 | (% style="text-align:center" %) | ||
| 55 | [[image:KVstep02.png]] | ||
| 56 | |||
| 57 | Double click the PLC unit icon on the main interface, then the settings would pop up on the right side. | ||
| 58 | |||
| 59 | (% style="text-align:center" %) | ||
| 60 | [[image:KVSetup03.png]] | ||
| 61 | |||
| 62 | So right now the PLC IP is 192.168.40.120 | ||
| 63 | |||
| 64 | {{info}} | ||
| 65 | ✎Note: PLC uses port 8500 to communicate with the PC, and uses port 8501 to communicate with the HMI. | ||
| 66 | {{/info}} | ||
| 67 | |||
| 68 | (% style="text-align:center" %) | ||
| 69 | [[image:KVSetup04.png]] | ||
| 70 | |||
| 71 | Programming the PLC project | ||
| 72 | |||
| 73 | (% style="text-align:center" %) | ||
| 74 | [[image:PrgramKVStudio.png]] | ||
| 75 | |||
| 76 | Connect with PLC through known IP address. | ||
| 77 | |||
| 78 | (% style="text-align:center" %) | ||
| 79 | [[image:KVSetup05.png]] | ||
| 80 | |||
| 81 | Download the program into PLC | ||
| 82 | |||
| 83 | (% style="text-align:center" %) | ||
| 84 | [[image:KVSetup06.png]] | ||
| 85 | |||
| 86 | If shows like below, which means download is success | ||
| 87 | |||
| 88 | (% style="text-align:center" %) | ||
| 89 | [[image:KVSetup07.png]] | ||
| 90 | |||
| 91 | **Cable Wiring** | ||
| 92 | |||
| 93 | (% style="text-align:center" %) | ||
| 94 | [[image:12.PLC Protocol_html_2297240b57346b2a (1).png]] | ||
| 95 | |||
| 96 | = KV-8000(Ethernet) = | ||
| 97 | |||
| 98 | Supported Series: KEYENCE KV-8000 models | ||
| 99 | |||
| 100 | (% class="box infomessage" %) | ||
| 101 | ((( | ||
| 102 | Note: Waiting official release | ||
| 103 | ))) | ||
| 104 | |||
| 105 | **HMI Settings** | ||
| 106 | |||
| 107 | |=**Item**|=**Settings**|=**Note** | ||
| 108 | |Protocol|KEYENCE Ethernet/IP (KV-8000)| | ||
| 109 | |Connection|Ethernet| | ||
| 110 | |Port No.|8500|Need to be the same as PLC settings | ||
| 111 | |PLC station No.|0| | ||
| 112 | |||
| 113 | **Support Variable Type** | ||
| 114 | |||
| 115 | |=Data Type|=PIStudio Data Format | ||
| 116 | |=BOOL|Bit | ||
| 117 | |=INT|16-bit Unsigned/Binary/BCD/Hex | ||
| 118 | |=UINT|16-bit Unsigned/Binary/BCD/Hex | ||
| 119 | |=DINT|32-bit Signed/Binary/BCD/Hex | ||
| 120 | |=UDINT|32-bit Unsigned/Binary/BCD/Hex | ||
| 121 | |=REAL|32-bit Float | ||
| 122 | |=LREAL|64-bit Float | ||
| 123 | |=STRING| | ||
| 124 | |=Array|Bool/USINT/INT/UINT/DINT/Real/DINT/String | ||
| 125 | |||
| 126 | Choose the following protocol | ||
| 127 | |||
| 128 | (% style="text-align:center" %) | ||
| 129 | [[image:vltCZdX9aS.png]] | ||
| 130 | |||
| 131 | Input PLC IP | ||
| 132 | |||
| 133 | (% style="text-align:center" %) | ||
| 134 | [[image:dbIdTcQvgV.png]] | ||
| 135 | |||
| 136 | **PLC Settings** | ||
| 137 | |||
| 138 | Create the project according to the PLC specific model. | ||
| 139 | |||
| 140 | (% style="text-align:center" %) | ||
| 141 | [[image:1MEEEfQFsc.png]] | ||
| 142 | |||
| 143 | Enter the EtherNet/IP setting configuration window to check the PLC IP settings | ||
| 144 | |||
| 145 | (% style="text-align:center" %) | ||
| 146 | [[image:gBgYa8i91t.png]] | ||
| 147 | |||
| 148 | Double click the PLC unit icon on the main interface, then the settings would pop up on the right side. | ||
| 149 | |||
| 150 | (% style="text-align:center" %) | ||
| 151 | [[image:r94fglwJYN.png]] | ||
| 152 | |||
| 153 | (% class="box infomessage" %) | ||
| 154 | ((( | ||
| 155 | ✎Note: PLC uses port 8500 to communicate with the PC, and uses port 8501 to communicate with the HMI. | ||
| 156 | ))) | ||
| 157 | |||
| 158 | (% style="text-align:center" %) | ||
| 159 | [[image:KA0rBmR7tA.png]] | ||
| 160 | |||
| 161 | |||
| 162 | **How to export tags into HMI** | ||
| 163 | |||
| 164 | Double click Variable→ create tags | ||
| 165 | |||
| 166 | (% style="text-align:center" %) | ||
| 167 | [[image:7BdsGfYFZc.png]] | ||
| 168 | |||
| 169 | Export tags, and file format is "TXT". | ||
| 170 | |||
| 171 | (% style="text-align:center" %) | ||
| 172 | [[image:CJpE21DEOv.png]] | ||
| 173 | |||
| 174 | Connect with PLC through known IP address. | ||
| 175 | |||
| 176 | (% style="text-align:center" %) | ||
| 177 | [[image:SDXeswS5HB.png]] | ||
| 178 | |||
| 179 | Download the program into PLC | ||
| 180 | |||
| 181 | (% style="text-align:center" %) | ||
| 182 | [[image:KVSetup06.png]] | ||
| 183 | |||
| 184 | Select saved tags file | ||
| 185 | |||
| 186 | (% style="text-align:center" %) | ||
| 187 | [[image:2V6dzYLw1Z.png]] | ||
| 188 | |||
| 189 |