6
4-10-8 Convert second data to hours, minutes, and seconds[STOH]........................................... 195
4-10-9 Clock compare [TCMP].................................................................................................... 196
4-10-10 Date (year, month, day) compare [DACMP].................................................................. 197
5 HIGH SPEED COUNTER (HSC) ........................................................................................... 200
5-1 FUNCTIONS SUMMARY................................................................................................................ 200
5-2 HSC MODE ..................................................................................................................................201
5-3 HSC RANGE................................................................................................................................ 203
5-4 HSC INPUT WIRING .....................................................................................................................203
5-5 HSC PORTS ASSIGNMENT ............................................................................................................ 204
5-6 AB PHASE COUNTING FREQUENCY DOUBLING SETTING .............................................................. 209
5-7 HSC INSTRUCTION ...................................................................................................................... 210
5-7-1 Single phase HSC [CNT].................................................................................................... 210
5-7-2 AB phase HSC [CNT_AB] ..................................................................................................211
5-7-3 HSC reset [RST] ..................................................................................................................212
5-7-4 Read HSC value [DMOV] ...................................................................................................213
5-7-5 Write HSC value [DMOV] ..................................................................................................214
5-7-6 The difference between HSC and normal counter...............................................................215
5-8 HSC EXAMPLE............................................................................................................................ 215
5-9 HSC INTERRUPTION .....................................................................................................................217
5-9-1 Function overview and panel configuration........................................................................217
5-9-2 Single phase 100-segment HSC [CNT]...............................................................................219
5-9-3 AB phase 100-segment HSC[CNT_AB].............................................................................220
5-9-4 Interruption flag of HSC......................................................................................................222
5-9-5 Setting value meaning in absolute or relative mode ............................................................222
5-9-6 HSC interruption cycle mode.............................................................................................. 225
5-9-7 CAM function of high speed counter interruption .............................................................. 226
5-9-8 Interruption using notes and parameter address .................................................................. 227
5-9-9 Application of HSC interruption......................................................................................... 228
6 COMMUNICATION FUNCTION .......................................................................................... 233
6-1 SUMMARY ....................................................................................................................................233
6-1-1 COM port.............................................................................................................................233
6-1-2 Communication parameters .................................................................................................242
6-2 MODBUS COMMUNICATION ....................................................................................................... 243
6-2-1 Function overview ...............................................................................................................243
6-2-2 Changing of Modbus instruction.........................................................................................244
6-2-3 Modbus communication address......................................................................................... 244
6-2-4 Modbus data format ............................................................................................................255
6-2-5 Communication Instructions ............................................................................................... 261
6-2-6 Modbus serial port configuration........................................................................................ 270
6-2-7 Modbus Communication application .................................................................................. 274
6-2-8 Application .......................................................................................................................... 276
6-3 FREE COMMUNICATION ................................................................................................................279
6-3-1 Free communication mode .................................................................................................. 279
tudonghoatoancau.com