Keep this manual in a safe location for reference whenever necessary. Types of Manuals The following user’s manuals are available for the SC-HG1-C series. Refer to the appropriate manual according to your need. The user’s manuals are also available for download from our website (https://panasonic.net/id/ pidsx/global).
Structure of this manual Cautions for safe use of the product, terminology, contents 1 Before Using This Product of the package, and names and functions of the parts of the product. Types of controllers that can be connected to the product 2 System Configuration and restrictions.
Frequently asked questions Question Section Page I want to learn about communication 4-10 Commands 4-34 page commands 4-10-3 Command sending proce- I want to set threshold values 4-50 page dure 4-6 Judgment output reading I want to acquire controller output 4-30 page 4-8 Continuous reading of mea- I want to acquire measured values...
4 CC-LINK Network Communication ······························································ 4-1 4-1 Overview of communication ························································· 4-2 4-1-1 Communication with master station ············································4-2 4-1-2 SC-HG1-C and controller communication ····································4-3 4-2 Explanation of modes ································································· 4-4 4-3 Memory map ············································································· 4-5 4-3-1 CC-Link mode 1 ·····································································4-5 4-3-2 CC-Link mode 2 ···································································...
Page 7
4-10 Commands ··········································································· 4-34 4-10-1 HG-S series command list ···················································· 4-34 4-10-2 HG-T series command list ···················································· 4-39 4-10-3 Command sending procedure ··············································· 4-50 4 -11 Reading received light waveforms (For the HG-T only) ·················· 4-54 4-11-1 Format of received light waveform ·········································· 4-54 4-11-2 Reading measured waveforms ··············································...
1 Before Using This Product 1-1 Safety rules ·············································································1-2 1-2 Safety information ·····································································1-3 1-3 Glossary ·················································································1-5 1-4 Contents of package ··································································1-6 1-5 Description of parts ···································································1-7...
Before Using This Product 1-1 Safety rules Always observe This section explains important rules that must be observed to prevent human injury and prop- erty damage. ■The hazards that may occur if the product is used incorrectly are described and classified by level of harm.
Before Using This Product 1-2 Safety information WARNING ● Never use this product as a sensing device for personnel protection. ● When using sensing devices for personnel protection, use products that meet the laws and stan- dards for personnel protection that apply in each region or country, such as OSHA, ANSI and IEC. Specifications ●...
Page 12
Before Using This Product Other matters ● Never attempt to disassemble, repair, or modify the product. ● When the product becomes unusable or unneeded, dispose of the product appropriately as industrial waste. ● Design the system so that system trouble protection and safety circuits are located externally. ●...
Before Using This Product 1-3 Glossary Term Meaning A function in Data Link for communication with other stations using peripheral devices, including reading or writing data from / to another Transient transmission station by means of a read / write command in the program of the local station.
Before Using This Product 1-4 Contents of package The following accessories are included in the product package. Before using the product, make sure that no items are missing. ● Communication unit: 1 pc. ● Instruction manual ● General Information for Safety,Compliance, and Instructions WUME-SCHG1C-4...
Before Using This Product 1-5 Description of parts <Switch cover removed> Name Function Set the CC-Link station number to a value from 1 to 64. Station number setting (Do not set to 0, or 65 or higher.) switch [Factory default state: 1] Set the CC-Link communication speed.
2 System Configuration 2-1 Communication unit system ························································· 2-2 2-2 Unit types ················································································· 2-4...
Dedicated cable certified by CC-Link Partner Association (shielded 3-conductor twisted-pair cable). (Please obtain separately) To power supply Controller - master To master (optional) station Controllers - slave (optional) (Maximum of 14 units are connectable) MS-DIN-E end plate (optional) or commercially available fitting SC-HG1-C WUME-SCHG1C-4...
Page 19
HG-SC□ Controller - Slave unit HG-SC□ Controller - Slave unit HG-TC□ SC-HG1-C ● If HG-SC series and HG-TC series controllers are used in combination, there are limitations on the functions below. Item Description of limitation Calculation is only performed when the slave unit is the same series as the master unit.
System Configuration 2-2 Unit types Communication unit Product name Appearance Model SC-HG1-C CC-Link communication unit Controller ● HG-SC series Type Appearance Model Output High-performance HG-SC101 NPN open-collector transistor type Analog current HG-SC101-P PNP open-collector transistor High-performance HG-SC111 NPN open-collector transistor...
Page 21
System Configuration ● HG-TC series Type Appearance Model Output High-performance HG-TC101 NPN open-collector transistor type Analog current HG-TC101-P PNP open-collector transistor High-performance HG-TC111 NPN open-collector transistor type Analog current HG-TC111-P PNP open-collector transistor Wire-saving type HG-TC113 — ● When connecting slave units to a master unit, connect only NPN output types, or only PNP output types.
Installation and Settings 3-1 Steps prior to operation The steps that are required prior to operation are indicated below. Check column Page Station number and communication speed settings “3-2-2 Communication unit settings” Follow the setting procedures to set the product's station number and communication speed.
Installation and Settings 3-2 Settings 3-2-1 CC-Link communication settings When connecting the product to a master station, configure the settings below. <Slave station settings> Register the product as a remote device station in the master station. You can use CSP+ (CC-Link System Profile) to easily configure CC-Link communication set- tings.
Installation and Settings 3-2-2 Communication unit settings After changing the settings, be sure to turn the power OFF and then ON. Follow the procedure below to configure the settings. Set the station number (1 to 64) with the station number setting switch. Station number setting switch Note: If you set the station number setting switch to 0 or 65 or higher, an error will occur.
Page 27
Installation and Settings CC-Link mode 1 CC-Link mode 2 CC-Link mode 3 Mode setting switch SW No. Not used (Always keep unused switches in the OFF position.) CC-Link Ver.2.00 CC-Link Ver.2.00 CC-Link Ver.1.10 Number of occupied sta- Number of occupied sta- Remarks Number of occupied sta- tions: 2...
Installation and Settings 3-3 Installation 3-3-1 Mounting ■ Mounting on a DIN rail Insert the rear of the mounting part into the DIN rail. While pressing down on the rear of the mounting part, insert the front of the mounting part into the DIN rail.
Installation and Settings 3-3-2 Connection This product must be connected to a controller. Up to 15 controllers (one master controller and 14 slave controllers) can be connected to the product. ● Always shut OFF the power before connecting the product to, or disconnecting the prod- uct from, a controller.
Page 30
Installation and Settings Attach end plates MS-DIN-E (optional) with the flat side facing in so as to enclose the con- nected units at the ends. (Note 2) Note 2: If an end plate is attached, the mode setting switch cannot be operated. Tighten the screws to fasten the end plates.
Installation and Settings 3-3-3 Pin layout Client device (or host device) Host device (or client device) 3-3-4 Host communication cable connection ● Make sure that the power supply is OFF while performing wiring work. ● For the communication cable, use a dedicated cable that is certified by CC-Link Partner Association.
Installation and Settings 3-3-5 Procedure for connecting the CC-Link connector For the communication cable, use a CC-Link dedicated cable (shielded, 3-conductor, twisted pair cable). ■ Communication cable work procedure Strip off the jacket on the dedicated cable as shown below. When stripping off the jacket, take care not to damage the shield braid inside the dedicated cable.
Page 33
Installation and Settings ■ Procedure for connecting to the CC-Link connector Insert the stranded wire (lead wire) in the ferrule (sleeve) terminal fully into the connection hole in the CC-Link connector. When inserted correctly, the wire is locked and cannot be pulled out. Take care not to pull with excessive force, as the wire may break.
3-3-6 Attachment and removal of termination resistor ■ Attaching a termination resistor Be sure to attach a termination resistor (obtain separately) to the end SC-HG1-C. Attach the termination resistor to "DA" and "DB" on the communication connector. To attach, insert sufficiently into the connection hole while pressing the release button.
CC-LINK Network Communication 4-1 Overview of communication 4-1-1 Communication with master station Data is exchanged between the communication unit and master station using link devices. There are four types of link devices: “Remote input RX”, “Remote output RY”, “Remote register RWr”, and “Remote register RWw”.
CC-LINK Network Communication 4-1-2 SC-HG1-C and controller communication This product automatically converts CC-Link network communication data, and performs com- munication with connected controllers. CC-Link network communication can be used to read and write input / output and settings of connected controllers.
CC-LINK Network Communication 4-2 Explanation of modes To use this product, CC-Link mode settings are required. Refer to the flow chart below to config- ure the settings. Mode selection flow chart CC-Link version of host communication device Ver.1.10 Ver.2.00 CC-Link mode 1 I want to reduce the num- I want to update data as quickly ber of occupied stations...
CC-LINK Network Communication 4-3 Memory map 4-3-1 CC-Link mode 1 ■ Remote input RX (Mode 1 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of bits. Values cannot be written to this register.
Page 40
CC-LINK Network Communication Name Device No. Description Page1 to page3 RY[10] to [12]: Response bit to pages 1 to 3. RX[10] to [12] (*4) (*5) The bits corresponding to the current page settings are set. Judgment output 1 Status of output 1 (OUT1) of a connected controller. RX[20] to [2E] (OUT1) This bit is set when the output is ON.
Page 41
CC-LINK Network Communication ■ Remote register RWr (Mode 1 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of words (16 bits). Values cannot be written to this register. Controller assingments are changed to RWr[02] to [0F]: sensor response data dpending on the RY[10] to [12]: page 1 to 3 setting.
Page 42
CC-LINK Network Communication Page 3 When judgment value / normal measured value / calculated value / sensor head value mode is set → 0x0000 (fixed value) When error mode is set → Communication unit error code (lower word) When command mode is set → Command response sensor Not used Slave Slave...
Page 43
CC-LINK Network Communication ■ Remote output RY (Mode 1 master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of bits. Before using mode 1, be sure to configure the “page” settings. For details, refer to “Page settings”.
Page 44
CC-LINK Network Communication Name Description External input 2 Controls external input 2 on the controller. RY[30] to [3E] (IN2) (*6) When this bit is set, external input 2 turns ON. External input 3 Controls external input 3 on the controller. RY[40] to [4E] (IN3) (*6) When this bit is set, external input 3 turns ON.
Page 45
CC-LINK Network Communication ■ Remote register RWw (Mode 1 master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of words (16 bits). Controller assingments are changed to RWr[02] to [0F]: sensor response data dpending on the RY[10] to [12]: page 1 to 3 setting.
Page 46
CC-LINK Network Communication Page 3 Command request sensor Not used Slave Slave Slave Slave Slave Slave Slave Slave Slave Slave Slave Slave Slave Slave Master unit 14 unit 13 unit 12 unit 11 unit 10 unit 9 unit 8 unit 7 unit 6 unit 5 unit 4...
Page 47
CC-LINK Network Communication ■ Page settings Before using the product in CC-Link mode 1, be sure to configure the page settings. The page settings set the controller assignments in the remote registers (RWr, RWw). If the page settings are not set, controllers are not assigned to the remote registers (RWr, RWw) and data such as controller judgment values cannot be exchanged.
Page 48
CC-LINK Network Communication 4-3-2 CC-Link mode 2 ■ Remote input RX (Mode 2 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of bits. Values cannot be written to this register. <Remote input RX>...
Page 49
CC-LINK Network Communication Name Device No. Description Judgment output 1 Status of output 1 (OUT1) of a connected controller. RX[20] to [2E] (OUT1) This bit is set when the output is ON. Judgment output 2 Status of output 2 (OUT2) of a connected controller. RX[30] to [3E] (OUT2) This bit is set when the output is ON.
Page 50
CC-LINK Network Communication ■ Remote register RWr (Mode 2 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of words (16 bits). Values cannot be written to this register. <Remote register RWr>...
Page 51
CC-LINK Network Communication <Setting details> Name Device No. Description ● When judgment value / normal measured value / calculated value / sensor head value mode is set → fixed value 0x0000 is stored ● When command mode is set → The bit corresponding to the control- Command response RWr[00] sensor...
Page 52
CC-LINK Network Communication ■ Remote output RY (Mode 2 Master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of bits. <Remote output RY> Command Sensor response data switching request request Normal Not used...
Page 53
CC-LINK Network Communication Name Description This bit is set as a response when the product issues an initialization re- Initialization done RY[178] quest to the master station. This is not used because the product does not issue initialization requests. Setting initialization RY[179] Set this bit to repeat initialization of the product's settings.
Page 54
CC-LINK Network Communication ■ Remote register RWw (Mode 2 master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of words (16 bits). <Remote register RWw> Command request sensor Not used Slave Slave...
Page 55
CC-LINK Network Communication 4-3-3 CC-Link mode 3 ■ Remote input RX (Mode 3 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of bits. Values cannot be written to this register. <Remote input RX>...
Page 56
CC-LINK Network Communication Name Device No. Description Judgment output 1 Status of output 1 (OUT1) of a connected controller. RX[20] to [2E] (OUT1) This bit is set when the output is ON. Judgment output 2 Status of output 2 (OUT2) of a connected controller. RX[30] to [3E] (OUT2) This bit is set when the output is ON.
Page 57
CC-LINK Network Communication ■ Remote register RWr (Mode 3 communication unit → Master station) This is a read-only register for input from the communication unit to the master station in units of words (16 bits). Values cannot be written to this register. <Remote register RWr>...
Page 58
CC-LINK Network Communication <Setting details> Name Device No. Description ● When judgment value / normal measured value / calculated value / sensor head value mode is set → fixed value 0x0000 is stored ● When command mode is set → The bit corresponding to the control- Command response RWr[00] sensor...
Page 59
CC-LINK Network Communication ■ Remote output RY (Mode 3 master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of bits. <Remote output RY> Command Sensor response data switching request request Normal Not used...
Page 60
CC-LINK Network Communication Name Description This bit is set as a response when the product issues an initialization re- Initialization done RY[1B8] quest to the master station. This is not used because the product does not issue initialization requests. Setting initialization RY[1B9] Set this bit to repeat initialization of the product's settings.
Page 61
CC-LINK Network Communication ■ Remote register RWw (Mode 3 master station → Communication unit) This is a write-only register for output from the master station to the communication unit in units of words (16 bits). <Remote register RWw> Command request sensor Not used Slave Slave...
The controllers are automatically assigned in the memory map starting from the master unit and continuing in order from slave unit 1. The order cannot be changed. Example: Mode 3 remote register RWr SC-HG1-C Controller Command response sensor Not used...
CC-LINK Network Communication 4-5 Initial operation after power is turned ON After the power is turned on, the communication unit cannot start communication until it completes initial transient processing such as initialization. When the unit is ready for communication after the power is turned on, the RX[7B]: remote ready flag (*1) bit is automatically set.
Example: To check the external output signal and alarm function signal of the master unit, read RX[20], [30], [40], [50]. 4-7 External input Control of external input from the master unit cable and external input from the SC-HG1-C is by OR operation. Settings from the SC-HG1-C and input from external input are by OR operation.
CC-LINK Network Communication 4-8 Continuous reading of measurement data If you want to continuously read judgment values, normal measured values, calculated values, and sensor head values at once from all connected controllers, you can use a sensor response data switching request to change to each mode and continuously read the values without the need for commands.
Page 66
CC-LINK Network Communication If the operation mode is CC-Link mode 1, set RY[10]: page 1. Page 1 setting is requested, and RX[10]: page 1 is set. In CC-Link mode 1, always configure the page settings. The page settings of the sensor response data (master unit, slave units 1 to 14) are as shown in the table below.
CC-LINK Network Communication 4-9 Error mode To read the error code of an error that recently occurred, use error mode. If multiple errors occurred sequentially, only the error code of the last error is read. Codes can only be read of errors that occurred since the communication unit power was turned When the communication unit is restarted, the codes of errors that occurred prior to that time are cleared.
CC-LINK Network Communication 4-10 Commands 4-10-1 HG-S series command list The following table shows the command parameters that are used to read and write controller settings and statuses and to send operation commands to controllers. For details on each item, refer to the “HG-S User’s Manual”. Attributes (R: Read, W: Write, R/W: Read/Write) Command Attribute...
Page 69
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Integer indicating minimum resolution units of controller. Minimum value during P-P 0x0023 If the measurement mode is not P-P or P-P/2, a measurement judgment value is output. -1999999 to 1999999 0x0024 to 0x003F System reserved Do not use.
Page 70
CC-LINK Network Communication Command Attribute Name Response/Setting parameter 2nd point calibration execution Acquire the 2nd point measurement value. 0x0054 (CL.SET2) Specify "0". Integer indicating minimum resolution units of 1-point teaching tolerance set- 0x0055 controller. ting (TOL<±>) -1999999 to 1999999 1st point teaching execution Execute 1st point of teaching.
Page 71
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Integer indicating minimum resolution units of 0x0105 R/W Self trigger level (SLF.LV) controller. -1999999 to 1999999 Integer indicating minimum resolution units of 0x0106 R/W Static width (DLY.WD) controller. -1999999 to 1999999 Self trigger delay timer 0x0107 Delay time: 0 to 9999ms (DLY.TIM)
Page 72
CC-LINK Network Communication Notes: 1) Usable ASCII character codes (0x20 is a “space”) 1st digit F E D C B A 9 8 7 6 5 4 3 2 1 0 > < 9 8 7 6 5 4 3 2 1 0 4 O N M L K J I H G F E D C B A Z Y X W V U T S R Q P 2) This function can be used on HG-SC series controllers manufactured in February 2019 and later.
CC-LINK Network Communication 4-10-2 HG-T series command list The following table shows the command parameters that are used to read and write controller settings and statuses and to send operation commands to controllers. For details on each item, refer to the “HG-T User’s Manual”. Attributes (R: Read, W: Write, R/W: Read/Write) Command Attribute...
Page 74
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Integer indicating minimum resolution units of controller. Maximum value during P-P 0x0022 If the measurement mode is not P-P, a judgment measurement value is output. -1999999 to 1999999 Integer indicating minimum resolution units of controller.
Page 75
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Integer indicating minimum resolution units of Scaling lower limit value 0x004F controller. (ANA.LO) -1999999 to 1999999 1: 0.001 Number of digits displayed 0x0050 2: 0.01 (DIGIT) 3: 0.1 0: Default Calibration selection 0x0051 1: User setting (CAL.SEL)
Page 76
CC-LINK Network Communication Command Attribute Name Response/Setting parameter 0x00A3 to 0x00FF ‒ System reserved Do not use. 0x0100 to 0x0112 ‒ Other model command area Do not use. 0x0113 to 0x02FF ‒ System reserved Do not use. 0: Auto edge detection mode 1: Edge detection mode 0x0300 R/W Operation mode (OP.MODE)
Page 77
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Alarm state selection 0: HOLD (hold previous value) 0x0309 (ALM.CND) 1: ALARM (alarm output) 0x030A to 0x030B System reserved Do not use. 0: Stain check OFF (OFF) 1: Low sensitivity setting ON (LOW) 0x030C R/W Stain check (STA.CHK) 2: High sensitivity setting ON (HIGH)
Page 78
CC-LINK Network Communication Command Attribute Name Response/Setting parameter 0: Normal measured value 1: Calculated value (during calculation) 2: Label 0x031C R/W Display switching mode 3: LOW set value 4: HIGH set value 5: Sensor head measured value 6: Work insertion direction (Note 2) Controller cumulative run time 0x031D Units of 1 hour...
Page 79
CC-LINK Network Communication Command Attribute Name Response/Setting parameter End beam axis adjustment. 0x0364 Beam axis adjustment end Specify "0". 0x0365 to 0x036F System reserved Do not use. bit0 to bit7 : Select a waveform type. 0x00 : Reference waveform 0x10 : Waveform during beam axis adjust- ment 0x11 : Measured waveform bit8...
Page 80
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Obtains four bytes of received light waveform 0x037B Waveform read data 11 data (“Received light intensity 40” to “Received light intensity 43”) Obtains four bytes of received light waveform 0x037C Waveform read data 12 data (“Received light intensity 44”...
Page 81
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Obtains four bytes of received light waveform 0x038E Waveform read data 30 data (“Received light intensity 116” to “Received light intensity 119”) Obtains four bytes of received light waveform 0x038F Waveform read data 31 data (“Received light intensity 120”...
Page 82
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Obtains four bytes of received light waveform 0x03A1 Waveform read data 49 data (“Received light intensity 192” to “Received light intensity 195”) Obtains four bytes of received light waveform 0x03A2 Waveform read data 50 data (“Received light intensity 196”...
Page 83
CC-LINK Network Communication Command Attribute Name Response/Setting parameter Integer indicating minimum resolution units of Measured value at the time of 0x03B2 controller. waveform reading (HEAD.V) -1999999 to 1999999 • Edge position 0 Edge position at the time of bit8 to bit15: 0x00 to 0xFF 0x03B3 waveform reading •...
CC-LINK Network Communication 4-10-3 Command sending procedure Use this procedure to select a destination controller and send a command once only to that controller. There is a slight difference in the operation of read commands and write commands. <Read command sending procedure> This section explains the procedure for using the command transmission function to read con- troller information.
Page 85
CC-LINK Network Communication Check that RX[7B]: remote ready flag (*1) is set. Set the RY[0C]: command flag. This puts the communication unit in command mode, and the RX[0C]: command flag is set. Clear sensor response data switching request flags other than the command flag in advance.
Page 86
CC-LINK Network Communication <Write command sending procedure> This section explains the procedure for using the command transmission function to write set- ting information to a controller. The example of sending the LOW set value command “0x0014” (write) to a master unit and slave units 1 to 3 is used.
Page 87
CC-LINK Network Communication Check that RX[7B]: remote ready flag (*1) is set. Set the RY[0C]: command flag. This puts the communication unit in command mode, and the RX[0C]: command flag is set. Clear sensor response data switching request flags other than the command flag in advance.
CC-LINK Network Communication 4 -11 Reading received light waveforms (For the HG-T only) When reading received light waveforms, select measured waveforms, reference waveforms, or waveforms during beam axis adjustment (Note 1), so that you can read waveform data and other information. Note: For details on waveforms during beam axis adjustment, refer to “4-12 Registering the reference wave- form (For the HG-T only)”.
Page 89
CC-LINK Network Communication Received light intensity Judgment level TOP side BOTTOM side Edge position 0 Edge information 1: Rising edge Edge information 2: Only one edge enabled Received light intensity Judgment level TOP side BOTTOM side Edge position 0 Edge position 1 Edge information 1: Falling edge Edge information 2: Both edges...
CC-LINK Network Communication 4-11-2 Reading measured waveforms The following procedure is used to read waveforms. ■ Flowchart of measured waveform reading 1. "Waveform read setting" (WRITE) The command selects a waveform type (measured waveform). 2. "Waveform read setting" (READ) The command saves the current waveform information into the controller. 3.
Page 91
CC-LINK Network Communication ■ Examples of sent commands Send the “Waveform read setting” command (WRITE) to set the waveform type. (Command code: 0x0370) Send this command only for the first time after starting the communication unit or when switching the type of the waveform to be read. Write data High Bit15...
Page 92
CC-LINK Network Communication To read the measured value associated with the saved waveform, send the “Measured value at the time of waveform reading [HEAD.V]” command (READ). (Command code: 0x03B2) If the response is normal, the following response data will be returned. Read data Measured value: Measured value:...
CC-LINK Network Communication send the command. 4-11-3 Reading reference waveforms The following procedure is used to read waveforms. ■ Flowchart of reference waveform reading 1. "Waveform read setting" (WRITE) The command selects a waveform type (reference waveform). 2. "Waveform read setting" (READ) The command saves the current reference waveform information into the controller.
Page 94
CC-LINK Network Communication ■ Examples of sent commands Send the “Waveform read setting” command (WRITE) to set the waveform type. (Command code: 0x0370) Send this command only for the first time after starting the communication unit or when switching the type of the waveform to be read. Write data High Bit15...
Page 95
CC-LINK Network Communication To obtain the measurement range (between the measurement start point and measurement end point), send the “Measurement range acquisition” command (READ) (command code: 0x03B1). If the response is normal, the following response data will be returned. Read data Measurement end point Measurement start point 0x00 to 0xFF 0x00 to 0xFF...
CC-LINK Network Communication 4-12 Registering the reference waveform (For the HG-T only) The following flowchart shows the procedure for reading and registering waveforms to register the reference waveform. To register the reference waveform, you must invoke beam axis adjustment mode. ■...
Page 97
CC-LINK Network Communication Do not register Register the the reference reference waveform waveform (Note 1) 6. “Reference waveform registration 8. “Beam axis adjustment end” execution” (WRITE) (WRITE) (Note 2) 7. “Reference waveform registration status” (READ) Notes: 1) The inside of the frame indicated by the red dotted lines represents beam axis adjustment mode. 2) Beam axis adjustment mode can be terminated at any procedure step by using “8.
Page 98
CC-LINK Network Communication ■ Examples of sent commands Send the “Beam axis adjustment startup” command (WRITE). (Command code: 0x0360) Write data “0”. To adjust the beam axis without checking waveforms, go to Step 5-2. Send the “Waveform read setting” command (WRITE) to set the waveform type. (Command code: 0x0370) Send this command only for the first time after starting the communication unit or when switching the type of the waveform to be read.
Page 99
CC-LINK Network Communication ● Reading waveforms continuously When continuously reading waveforms with the same waveform ID, repeatedly send the commands described in and subsequent steps. The update interval of compressed waveform information is 64 ms. Leave an interval of at least 1 ms when sending each com- mand.
Page 100
CC-LINK Network Communication To check whether the reference waveform has been registered after registering it, send the “Reference waveform registration status” command (READ). (Command code: 0x0363) If the response is normal, the following response data will be returned. Read data High Bit15 Bit14...
Between a controller and a CPU unit, the times from a response data change request until a re- sponse and from a command request until a response are as follows. (*Note that the measured time will vary depending on the operating environment.) • • • SC-HG1-C CPU unit Master station Controller <Reference>...
HG-S series, and HG-T series sensors incorporate the self-monitoring function. The self-monitoring function is not supported by SC-HG1-C communication units manufactured in November 2019 or earlier. Use a SC-HG1-C communication unit manufactured in December 2019 or later.
CC-LINK Network Communication 4-14-2 Statuses and Measures The statuses judged by the self-monitoring function are classified into the following four categories. When the status is “notification”, “caution”, or “fault”, you must check the installation state or maintain or replace the product. Status Description Remarks...
Page 104
CC-LINK Network Communication ● HG-TC series For details on Response Parameter adress, refer to “4-10-2 HG-T series command list”. measurement alarm Response parameter Measures Error code (Note 1) (Note 1) Sensor head unconnected Status check E200 – Connected sensor head incompat- Status check E230 –...
CC-LINK Network Communication 4-15 Other precautions • For the HG-T series controllers, waveform values will be temporarily reset during measurement if the following commands are written. Command code Name Remarks 0x001E BANK LOAD execution (LOAD) ― 0x0046 Average count (SPEED) ―...
Page 108
CC-Link communication unit Model SC-HG1-C Compatible controllers HG-SC□,HG-TC□ Maximum number of Maximum of 15 controllers (one master, 14 slaves) per SC-HG1-C unit connectable controllers Supply voltage (Note) 24V DC ±10%, Ripple 10% or less Current consumption 80mA or less Communication method CC-Link Ver.1.10 / Ver.2.00 Selectable...
Warranty 6-1 When you purchase and use the product The product and specifications described in this manual are subject to change without notice (including specification changes and termination of production). When you place an order, check with the representative to make sure the information in the manual is up to date. Our company works hard to improve product quality and reliability;...
Page 113
Warranty [Scope of warranty] ● If a failure or defect for which our company is responsible is discovered during the warranty period, our company will provide a substitute product or required replacement parts free of charge, or will replace or repair the defective part free of charge at the location where the product was purchased or delivered.
Maintenance 7-1 Maintenance and Inspection 7-1-1 Maintenance cautions • Always turn OFF the power before cleaning the unit. • Never use thinner, benzene, or other organic solvents to clean the unit. • Use a clean, soft cloth to wipe off any dirt that adheres to the unit. 7-1-2 Main inspection items Inspect the unit regularly to maintain performance and enable optimum use.
8 Troubleshooting 8-1 Command error ········································································8-2 8-2 Communication errors ································································8-5 8-3 Description of indicators ·····························································8-6 8-4 What to do when a problem occurs ···············································8-7...
Troubleshooting Solutions to frequently encountered problems and errors are described below. 8-1 Command error A command error will occur in response to a sent command if the command setting is outside the range. Check the error code and take appropriate action. The example of an out-of-range parameter error in slave unit 2 when the LOW set value com- mand "0x0014"...
Page 119
Troubleshooting Check that RX[7B]: remote ready flag (*1) is set. Set RY[0C]: command flag and then check that RX[0C]: command flag is set. This changes the mode to command mode. Clear sensor response data switching request flags other than the command flag in advance. Set the RY[01]: write flag and activate Write mode.
Page 120
Troubleshooting <Table of error codes> The following table shows error codes and corrective actions. Error code Description Action A command was received that is not in the com- The command code is invalid. Check “4-10 0x0064 mand list. Commands” for the correct code. Invalid setting parameter.
Troubleshooting Error code Description Action The maximum number of controllers / slave More than 14 controllers / slave units are con- units that can be connected is 14. Check 3100 0x0C1C nected. the number of connected controllers / slave units. The data link was broken.
Troubleshooting 8-3 Description of indicators You can check the indicators on the product to identify the cause of a problem and take correc- tive action. 1 2 3 Name Function Lights up if the station number setting switch and communication speed setting 1 L ERR.
Troubleshooting 8-4 What to do when a problem occurs ■ Power indicator (Green) is not lit Cause Solution Check if the capacity of the power supply is sufficient. Power is not supplied. Connect the power supply correctly. The power supply voltage is not within the Correctly set the power supply voltage.