PortDock

Hanyoung Nux LC Series Modbus register map

RS485 Modbus RTU (models with auxiliary-output code 'C'). Uses coils, discrete inputs, input and holding registers. Write inhibit (CWP) is ON by default. · Other · LC1, LC3, LC4, LC6, LC7

An unofficial summary of facts (addresses, types, units, scaling) from the maker's manual. Not affiliated with the maker; values can differ by firmware or model. Always check the device manual before writing (run commands, settings).

Default communication

ProtocolModbus RTU
Baud (factory)9600 bps — options: 2400, 4800, 9600, 19200, 38400
Data · parity · stop8 · None · 1
Slave ID (factory)1 (1~127)
Manual address style40001/30001 style (wire address + 1, first digit = table)

Registers (30)

«Wire» is the 0-based address in the request frame (PortDock's «0-based» notation). Value = raw × scale. Table: HR holding register, IR input register, CO coil, DI discrete input. Function codes in hex.

ManualWireTableNameTypeUnit · scaleR/WFCDetails
00001 (0000)0 (0x0000)COReset inputBITR/W01·05
When writing 1 with FC05, send FF00.
p.35 (PDF 33) Table 1 Func 01H/05H
00002 (0001)1 (0x0001)COBatch reset inputBITR/W01·05
Send FF00 for 1 with FC05.
p.35 (PDF 33) Table 1
00003 (0002)2 (0x0002)COOUT1 outputBITR01
p.35 (PDF 33) Table 1
00004 (0003)3 (0x0003)COOUT2 outputBITR01
p.35 (PDF 33) Table 1
00005 (0004)4 (0x0004)COBatch outputBITR01
p.35 (PDF 33) Table 1
10001 (0000)0 (0x0000)DIReset terminal inputBITR02
p.35 (PDF 33) Table 2 Func 02H
10002 (0001)1 (0x0001)DIBatch reset terminal inputBITR02
p.35 (PDF 33) Table 2
10003 (0002)2 (0x0002)DICP1 inputBITR02
p.35 (PDF 33) Table 2
10004 (0003)3 (0x0003)DICP2 inputBITR02
p.35 (PDF 33) Table 2
30104 (0067)103 (0x0067)IRFirmware versionU16R04
p.36 (PDF 34) Table 3 Product Information
31001 (03E8)1000 (0x03E8)IRLED display statusU16R04
Bit 0 = off, 1 = on.
b3 CWP LED · b4 RST LED · b5 INH LED · b6 STA LED · b7 BATCH OUT LED · b8 OUT2 LED · b9 OUT1 LED · b10 BATCH LED · b11 LOCK LED · b12 SET1 LED · b13 SET2 LED · b14 TIM LED
p.36 (PDF 34) Table 3 Product Monitoring
31006 (03ED)1005 (0x03ED)IRDecimal pointU16R04
Counter: 0/1 = none, 2 = 2 decimals, 3 = 3, 4 = 4 (6-digit only), 5 = 5 (6-digit only). Timer: time-range code 0 u.01s, 1 u.1s, 2 u1s, 3 u1m, 4 u1h, 5 d.01s, 6 d.1s, 7 d1s, 8 d1m, 9 d1h.
p.36 (PDF 34) Table 3
31013 (03F4)1012 (0x03F4)IRInput logicU16R04
0 = NPN · 1 = PNP
p.37 (PDF 35) Table 3
40051 (0032)50 (0x0032)HROperation modeU16R/W03·06·10
0 = Counter · 1 = Batch counter · 2 = Timer · 3 = Twin timer · 4 = Batch timer
p.38 (PDF 36) Table 4 Counter Setting
40052 (0033)51 (0x0033)HRCounter input modeU16R/W03·06·10
0 = U-A · 1 = U-B · 2 = U-AB · 3 = D-A · 4 = D-B · 5 = D-AB · 6 = UD-A · 7 = UD-B · 8 = UD-C · 9 = UD-D · 10 = UD-E · 11 = UD-F
p.38 (PDF 36) Table 4 Counter Setting
40054 (0035)53 (0x0035)HRCounter output modeU16R/W03·06·10
0 = N · 1 = F · 2 = C · 3 = R · 4 = K · 5 = P · 6 = Q · 7 = A
p.38 (PDF 36) Table 4 Counter Setting
40055 (0036)54 (0x0036)HRMax counting speedU16R/W03·06·10
0 = 1 cps · 1 = 30 cps · 2 = 1 kcps · 3 = 10 kcps
p.39 (PDF 37) Table 4 Counter Setting
40057 (0038)56 (0x0038)HROUT1 output timeU16×0.01 sR/W03·06·10
0 = hold.
Range 0 ~ 99.99 s
p.39 (PDF 37) Table 4 Counter Setting
40058 (0039)57 (0x0039)HRCounter decimal pointU16R/W03·06·10
0 = none, 1-5 = 1-5 decimals (4 and 5 on 6-digit models only).
Range 0 ~ 5
p.39 (PDF 37) Table 4 Counter Setting
40065 (0040)64 (0x0040)HRCounter backupU16R/W03·06·10
0 = Clear · 1 = Save
p.39 (PDF 37) Table 4 Counter Setting
40066 (0041)65 (0x0041)HRCounter lockU16R/W03·06·10
0 = Lock-off · 1 = Lock-on · 2 = Lock-set · 3 = Lock-reset
p.39 (PDF 37) Table 4 Counter Setting
40102 (0065)101 (0x0065)HRTimer rangeU16R/W03·06·10
0 = u.01s · 1 = u.1s · 2 = u1s · 3 = u1m · 4 = u1h · 5 = d.01s · 6 = d.1s · 7 = d1s · 8 = d1m · 9 = d1h
p.41 (PDF 39) Table 4 Timer Setting
40103 (0066)102 (0x0066)HRTimer scaleU16R/W03·06·10
0 = Decimal · 1 = Sexagesimal
p.41 (PDF 39) Table 4 Timer Setting
40104 (0067)103 (0x0067)HRTimer output modeU16R/W03·06·10
Timer: 0 pond, 1 sond, 2 sofd, 3 sint, 4 sadd, 5 s.ond, 6 s.on1, 7 s.int, 8 s.flk, 9 s.fr, 10 s.fp, 11 s.fq. Twin timer: 12 tw-pond, 13 tw-pofd, 14 tw-poft, 15 tw-s.ond, 16 tw-s.ofd (manual writes A-F and 10 in hex).
Range 0 ~ 16
p.40 (PDF 38) Table 4 Timer Setting
40107 (006A)106 (0x006A)HRTimer OUT output timeU16×0.01 sR/W03·06·10
0 = hold.
Range 0 ~ 99.99 s
p.40 (PDF 38) Table 4 Timer Setting
40151 (0096)150 (0x0096)HRStation addressU16R/W03·06·10
Manual shows 1-7F (hex).
Range 1 ~ 127
p.40 (PDF 38) Table 4 Communication Setting
40152 (0097)151 (0x0097)HRBaud rateU16R/W03·06·10
0 = 2400 · 1 = 4800 · 2 = 9600 · 3 = 19200 · 4 = 38400
p.40 (PDF 38) Table 4 Communication Setting
40153 (0098)152 (0x0098)HRParityU16R/W03·06·10
0 = None · 1 = Odd · 2 = Even
p.40 (PDF 38) Table 4 Communication Setting
40155 (009A)154 (0x009A)HRResponse wait timeU16msR/W03·06·10
Range 5 ~ 99 ms
p.40 (PDF 38) Table 4 Communication Setting
40156 (009B)155 (0x009B)HRCommunication write inhibitU16R/W03·06·10
When on, communication writes are rejected (default ON, p.31).
0 = Off · 1 = On
p.40 (PDF 38) Table 4 Communication Setting

Notes

Read it with PortDock

  1. Install the free PortDock Modbus Master and connect with the device's settings.
  2. On the table toolbar, «Device profile…» → pick this device → «Load». Polling tables, names, types and the Slave ID are filled in (optionally the serial settings too).
  3. Names carry the unit and scale (e.g. «×0.01 Hz»). Values on screen are raw — multiply by the scale.
  4. To test your program without the device, PortDock Modbus Slave's «Emulate device…» serves the same map with example values.

Download JSON

Sources