consent of the copyright owner. This document is only used to assist readers in using the product.and HNC Electric Limited is not responsible for the loss or error caused by the use of the information in this document. The products and texts described in this document are constantly being upgraded and improved.
Page 3
Content Ownership Information ..............................2 PLC main unit ................................5 Chapter I. HCG2 standard series PLC ......................9 1. Product appearance ..........................10 2. Product size ............................10 3. Model list ..............................11 4. Electrical Specifications ........................11 5. Analog register ............................16 Chapter II.
Page 4
HSE weighing extension HSE-2L. HSE-4L ................... 88 HSE Solid Relay Output Extension HSE-4S-A ..................97 Chapter II. HTE series expansion ........................99 Product Size .............................. 100 HTE series digital expansion ......................... 101 HTE series analog expansionHTE-4AI2AOS ..................102 HTE analog expansionHTE-4AO ......................106 HTE weighing extensionHTE-2L.
Page 5
PLC main unit Safety Precautions Thank you for purchasing our programmable logic controller (PLC). For safe use.be sure to read this manual.the manual of the PLC host and the reference manual of the corresponding module. Meaning of warning/caution Warning ...
Safety precautions Be sure to take safety measures such as the use of a circuit breaker in consideration of the short circuit of the external wiring. Installation of the unit should be carried out after a thorough inspection of its terminal block. ...
Use caution Please follow the instructions in the reference manual to make the correct settings. Do not use in the following places: Direct sunlight Places where the ambient temperature and relative humidity exceed the specified values ...
Page 8
Commitments when using When wiring the DC power input.please pay attention to the ﹢/﹣ polarity. If the connection is wrong.it will cause a system error. Please tighten the terminal block screws on the input power side. Loose screws may cause system errors When using in the following conditions and environments.please consult with our technical staff and confirm the specifications.and at the same time.allow room for rated functions.etc..and take safety measures into consideration.and seek to control the risk even if a failure occurs Security...
Page 9
Chapter I. HCG2 standard series PLC Thank you for using HCG2 standard PLC series programmable controllers. This series provides 14~68 points of host and 8~40 points of digital input/output modules.including the host.the maximum input/output expansion can reach up to 512 points. It can also be used with analog input/output modules.temperature modules.and weighing modules to meet various applications.
Page 13
HCG2-68T-D DC24V RS232/RS485/USB 30k steps Number Number Output digital digital Rated Model rated (high-speed) maximum maximum (high-speed) power current output frequency frequency input points points HCG2-14R-D 8(4) 6(-) 20khz ----- HCG2-14P-D 0.5A 8(2) 6(3) 200khz 100khz HCG2-16R-D 8(4) 8(-) 20khz ----- HCG2-16T-D 0.5A...
Page 17
Chapter II. HCS2 compact series PLC 1. Product appearance&Size 1 Extension ports 6 Power.Run.Error Indicators 2 Label 7 Input/output Indicators 3 Input/output terminal 8 RS232 4 DIN rail fixing buckle 9 Model 5 Company LOGO 10 Input/output mark 2. Electrical Specifications Program Model I/O total points...
Page 18
Number of Output Number of digital digital Rated Model rated (high-speed) maximum maximum (high-speed) power current output points frequency frequency input points HCS2-14T 0.5A 8(4) 6(1) 20khz 200khz HCS2-16T 0.5A 8(4) 8(1) 20khz 200khz 2.5W HCS2-14R 8(4) 6(--) 20khz ----- 2.5W Input points electrical specifications Specification...
Page 19
Chapter III. HCH2&HCM2 Field-bus(EtherCAT) series PLC HCH2 series PLC function introduction Thank you for using HCH2 high-end PLC series programmable controllers. This series provides 14~40 points of MPU and 8~40 points of digital input/output modules.including the MPU and expansion module.the maximum DI/DO can reach up to 512 points totally. It can also be used with AI/AO modules.temperature modules.and weighing modules to meet various applications.
Page 20
Model list Points Model Naming rule HCH2 high-end PLC 32 points HCH2-32T/R-E-D/A T:Transistor R:Relay E:Ethernet/EtherCAT 40 points HCH2-40T/R-E-D/A D:DC24V power supply A:AC220Vpower supply Electrical Specifications Program Bus and pulse Model Power supply Output Communication points capacity axis number totally HCH2-32T-E-D DC24V HCH2-32T-E-A AC100V-240V...
Page 22
Model list Points Model Naming rule 16 points HCM2-16T-E-D/A HCM2 high-end PLC T:Transistor 24 points HCM2-24T-E-D/A E:Ethernet/EtherCAT D:DC24V power supply 32 points HCM2-32T-E-D/A A:AC220Vpower supply 40 points HCM2-32T-E-D/A Electrical Specifications Program Bus and pulse Model Power supply Output Communication points capacity axis number totally HCM2-16T-E-D...
Page 23
Bus programing method 3.1. EtherCAT axis configuration D1500 is defined as follows.configure the number of bus and pulse axes: System D register Set value Pulse axis number Bus start axis K4(Default) 4 CH0-CH3(Y0,Y2,Y4,Y6) CH4(Y10) CH0(Y0) D1500 1 CH0(Y0) CH1(Y2) (Power-down non-retentive)...
Page 24
sends the target position to the slave station. Example: 1) Execute the position command.the program defines D1500 as K4.then the EtherCAT bus Y10 is the starting axis.and the bus axis does not occupy the PLC hardware output port. 2) It is recommended to enable the servo after the EtherCAT initialization is completed.that is.when D1451 is K9 (if the current state is not K9.try to turn on M1197).
Page 25
Set the current Current Current coordinates of the servo ECAT Current servo servo encoder servo status alarm Axis number Servo Clear Servo Change the Coordinate position torque 6041h code (channel) Enable Alarm coordinate address (read-only (read only (read (read enable flag (R/W 32-bit) 16 bits)
Page 27
Channel Pulse Direction Axis No. CH0(Y0,Y1) CH1(Y2,Y3) CH2(Y4,Y5) CH3(Y6,Y7) CH4(Y10,Y11) …… …… …… …… S2: parameter set Operation No. Function Type The number of pulses of the current axis (same function (S2)- S2)+1 Read only(32bits) as D1648) (S2)+2~ S2)+3 Current axis target position (same as D1650 function) R/W(32bits)...
Page 28
+3~ S System occupy S5(M bit):Status set Operation No. Function Type Positioning completion mark (same as M1029 Read only function) Pulse sending flag (reserved) Read only E-Stop flag (reserved) Read only SVON (same as M1440 function) R/W (continuous retention) R/W (triggered.OFF by the Alarm clear (same as D1456 function) system)
Page 29
2. Instruction example: The example is to build the bus axis 16 axis (Y40.Y41).17 axis (Y42.Y43). Note: If the parameters corresponding to each axis of S3 need to be the same.it is recommended to set S3 repeatedly. Data initialization 29 / 129...
Page 30
Write the current position and send the position command 30 / 129...
Page 31
3.3 Speed mode CSV CSV (Cyclic Synchronous Speed Mode) gives the speed through PLC to make the motor run at a constant speed. EC.CSV speed mode Byte 16-bit instructions EC.CSV continuous execution type 32-bit instructions None Only HCD22.HCS25 bus type PLC supports S1: axis number S2: set speed S3: current speed 1.
Page 32
3.4 Torque mode CST CST ( cyclical torque mode) gives torque through controller to make the motor run with constant torque EC.CST Torque mode Byte 16-bit instructions EC.CST Continuous execution type 32-bit instructions None JE bus type does not support Axis No S2:Set torque S3:Current torque...
Page 33
3.5 Homing mode HM HM mode (i.e. homing mode).used for initialization of the slave position DZRN S2 S3 D Homing mode Byte 16-bit instructions DZRN continuous execution type 32-bit instructions None Only HCD22.HCS25 bus type PLC supports S1:Homing return speed S2:JOG speed S3:Homing mode D:Slave bus axis number...
Page 34
3.6 Two-axis copy EC.COPY EC.COPY Two-axis copy Byte 16-bit instructions EC.COPY Continuous execution type 32-bit instructions None Only HCD22.HCS25 bus type PLC Master axis No. S2:Slave axis No. : supports 1、 Instruction description Bind the master axis to the slave axis.copy the axis motion.copy the data of the axis S1 to the S2 axis ...
Page 35
2. Instruction example 1) First define the bus start axis number.D1500 is K4.that is.the bus start axis is Y10 axis. 2) S1 is K4 and S2 is K5.then the master axis of the EC.COPY instruction is Y10 axis.and the slave axis is Y12 axis.
Page 36
3.7 SDO R/W instruction S1 S2 S3 S4 S5 EC.WRITE SD0 data write-in Byte 16-bit instructions EC.WRITE Continuous execution type 32-bit instructions None Flag bit M1195 Only HCD22.HCS25 bus type S1: Axis number S2: Object index S3: Object sub-index S4: Object byte PLC supports number S5: write-in register Instruction description...
Page 37
S1 S2 S3 S4 S5 EC.READ SD0 data read Byte 16-bit instructions EC.READ continuous execution type 32-bit instructions None flag bit M1195 S1: axis number S2: object index S3: object sub-index S4: object byte number S5: Start register of stored value 1.
Page 38
3.8 I/O Mapping Mapping digital modules D1 D2 EC.IO Mapping digital modules Byte 16-bit instructions EC.IO continuous execution type 32-bit instructions None Only HCD22.HCS25 bus type PLC supports S1: slave station number D1: input port mapping D2: output port mapping 1.
Page 39
Mapping analog modules EC.D D1 D2 Mapping analog modules Byte 16-bit instructions EC.D continuous execution type 32-bit instructions None Only HCD22.HCS25 bus type PLC supports S1: slave station number D1: input port mapping D2: output port mapping 1. Instruction description S1:The bus axis that executes this command corresponds to the axis number.
3.9 Probe function The probe function is the position latch function. When the trigger condition is met.the probe function is triggered and the motor encoder value when the condition is triggered is latched. According to the setting of probe control word 60B8.single trigger or multiple trigger can be realized. EC.PROBE Probe function Byte...
Chapter IV. HCD2 Standard Series PLC Thank you for using HCD2 standard PLC series programmable controller. This series provides 14~40 points of host and 8~40 points of digital input/output modules.including the host.the maximum input/output expansion can reach up to 512 points. It can also be used with analog input/output modules.temperature modules.and weighing modules to meet various applications.
Chapter V. Communication 1 RS232 1.1 Interface and Pins RS232 round port 8-pin definition Pin No Description Function Send data Receive data RS232 DB9 interface definition Pin No Description Function Send data Receive data 1.2 Communication format settings Note: 8-bit data length.need to work in RTU mode Communication Format Serial port...
Page 46
2.2 Communication format settings Note: 8-bit data length.need to work in RTU mode Serial Communication Format Mode Station No port settings remain D1120(Default H86) D1121 M1143 RS485 M1120 ASCII: OFF See 2.3 1-255 (COM2) RTU:ON (Default 1) parameter configuration (Default) Serial Communication Format...
3 Ethernet communication 3.1 IP setting The factory default IP address of PLC is: 192.168.1.25 (Note: the address can be modified). Before connecting the PC to the PLC.set the IP address of the PC. The IP address of the controller can be set arbitrarily. Users can set different IP addresses according to their own needs. The IP address in this example is 192.168.1.25.
Page 48
D1212 D1213 High High 192(HC0) 168(HA8) 1(H1) 25(H19) HA8C0 H1901 1) Select the communication port: the device port number (factory 502.cannot be changed).the address is D1211. Program as below: 1) The programming software setting method is as follows: 48 / 129...
Note: If you need to change the sub-net mask and gateway.the sub-net mask in the above figure is 255.255.255.0 (factory default).and the gateway is 192.168.1.1 (factory default) as an example. Sub-net mask address: D1220 D1221 High High 255(HFF) 255(HFF) 255(HFF) 0(H0) HFFFF Gateway address:...
Page 50
1、Click OK to pop up the command window. 2、Enter the "ping 192.168.1.25" command to check whether the local TCP/IP protocol is normal. It is normal to send and receive the same data.as shown in the following figure: 3.4 Ethernet Socket communication function command Socket communication function commands are shown below.
Page 51
Establish connection S1 S2 M SP.SOCOPEN Establish connection Byte 16-bit instructions SP.SOCOPEN trigger execution type 32-bit instructions None See the instructions below for details. Instruction:SP.SOCOPEN(S1) (S2) (M) Content.range.data type: Operand Function Range Type Device Constant : Connection number Unsigned BIN 16 bits (S1)...
Page 52
【4】Open way 00: Active open 10: Unpassive open (the IP address of the target device and the port number of the target device will be ignored) 11: Fullpassive opening (S2)+3 Local port number Specify the local port number 1~1023 User The IP address of 00000001H- (S2)+4-(S2)+5...
Instruction:SP.SOCCLOSE (S1) (S2) (M) Content.range.data type: Operand Function Range Type Device Constant:K (S1) Connection number Unsigned BIN 16 bits Please refer to the Device start number for following (S2) Byte storing control data instructions: Range of control Data At the end of the command.the start (M)...
Page 54
Instruction:SP.SOCSND(S1) (S2) (S3)(M) Content.range.data type: Operand Function Range Type Device Constant:K (S1) Connection number Unsigned BIN 16 bits Please refer to the Device start number for following (S2) Byte storing control data instructions: Range of control Data The start number of the (S3)...
Data reception S1 S2 S3 M Data reception SP.SOCRCV Byte 16-bit instructions SP.SOCRCV trigger/continuous execution type 32-bit instructions None See the instructions below for details. Instruction:SP.SOCRCV(S1) (S2) (D1)(M) Content.range.data type: Operand Function Range Type Device Constant:K (S1) Connection number Unsigned BIN 16 bits Please refer to the Device start number for...
Page 56
Control data Operand Function Range Type Device (S2)+0 System area State when the store is complete (S2)+1 End state 0000H: normal end System Other than 0000H: Abnormal end Stores the data length of the data read from Received data (D1)+0 the socket communication receive data area.
Page 57
2:PLC send data 1) Set M20 from OFF to ON.the data sent by D501~D503 are 12 34 56 78 9A BC respectively.and the successful data reception is monitored through the serial port debugging assistant. 2) After the data is sent successfully.the M210 system will automatically ON and keep it.and the 57 / 129...
Page 58
program will output the M20 to OFF. If the data transmission fails.the M210 cannot be turned ON automatically. If the M20 is manually turned ON again.when the sending command is executed successfully.the M210 system will automatically turn OFF until the data is successfully sent.and M210 is turned ON again.
Page 59
3.5.2 PLC works on the server side. For example: PLC port number is 1024.IP address is 192.168.1.25 1:Establish connection 2:PLC send data 1) Set M10 from OFF to ON.the data sent by D201~D203 are 12 34 56 78 9A BC respectively.and the successful data reception is monitored through the serial port debugging assistant.
Page 60
3:PLC Receive data Device Function Status Set value Current value (16bit) D301 Receive data address H3412 D302 Receive data address H7856 1) The serial port debugging assistant sends data.and the data is successfully received by PLC. At this time.the M120 system is turned on once and then turned off. It can be observed that the data of D301~D302 are 12 34 56 78 respectively.
Page 61
4 USB operation guide If you use a double-headed USB cable to download the program.download the corresponding USB driver according to the computer system (common for WIN8 and WIN10 drivers) It is recommended to set an M1293 switch button on the touch screen (M1293 factory default is ...
Page 62
Operation steps: If it is working in PC mode (that is.M1293 is ON).after installing the driver on the PC.turn M1293 ON on the touch screen.and a virtual serial port will be generated on the PC.which can be used directly as a common serial port.but the common serial port must be selected correctly The baud rate can only be connected to the PLC.
PLC expansion module series Chapter I. HSE series expansion Thank you for using the HSE Series Standard Expansion Module. This series provides digital modules.analog modules.temperature modules.function modules.etc. Expansion modules can only be connected to the company's mainframe. To ensure the correct installation and operation of this product.please read this manual carefully before use.
Product Size Dimension(mm) 8-16 points digital expansion Analog expansion (excluding HSE-8TCY) 32-40points digital expansion HSE-8TCY LED System status self-diagnosis POW (24V power indicator) On: 24VDC power supply is normal Off: No 24VDC power supply COM (extension indicator) On: The expansion module is successfully connected Off: The expansion module is not connected/incorrectly connected Note: Expansion modules must not be plugged or unplugged under power.otherwise normal use will be...
Page 65
HSE series digital expansion Note: The starting number of expansion I/O input and output starts with the last number of the host or expansion input/output point connected to the module. The numbers of the expansion I/O are arranged in sequential order. If the last point of the host is X n□ (the range of numbers in □ is 0-7).the starting number of the digital expansion input is X (n+1)0 .
HSE analog expansion HSE-4AI2AOS 1. HSE-4AI2AOS specification Model HSE-4AI2AOS AI channel AO channel 0-5V;0-10V AI voltage type AO voltage type 0-10V 0-20mA;4-20mA AI/AO current type Resolution: Type Resolution 0-5V;0-10V(AI) K0-K4095(12bits) K0-K4095(12bits) 0-20mA 0-10V(AO) K0-K4095(12bits) 2. Wiring Input: Current type (0-20mA) Wiring method: I and V are short-circuited.the signal is connected to V.and G is connected to 0V Voltage type (0-10V;...
Page 67
Note: The example is based on the 1st extension connected to the host.and the analog input type is current input as an example. Example description: 1) Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3...
Page 68
2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1 D1985 Expansion 2 D1986 Expansion 3 D1987 Expansion 4 D1988 Expansion 5 and so on and so on … … 1)D300 representation is as follows: In the example program.the read address D1984 of the first expansion module is assigned as K300.which means that the starting address of the channel output of the expansion module is D300 (S1).
Page 69
3.2 Analog output sample program description Example description Analog output address: As mentioned above.assign the write address D1984 of the first expansion module to K300.indicating that the starting address of the channel output of the expansion module is D300 (S1).and the user can customize the starting address.that is.change the value of K300.
Page 70
HSE analog expansion HSE-4AI2AO 1. HSE-4AI2AO specification Model HSE-4AI2AO AI channel AO channel AI/AO voltage type -10v~10v AI current channel 0~20mA Resolution: Type Resolution -10v~10v( K-32767~K32767(16bits) AI) ( K0~K65535(16bits) 0~20mA AI) -10v~10v (AO) K-2047~K2047(12bits) ( 0~20mA AO) K0~K4095(12bits) 2. Wiring Input: Current type (0-20mA) Wiring method: I and V are short-circuited.the signal is connected to V.and G is connected to 0V Voltage type (-10~10V)...
Page 71
3. Programming example 3.1 Analog input sample program description: Note: The example is based on the 1st extension connected to the host.and the analog input type is current input as an example. 1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1...
Page 72
2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1 D1985 Expansion 2 D1986 Expansion 3 D1987 Expansion 4 D1988 Expansion 5 and so on and so on … … 3)D300 representation is as follows: In the example program.the read address D1984 of the first expansion module is assigned as K300.which means that the starting address of the channel output of the expansion module is D300 (S1).
Page 73
3.2 Analog output sample program description Example description Analog output address: As mentioned above.assign the write address D1984 of the first expansion module to K300.indicating that the starting address of the channel output of the expansion module is D300 (S1).and the user can customize the starting address.that is.change the value of K300.
Page 74
HSE analog expansion HSE-4AOS. HSE-4AO 1. HSE-4AO. HSE-4AOS specification Model HSE-4AOS HSE-4AO AO channel 0-10V -10V-10V( ) Voltage output (K0-K4095) K-2047~K2047 0-20mA ;4-20mA 0-20mA ;4-20mA Current output (K0-K4095) (K0-K4095) Resolution 12bits 12bits 2. Wiring Output: current type Wiring method: V is not connected.signal is connected to I.G is connected to 0V Voltage type Wiring method: I do not connect.the signal connects to V.and G connects to 0V 3.
Page 75
HSE RTD temperature expansion HSE-8PT 1. HSE-8PT specification Model HSE-8PT AI Channel Sensor type Support 3-wire PT100 Measuring range -50℃-300℃ 2. Wiring 3-wire PT100: If the 3 wires are A.B.and C respectively.if the resistance value between A and B.A and C is about 100 ohms with a multimeter.then A is the common wire.connect to L- of HSE-8PT .and the other two wires B and C can be connected to L+ and I+ of HSE-8PT at will.
Page 76
1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1...
Page 77
Output address Function The average number of sampling (default is H99999999).the larger the average value.the D300(S2)~ D301(S2)+1 slower the temperature response.but the more stable the temperature D302(S2)+2 PT100mode (default is 0) D303~D334(S2)+3~(S2)+34 System parameters.users should not use 77 / 129...
Page 78
HSE thermocouple Temperature Extension HSE-2TC-A 1. HSE-2TC-A specification Input/output Function Port 2 channel temperature thermocouple input, TC0,TC1 AI points 0-900℃ 2 channel SSR solid-state Relay AC AC output point Y0,Y1 output).driving heating rods within 500W Y2,Y3 DC transistor output 2 channel NPN transistor output.Irate = 0.5A 2.
Page 79
2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1 D1985 Expansion 2 D1986 Expansion 3 D1987 Expansion 4 D1988 Expansion 5 and so on and so on … … 3)Analog temperature input address In the example.the read address D1968 of the first expansion module is assigned as K200.which means the start address D200 (S) for reading the temperature of the expansion module.
Page 80
HSE thermocouple Temperature Extension HSE-8TC 1. HSE-8TC specification Model HSE-8TC AI points 8 points Sensor type Type K thermocouple Measuring range 0-900℃ Resolution 0.1℃ 2. Programming example Note: The example is based on the 1st extension connected to the MPU. 80 / 129...
Page 81
2.1. Analog input sample program description: 1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984...
Page 82
3) Analog output address In the example.the write address D1984 of the first expansion module is assigned as K300.which means the start address D300 (S2) for temperature writing of the expansion module. The user can define the start address.that is.change the value of K300. The specific representation is as follows: Output address Function...
Page 84
HSE thermocouple Temperature Extension HSE-4TCY 1. HSE-4TCY specification Model HSE-4TCY 4points(TC0~TC3),Isolated AI points Sensor type Type K thermocouple Measuring range 0-900℃ Resolution 1℃ Y0~Y3(Rated output current0.5A) NPN type transistor output Output port definition method: Note: The starting number of expansion I/O input and output starts with the last number of the MPU or ...
Page 85
2.1. Analog input sample program description: 1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984...
Page 86
3)Analog temperature input address In the example.the read address D1968 of the first expansion module is assigned as K200.which means the start address D200 (S) for reading the temperature of the expansion module. user can define the start address.that is.change the value of K200. The specific representation of the analog temperature input address is as follows: Temperature input address...
Page 87
HSE thermocouple Temperature Extension HSE-8TCY 1. HSE-8TCY specification Model HSE-8TCY 4points(TC0~TC7),Isolated AI points Sensor type Type K thermocouple Measuring range 0-900℃ Resolution 1℃ Y0~Y7(Rated output current0.5A) NPN type transistor output Output port definition method: Note: The starting number of expansion I/O input and output starts with the last number of the MPU or ...
Page 88
2.1. Analog input sample program description: 1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984...
Page 89
3) Analog output address In the example.the write address D1984 of the first expansion module is assigned as K300.which means the start address D300 (S2) for temperature writing of the expansion module. The user can define the start address.that is.change the value of K300. The specific representation is as follows: Output address Function...
Page 90
HSE weighing extension HSE-2L. HSE-4L 1. HSE-2L. HSE-4L specification Model HSE-2L HSE-4L AI points Resolution 24bits 24bits Mark Signal+ Signal- 2. Programming example 2.1 Analog input sample program description Note: HSE-2L program can refer to HSE-4L. The example is the first one after the extension is connected to the host.
Page 91
2. Trigger mode.unipolar.Gain=64.rate is 25 Sps 1)Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984...
Page 92
3)Definition of analog write-in address Address Function D8000(S) Weighing work mode D8001(S)+1 Weighing configuration mode In the example.the write address D1984 of the first expansion module is assigned as K8000.which means that the start address written by the expansion module is D8000 (S). The user can define the start address.that is.change the value of K8000.
Page 93
Bit7~ Bit0 bit4~bit7 indicate the working mode of CH0~CH3. Working D8000(S) 1 means working in trigger mode.0 means working in continuous mode mode Bit0~bit3 indicate the status of CH0~CH3 when trigger is executed. 1 means the trigger is executed.0 means no trigger is executed. Bit7 Bit6 Bit5...
Page 94
4)Weighing configuration mode address D8001 (S) + 1 parameter settings are as follows: D8001(S)+1 Polarity Bit4~ Bit6 is Gain Bit0~ Bit3 is the weighing acquisition speed Bit7 Bit6 Bit5 Bit4 Gain Bit3 Bit2 Bit1 Bit0 Speed(Sps) Gain=1 100 Sps Gain=2 50 Sps Gain=4 25 Sps...
Page 95
Weighing input address Function 32bits:D7000(S2) CH0 current weight 32bits:D7002(S2)+2 CH1 current weight 32bits:D7004(S2)+4 CH2 current weight 32bits:D7006(S2)+6 CH3 current weight 32bits:D7008(S2)+8 CH0 the original AD value 32bits:D7010(S2)+10 CH1 the original AD value 32bits:D7012(S2)+12 CH2 the original AD value 32bits:D7014(S2)+14 CH3 the original AD value 32bits:D8002(S)+2(floating)...
Page 96
2.2 Explanation of the example program (the CH0 weighing example) Example of weighing calibration program (it needs to work in continuous mode.i.e. D8000=H0) 96 / 129...
Page 97
Since the current weight AD value has a linear relationship with the engineering value.it can be deduced by the formula y=kx+b Before calibration (there is no weight on the scale) Operation method: Do not put any material on the scale after the line is connected. When the scale is stationary.turn M10 ON.and the analog value of the current weight is transmitted to D10.
Page 98
Calibration (The calibration weight depends on the actual situation. In the example.a 200-gram weight is used.and the accuracy is 0.01g.that is.if the current weight of D7000 in the program displays K20000.it means the actual weight is 20000*0.01=200g) Operation method: Put a 200g weight on the scale.and after it is still stable.set M11 ON.
Page 99
HSE Solid Relay Output Extension HSE-4S-A 1. HSE-4S-A specification Model HSE-4S-A 4points(SSR Solid Relay AC Output) AO points 2. Wiring HSE-4S-A mainly used to drive the AC vibrating plate.the wiring method is as follows: 99 / 129...
Page 100
3. Programming example 3.1 Analog input sample program description Note: The example is the first one after the extension is connected to the host. 1)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1 D1985 Expansion 2 D1986 Expansion 3 D1987...
Chapter II. HTE series expansion Thank you for using HTE series standard expansion modules. This series provides digital modules.analog modules.temperature modules.function modules.etc. Expansion modules can only be connected to the company's mainframe. To ensure the correct installation and operation of this product.please read this manual carefully before use.
Page 102
Product Size Extension ports 6 Power.Run.Error Indicators 2 Label 7 Input/output Indicators 3 Input/output terminal 9 Model 4 DIN rail fixing buckle 10 Input/output mark LED System status self-diagnosis POW (24V power indicator) On: 24VDC power supply is normal Off: No 24VDC power supply COM (extension indicator) ...
Page 103
HTE series digital expansion Note: The starting number of expansion I/O input and output starts with the last number of the input/output point of the host. The numbers of the expansion I/O are arranged in sequential order. If the last point of the host is X n□...
Page 104
HTE series analog expansion HTE-4AI2AOS 1. HTE-4AI2AOS specification Model HTE-4AI2AOS AI channel AO channel 0-5V;0-10V AI voltage type AO voltage type 0-10V 0-20mA;4-20mA AI/AO current type Resolution: Type Resolution 0-5V;0-10V(AI) K0-K4095(12bits) K0-K4095(12bits) 0-20mA 0-10V(AO) K0-K4095(12bits) 2. Wiring Input: Current type (0-20mA) Wiring method: I and V are short-circuited.the signal is connected to V.and G is connected to 0V Voltage type (0-10V;...
Page 105
3. Programming example 3.1 Analog input sample program description Note: The example is based on the 1st extension connected to the MPU Example description: 1) Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971...
Page 106
2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1 D1985 Expansion 2 D1986 Expansion 3 D1987 Expansion 4 D1988 Expansion 5 and so on and so on … … 2)D300 representation is as follows: In the example program.the read address D1984 of the first expansion module is assigned as K300.which means that the starting address of the channel output of the expansion module is D300 (S1).
Page 107
3.2 Analog output sample program description Example description Analog output address: As mentioned above.assign the write address D1984 of the first expansion module to K300.indicating that the starting address of the channel output of the expansion module is D300 (S1).and the user can customize the starting address.that is.change the value of K300.
Page 108
HTE analog expansion HTE-4AO 1. HTE-4AO specification Model HTE-4AO AO channel -10V-10V( ) Voltage output K-2047~K2047 0-20mA ;4-20mA Current output (K0-K4095) Resolution 12bit 2. Wiring Output: current type Wiring method: V is not connected.signal is connected to I.G is connected to 0V Voltage type Wiring method: I do not connect.the signal connects to V.and G connects to 0V 3.
Page 109
HTE analog expansion HTE-8AI 1. HTE-8AI Model HTE-8AI AI channel 0-10V( AI voltage type K0-K4095,12bits) 0-20mA( ; AO voltage type K0-K4095,12bits) 2. Wiring Input: Current type (0-20mA) Wiring method: I and V are short-circuited.the signal is connected to V.and G is connected to 0V Voltage type (0-10V) Wiring method: I do not connect.the signal connects to V.and G connects to 0V 3.
Page 110
1) Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984 Expansion 1...
Page 111
3)D300 representation is as follows: In the example program.the read address D1984 of the first expansion module is assigned as K300.which means that the starting address of the channel output of the expansion module is D300 (S1). The user can define the starting address.that is.change the value of K300. Output start address Function D300-D301 S1-(S1)+1...
Page 112
HTE weighing extension HTE-2L. HTE-4L 1. HTE-2L. HTE-4L specification Model HTE-2L HTE-4L AI points Resolution 24bits 24bits Mark Signal+ Signal- 2. Programming example The functions of HTE-4L and HTE-2L are exactly the same as those of HSE-2L and HSE-4L. For the programming method.please explain the parameter SE weighing extension HSE-2L and HSE-4L.
HTE Series Analog Expansion HTE-1T-1AO 1. Specification Model HTE-1T-1AO AI channel AO channel Resolution: Type Resolution 0-5V K0-K4095(12bits) 2. Wiring Voltage type (0-10V; 0-5V) Wiring method: I do not connect. the signal connects to V.and G connects to 0V 3. Programming example Note: The example is based on the 1st extension connected to the host.
Page 114
Example description: 1) Expansion module read address definition Expansion module read address Function D1968 Expansion 1 D1969 Expansion 2 D1970 Expansion 3 D1971 Expansion 4 D1972 Expansion 5 and so on and so on … … 2)Expansion module write-in address definition Expansion module write-in address definition Function D1984...
Appendix I Example of Multiple Extension Definition Example: The following figure shows the PLC installation sequence Model Extension1 Extension2 Extension3 Extension4 HSE-16T HCG2-24T-D (Digital expansion does not need HSE-4AI2AOS HSE-8PT HSE-4AOS to be defined.but still occupies) read system D1968 D1969 D1970 D1971 address...
Page 116
3. HSE-8PT is the third extension connected to the host.so the extension definition read/write start system address is D1970/D1986.the sample program is: 4. HSE-4AOS is the fourth extension connected to the host.so the extension defines the read/write start system address as D1971/D1987. Since HSE-4AOS is an analog input.D1987 does not need to be defined.
Appendix III MPU Wiring Diagram Input wiring method Sink input: S/S connected to external +24V Connect a no-voltage contact or NPN open-collector transistor output between the input (X) terminal and the [0V] terminal.and the input (X) is ON when it is turned on. At this time.the LED for indicating input lights up.
Relay output The relay output type product is a 4-point common terminal output type product.which can drive loads of different loop voltage systems (such as AC200V.DC24V.etc.) with each common terminal as a unit. 120 / 129...
Page 121
HCG2 series PLC wiring diagram DC24V power input.transistor NPN output 121 / 129...
Page 122
DC24V power input,relay output 122 / 129...
Page 123
AC220V power input.transistor NPN output 123 / 129...
Page 124
AC220V power input.Relay output 124 / 129...
Page 125
HCD2/HCH2 series PLC wiring diagram AC220V power input.transistor NPN output HCD2 series hosts with dual network ports LAN1 and LAN2 are both Ethernet. HCH2 series host with dual network ports LAN1 is Ethernet.LAN2 is EtherCAT. 125 / 129...
Page 126
DC24V power input.transistor NPN output 126 / 129...
Page 127
AC220V power input. relay output 127 / 129...
Page 128
DC24V power input. relay output 128 / 129...
Page 129
Edition: V1.1 Thanks for choosing HNC product. Any technique support.please feel free to contact our support team Tel: 86(20)84898493 Fax: 86(20)61082610 URL: www.hncelectric.com Email: support@hncelectric.com 129 / 129...
Need help?
Do you have a question about the HC2 Series and is the answer not in the manual?
Questions and answers