background image

10.2 Sample Program

WUME-SCHG1ETC-2

10-4

10.2 Sample Program

1

2

3

4

5

6

Содержание SC-HG1-ETC

Страница 1: ...2019 12 panasonic net id pidsx global EtherCAT compatible Communication Unit for HG Series SC HG1 ETC User s Manual WUME SCHG1ETC 2 ...

Страница 2: ...WUME SCHG1ETC 2 2 MEMO ...

Страница 3: ...ies SC HG1 ETC User s Manual WUME SCHG1ETC Contact Type Digital Displacement Sensor HG S Series HG S User s Manual WUME HGS Thru Beam Type Digital Displacement Sensor HG T Series HG T User s Manual WUME HGT Please note 1 No part of this manual may be reproduced or reprinted in any form or by any means without prior written permission from Panasonic 2 The contents of this manual are subject to chan...

Страница 4: ...ection to external devices and communication setup 4 EtherCAT Network Com munication This chapter explains the communication methods 5 EtherCAT Operating Procedure This chapter explains the network configuration setup method and the procedure for operation after power ON 6 Specification and Dimensions This chapter explains the specifications and dimensions 7 Warranty This chapter explains warranty...

Страница 5: ...le 3 6 3 3 Setup 3 8 3 3 1 Station Aliases 3 8 4 EtherCAT Network Communication 4 1 4 1 Communication Overview 4 2 4 1 1 Communication with Master Device 4 2 4 1 2 Communication between SC HG1 ETC and Controller 4 3 4 2 Memory Allocation 4 4 4 2 1 Object Dictionary 4 4 4 2 2 PDO Mapping 4 6 4 3 Command Transmission Procedure 4 11 4 3 1 Read Command 4 11 4 3 2 Write Command 4 15 4 4 Command List 4 ...

Страница 6: ...Dimensions 6 1 6 1 Specifications 6 2 6 2 Dimensions 6 3 7 Warranty 7 1 7 1 Important Information about Order and Use of This Product 7 2 8 Maintenance 8 1 8 1 Maintenance and Inspection 8 2 8 1 1 Maintenance Precautions 8 2 8 1 2 Main Inspection Items 8 2 9 Troubleshooting 9 1 9 1 Error Codes and Solutions 9 2 9 2 Solutions to Problems 9 4 10 Sample Programs 10 1 10 1 Assumed System Configuration...

Страница 7: ...1 1 1 Before Using This Product 1 1 Safety Precautions 1 2 1 2 Handling Precautions 1 3 1 3 Terminology 1 5 1 4 Contents of Package 1 6 1 5 Name and Function of Each Component 1 7 ...

Страница 8: ...r if the product is used incorrectly are described and classified by level of harm WARNING Risk of death or serious injury CAUTION Risk of minor injury or property damage WARNING Never use this product as a sensing device for personnel protection For sensing devices for personal protection use products that conform to the laws and standards related to personal protection in each country such as OS...

Страница 9: ...f a noticeable reduction of service life Power supply Incorrect wiring damages the internal circuits so check the wiring before turning ON the pow er Verify that fluctuations of power input supply voltage do not exceed the rating including the connected devices Note that there is a risk of damage and burning if a voltage greater than the rated voltage is applied or AC power is directly applied If ...

Страница 10: ...y the EtherCAT Technology Group ETG Operating environment This product is suitable for indoor use only Avoid using the product in steamy or dusty locations or other similar locations Avoid using the product in atmospheres that contain corrosive or other harmful gases Ensure that the product does not come into contact with organic solvents such as thinner Ensure that the product does not come into ...

Страница 11: ... number of an EtherCAT slave device and information required for setup and communication Station alias A station number assigned to each slave device on the EtherCAT network Unit names EtherCAT master device A device that controls the entire network It communicates with each slave device connected to the network EtherCAT slave device A device that connects to the network controlled by a master dev...

Страница 12: ...Package The following items are included in the product package Before using the product make sure that no items are missing Controller 1 pc Instruction manual English Japanese Chinese Korean 2 pcs General Information for Safety Compliance and Instructions 1 pc ...

Страница 13: ... ON The power is ON 8 RUN indicator Green OFF INIT state Flashing single flash Note 2 SAFE OPERATIONAL state Flashing blinking Note 3 PRE OPERATIONAL state ON OPERATIONAL state 9 L A IN indicator Green OFF The communication unit is not connected to the Ethernet Flashing Link is normal and data is sent or received ON Link is normal and data is not sent or received 10 L A OUT indicator Green 11 ECAT...

Страница 14: ...WUME SCHG1ETC 2 1 8 MEMO ...

Страница 15: ...2 1 2 System Configuration 2 1 System Configuration of This Product 2 2 2 2 Compatible Devices 2 4 ...

Страница 16: ... each controller and the Ether CAT master device This product can be connected to up to 15 controllers one master unit and 14 slave units Electric power required for this product is supplied from the master controller connected to it End plate MS DIN E option SC HG1 ETC Connect to EtherCAT master device To power supply To power supply Controller Master unit Option Controller Slave unit Option Maxi...

Страница 17: ...lation is only performed when the slave unit is the same series as the master unit Calculation is not performed when the slave unit series is different from the master unit series CALC does not appear in the display of a slave unit of a different series 2 Input all The master unit only performs input all when the slave units are the same series A slave unit of a different series from the master un...

Страница 18: ...rmance type Analog current output I O HG SC111 NPN open collector transistor HG SC111 P PNP open collector transistor Standard type I O HG SC112 NPN open collector transistor HG SC112 P PNP open collector transistor Wire saving type HG SC113 When connecting slave units to the master unit connect only NPN output type units or only PNP output type units Dissimilar output types cannot be connected to...

Страница 19: ...llector transistor HG TC111 P PNP open collector transistor Wire saving type HG TC113 When connecting slave units to the master unit connect only NPN output type units or only PNP output type units Dissimilar output types cannot be connected together If an HG SC series controller manufactured in January 2019 or earlier is connected with an HG TC series controller operation will not take place norm...

Страница 20: ...WUME SCHG1ETC 2 2 6 MEMO ...

Страница 21: ...peration 3 2 3 2 Installation 3 3 3 2 1 Installing and Removing the SC HG1 ETC 3 3 3 2 2 Installing and Removing the SC HG1 ETC and Compatible Devices 3 4 3 2 3 Connecting and Disconnecting the Ethernet Cable 3 6 3 3 Setup 3 8 3 3 1 Station Aliases 3 8 ...

Страница 22: ... the SC HG1 ETC 3 2 2 Installing and Removing the SC HG1 ETC and Compatible Devic es Unit mounting 1 Mount and connect this product and controllers on a DIN rail according to the system configuration Do not mount end plates 3 3 1 Station Aliases Setting station aliases Set a station alias for this product according to the set up method 3 2 2 Installing and Removing the SC HG1 ETC and Compatible De...

Страница 23: ...hile pressing down on the rear of the mounting part insert the front of the mounting part into the DIN rail 35 mm wide DIN rail 1 2 Removing from a DIN rail 1 Grasp the product and push forward 2 Lifting the front of the product removes it from the DIN rail 1 2 Note If you attempt to lift the front without pushing the product forward you will break the hook on the rear of the mounting part ...

Страница 24: ...ire pressed once The performance of re used wire pressed connectors cannot be guaranteed Before wiring work always turn OFF the master controller To connect units always mount them on a DIN rail When doing this mount end plates MS DIN E optional so as to enclose the connected units at both ends How to connect 1 Mount this product on a 35 mm wide DIN rail 2 Remove the connector cover from the contr...

Страница 25: ... nected units at the ends End plate MS DIN E Option End plate MS DIN E Option 5 Secure the MS DIN E end plates by tightening the screws Tighten the screws to a torque of 0 3 N m or less How to disconnect 1 Loosen the screws on the MS DIN E end plates and then remove them 2 Slide and remove this product and the controllers Slide ...

Страница 26: ...rCAT Technology Group ETG 1 Hold the connector of the Ethernet cable and align the lock release lever of the Ethernet ca ble with the groove in IN or OUT 2 Insert the connector until it snaps in Ethernet cable Lock release lever SC HG1 ETC Groove Disconnecting the Ethernet cable 1 Press on the lock release lever on the Ethernet cable and pull it out Lock release lever Note Attempting to pull out t...

Страница 27: ...d into line star tree and ring types Networks can also be configured by mixing the line and star types Line type EtherCAT master device ID 1 ID 3 ID 2 ID 4 ID 5 Star type EtherCAT master device ID 1 ID 2 ID 4 HUB ID 3 ID 5 Tree type EtherCAT master device ID 4 ID 5 ID 2 ID 1 ID 3 HUB HUB Ring type EtherCAT master device ID 1 ID 4 ID 2 ID 5 ID 3 ...

Страница 28: ...enerated by 0x2000 Station Alias Setup in the object dictionary and the rotary switches into 0x0012 Configured Station Alias in the ESC register 3 Explicit Device ID Station Alias Setup Rotary switches This setup method is selected when Explicit Device is selected Data is read from the master by setting the value 0x0000 to 0xFFFF generated by 0x2000 Station Alias Setup in the object dictionary and...

Страница 29: ...the first digit of the station alias 0 to F hexadecimal number are valid The 16 switch sets the second digit of the station alias 0 to F hexadecimal number are valid A 10 B 11 C 12 D 13 E 14 F 15 Example 1 To set to 5 set to 05 Station ID switch Example 2 To set to 185 set to B9 Station ID switch This completes the station alias setting procedure Note The value specified as the station alias is se...

Страница 30: ...WUME SCHG1ETC 2 3 10 MEMO ...

Страница 31: ...4 3 1 Read Command 4 11 4 3 2 Write Command 4 15 4 4 Command List 4 17 4 4 1 HG S Series Command List 4 17 4 4 2 HG T Series Command List 4 22 4 5 Reading Received Light Waveforms 4 33 4 5 1 Format of Received Light Waveform 4 33 4 5 2 Reading Measured Waveforms 4 35 4 5 3 Reading Reference Waveforms 4 38 4 6 Registering Reference Waveforms 4 41 4 7 Self monitoring Function 4 46 4 7 1 Using the Se...

Страница 32: ...ster station can use the functions of this product by accessing the PDO communication area allocated on the memory map This product Communication unit information Various statuses Controller information Output Measured value Set value Error state 1A00 6000 1600 7000 Memory map Controller communication control section Communication control section TxPDO RxPDO EtherCAT master device Cyclic transmiss...

Страница 33: ...r connected to it I O data and settings for the connected controller can be read and written via EtherCAT network communications Controller input information Controller output information Controller SC HG1 ETC Slave unit 14 Slave unit 13 Slave unit 12 Slave unit 11 Slave unit 10 Slave unit 9 Slave unit 8 Slave unit 7 Slave unit 6 Slave unit 5 Slave unit 4 Slave unit 3 Slave unit 2 Slave unit 1 Mas...

Страница 34: ...s U16 ALL OFF at the time of startup B0 R W Emergency message function setting 0 Disable B1 RW Information message storage disable setting 0 Enable B2 RW Warning message storage disable setting 0 Enable B3 R W Error message storage disable setting 0 Enable B4 R W Log processing mode 0 Overwrite mode fixed B5 R Overwrite discard flag 1 Indicate implementation B6 16 R Reserved 6 Diagnosis message 1 ...

Страница 35: ...ync manager channel 0 U8 R Fixed at 0 when allocated to MailBox 1 PDO mapping object index of assigned 1 U16 R U16 R FF PDO mapping object index of assigned 255 U16 R 1C11 0 Number of assigned PDOs Sync manager channel 1 U8 R Fixed at 0 when allocated to MailBox 1 PDO mapping object index of assigned 1 U16 R U16 R FF PDO mapping object index of assigned 255 U16 R 2000 0 Station Alias Setup High U1...

Страница 36: ...ent output 1 Slave unit 2 1A00 14 Output1 Unit4 6002 04 BOOL Judgment output 1 Slave unit 3 1A00 15 Output1 Unit5 6002 05 BOOL Judgment output 1 Slave unit 4 1A00 16 Output1 Unit6 6002 06 BOOL Judgment output 1 Slave unit 5 1A00 17 Output1 Unit7 6002 07 BOOL Judgment output 1 Slave unit 6 1A00 18 Output1 Unit8 6002 08 BOOL Judgment output 1 Slave unit 7 1A00 19 Output1 Unit9 6002 09 BOOL Judgment ...

Страница 37: ...tput Alarm Unit2 6005 02 BOOL Alarm output Slave unit 1 1A00 43 Output Alarm Unit3 6005 03 BOOL Alarm output Slave unit 2 1A00 44 Output Alarm Unit4 6005 04 BOOL Alarm output Slave unit 3 1A00 45 Output Alarm Unit5 6005 05 BOOL Alarm output Slave unit 4 1A00 46 Output Alarm Unit6 6005 06 BOOL Alarm output Slave unit 5 1A00 47 Output Alarm Unit7 6005 07 BOOL Alarm output Slave unit 6 1A00 48 Output...

Страница 38: ...ave unit 13 1A00 6F Response Unit15 6007 0F BOOL Command response sensor Slave unit 14 1A00 70 Non use 6007 10 BOOL Unused 1A00 71 Response Code 6008 01 U16 Command response code 1A00 72 Response Data Unit1 6009 01 INT32 Response data Master unit 1A00 73 Response Data Unit2 6009 02 INT32 Response data Slave unit 1 1A00 74 Response Data Unit3 6009 03 INT32 Response data Slave unit 2 1A00 75 Respons...

Страница 39: ...7 7002 07 BOOL External input 1 Slave unit 6 1600 18 External Input1 Unit8 7002 08 BOOL External input 1 Slave unit 7 1600 19 External Input1 Unit9 7002 09 BOOL External input 1 Slave unit 8 1600 1A External Input1 Unit10 7002 0A BOOL External input 1 Slave unit 9 1600 1B External Input1 Unit11 7002 0B BOOL External input 1 Slave unit 10 1600 1C External Input1 Unit12 7002 0C BOOL External input 1...

Страница 40: ... sensor Slave unit 5 1600 46 Command Request Unit7 7005 07 BOOL Command request sensor Slave unit 6 1600 47 Command Request Unit8 7005 08 BOOL Command request sensor Slave unit 7 1600 48 Command Request Unit9 7005 09 BOOL Command request sensor Slave unit 8 1600 49 Command Request Unit10 7005 0A BOOL Command request sensor Slave unit 9 1600 4A Command Request Unit11 7005 0B BOOL Command request se...

Страница 41: ... to 1A00 6F and the command re sponse code in 1A00 71 match the contents of the sent request and then read the response data in 1A00 72 to 1A00 80 9 To send another command successively clear the transmission request flag in 1600 01 check that the transmission completion flag in 1A00 01 has been cleared and then repeat the procedure starting from Step 3 RxPDO Name Description 1600 01 Send Command ...

Страница 42: ... Command Request Unit14 Command request sensor Slave unit 13 1600 4E Command Request Unit15 Command request sensor Slave unit 14 1600 4F Non use Unused 1600 50 Command Request Code Command request code 1600 51 Command Data Unit1 Command data Master unit 1600 52 Command Data Unit2 Command data Slave unit 1 1600 53 Command Data Unit3 Command data Slave unit 2 1600 54 Command Data Unit4 Command data ...

Страница 43: ...nd response sensor Slave unit 3 1A00 65 Response Unit5 Command response sensor Slave unit 4 1A00 66 Response Unit6 Command response sensor Slave unit 5 1A00 67 Response Unit7 Command response sensor Slave unit 6 1A00 68 Response Unit8 Command response sensor Slave unit 7 1A00 69 Response Unit9 Command response sensor Slave unit 8 1A00 6A Response Unit10 Command response sensor Slave unit 9 1A00 6B...

Страница 44: ...a Slave unit 7 1A00 7A Response Data Unit9 Response data Slave unit 8 1A00 7B Response Data Unit10 Response data Slave unit 9 1A00 7C Response Data Unit11 Response data Slave unit 10 1A00 7D Response Data Unit12 Response data Slave unit 11 1A00 7E Response Data Unit13 Response data Slave unit 12 1A00 7F Response Data Unit14 Response data Slave unit 13 1A00 80 Response Data Unit15 Response data Sla...

Страница 45: ...ed 1600 10 Non use Unused 1600 40 Command Request Unit1 Command request sensor Master unit 1600 41 Command Request Unit2 Command request sensor Slave unit 1 1600 42 Command Request Unit3 Command request sensor Slave unit 2 1600 43 Command Request Unit4 Command request sensor Slave unit 3 1600 44 Command Request Unit5 Command request sensor Slave unit 4 1600 45 Command Request Unit6 Command request...

Страница 46: ...ave unit 8 1600 5A Command Data Unit10 Command data Slave unit 9 1600 5B Command Data Unit11 Command data Slave unit 10 1600 5C Command Data Unit12 Command data Slave unit 11 1600 5D Command Data Unit13 Command data Slave unit 12 1600 5E Command Data Unit14 Command data Slave unit 13 1600 5F Command Data Unit15 Command data Slave unit 14 Set the command data parameter settings to be sent The alloc...

Страница 47: ...999 0x0013 R Sensor head measured value HEAD V Integer indicating minimum resolution units of controller 1999999 to 1999999 0x0014 R W LOW set value LO SET Integer indicating minimum resolution units of controller 1999999 to 1999999 0x0015 R W HIGH set value HI SET Integer indicating minimum resolution units of controller 1999999 to 1999999 0x0016 to 0x0017 System reserved Do not use 0x0018 R W Hy...

Страница 48: ...Reverse display 0x0048 R W Alarm delay count DELAY Delay count 1 to 1000 0x0049 R W Teaching type TEACH 0 1 point teaching 1 2 point teaching 2 3 point teaching 0x004A R W Input all ALL IN 0 Individual input 1 Simultaneous input 0x004B R W External input EXT IN 0 Preset Reset Trigger P R T 1 Bank A Bank B Preset BANK P 2 Bank A Bank B Reset BANK R 3 Bank A Bank B Trigger BANK T 0x004C R W External...

Страница 49: ...d unconnected bit2 Connected unit count check error bit3 NPN PNP output type mixture error bit4 Calculated unlit count error bit5 Copy executionerror Slave unit problem bit10 Out of specification pressure error bit11 Catch check bit12 Pressure check 0x00A3 to 0x00FF System reserved Do not use 0x0100 R W Leverage ratio LEVER Leverage ratio 10 1 to 1000 0x0101 R W Pressure check PRS CHK 0 OFF 1 ON 0...

Страница 50: ...Preset value bit5 Hysteresis bit6 LOW set value bit7 HIGH set value bit8 Measurement direction bit9 Teaching type bit10 Number of digits displayed bit11 Eco mode bit12 External output bit13 External input bit14 Hold setting bit15 Output operation bit22 Alarm setting bit23 Tolerance 0x010A W Copy execution CPY EXE Execute copying Specify 0 0x010B R W Copy lock LOCK 0 Copy lock OFF 1 Copy lock ON 0x...

Страница 51: ...racter codes 0x20 is a space 1st digit F E D C B A 9 8 7 6 5 4 3 2 1 0 2nd digit 0 1 2 3 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 5 Z Y X W V U T S R Q P 6 7 2 This function can be used on HG SC series controllers manufactured in February 2019 and later ...

Страница 52: ... controller If a calculated value is not set the judgment value is output 1999999 to 1999999 0x0013 R Sensor head measured value HEAD V Integer indicating minimum resolution units of controller 1999999 to 1999999 0x0014 R W LOW set value LO SET Integer indicating minimum resolution units of controller 1999999 to 1999999 0x0015 R W HIGH set value HI SET Integer indicating minimum resolution units o...

Страница 53: ... to 4th character Part of character code is usable Note 1 0x0045 R W Label 2 LABEL Label 5th to 6th character Part of character code is usable Note 1 0x0046 R W Average count SPEED 0 1 time 1 2 times 2 4 times 3 8 times 4 16 times 5 32 times 6 64 times 7 128 times 8 256 times 9 512 times 10 1024 times 0x0047 R W Measurement direction DIRECT 0 TOP 1 BOTTOM 0x0048 R W Alarm delay count DELAY Delay c...

Страница 54: ...59 R W Sampling cycle SAMPLI 0 Standard sampling NORMAL 1 High speed sampling HI SPD 0x005A R W Analog output selection A O SEL 0 Voltage output 1 Current output 0x005B R W External output delay timer selection OUT DLY 0 OFF 1 On delay 2 Off delay 3 Single shot delay 0x005C R W External output delay timer time OD TIME 1 to 9999ms 0x005D R W 1st point calibration target value AJ VAL1 Integer indica...

Страница 55: ...ensitivity setting ON HIGH 3 User setting ON USER 0x030D R W Stain threshold STA THR 50 to 95 0x030E R W Hold setting HOLD Set the sum of the values below according to the states of the measurement mode and trigger mode settings Measurement mode MEAS 0x0000 Sample hold 0x1000 Peak hold 0x2000 Bottom hold 0x3000 Peak to peak hold 0x4000 Peak to peak hold P P 2 0x5000 NG hold Trigger mode TRIG 0x000...

Страница 56: ...ec tion APPLI 0 No calculation 1 Maximum value MAX 2 Minimum value MIN 4 Average value AVERAG 5 Standard difference STAND 8 Thickness Width THICK 0x0317 R W Copy select individual CPY SEL 0 Not target 1 Target For each target set the bit to 0 or 1 Bit 0 Operation mode selection Bit 1 Measurement direction Bit 2 HIGH set value Bit 3 LOW set value Bit 4 Hysteresis Bit 5 Teaching type Bit 6 Tolerance...

Страница 57: ... mode inside diameter gap detection mode 2 Indeterminate 0x0327 to 0x035F System reserved Do not use 0x0360 W Beam axis adjustment mode start Start beam axis adjustment Specify 0 Always send during measurement 0x0361 R Beam axis adjustment status bit0 to bit12 Reserved bit15 bit14 bit13 Beam axis state 0 0 0 Immediately after beam axis adjustment starts 0 0 1 Beam axis aligned state 0 1 0 Receiver...

Страница 58: ...ght waveform data Received light intensity 4 to Received light intensity 7 0x0373 R Waveform read data 3 Obtains four bytes of received light waveform data Received light intensity 8 to Received light intensity 11 0x0374 R Waveform read data 4 Obtains four bytes of received light waveform data Received light intensity 12 to Received light intensity 15 0x0375 R Waveform read data 5 Obtains four byt...

Страница 59: ...ght waveform data Received light intensity 72 to Received light intensity 75 0x0384 R Waveform read data 20 Obtains four bytes of received light waveform data Received light intensity 76 to Received light intensity 79 0x0385 R Waveform read data 21 Obtains four bytes of received light waveform data Received light intensity 80 to Received light intensity 83 0x0386 R Waveform read data 22 Obtains fo...

Страница 60: ...ight waveform data Received light intensity 148 to Received light intensity 151 0x0397 R Waveform read data 39 Obtains four bytes of received light waveform data Received light intensity 152 to Received light intensity 155 0x0398 R Waveform read data 40 Obtains four bytes of received light waveform data Received light intensity 156 to Received light intensity 159 0x0399 R Waveform read data 41 Obt...

Страница 61: ...ceived light waveform data Received light intensity 224 to Received light intensity 227 0x03AA R Waveform read data 58 Obtains four bytes of received light waveform data Received light intensity 228 to Received light intensity 231 0x03AB R Waveform read data 59 Obtains four bytes of received light waveform data Received light intensity 232 to Received light intensity 235 0x03AC R Waveform read dat...

Страница 62: ...eserved bits 13 and 14 Edge information 2 bit14 bit13 Description 0 0 Both edges disabled When the beam axis state is inde terminate fully blocked state or measurement alarm 1 0 1 Only one edge enabled 1 0 Both edges enabled bit 15 Edge information 1 bit15 Description 0 Falling edge 1 Rising edge 0x03BE R Measured value at the time of edge data reading HEAD V Integer indicating minimum resolution ...

Страница 63: ...start points and measurement end points can be obtained only in reference waveform acquisition mode Obtaining the measurement start point and measurement end point makes it possible to know the range that is used for measurement within the simplified received light waveform Measurement range Light receiving area 255 255 BOTTOM side 0 TOP side Measurement start point Received light intensity Measur...

Страница 64: ...tion 0 Edge information 1 Rising edge Edge information 2 Only one edge enabled 255 Received light intensity Judgment level 255 Received light intensity 0 TOP side 255 BOTTOM side Edge position 0 Edge information 1 Falling edge Edge information 2 Both edges enabled Edge position 1 Judgment level ...

Страница 65: ...eform data 2 Waveform read setting READ The command saves the current waveform information into the controller 4 Measured value at the time of waveform reading HEAD V READ The command reads the measured value that is associated with the wave form when the waveform is saved 5 Edge information READ The command reads the edge information that is associated with the waveform when the waveform is saved...

Страница 66: ...not been saved For example immediately after the unit starts up operation mode is changed or measured values are reset The waveform information that is obtained when this command is sent will be saved in the controller 3 Send the Waveform read data command READ Command code 0x0371 to 0x03B0 The Waveform read data command can obtain four bytes of received light data by using a single address Measur...

Страница 67: ...ing edge or falling edge when viewed from the TOP side 1 Rising edge Item Bit14 Bit13 Set value Description Edge information 2 0 0 Both edges disabled When the beam axis state is indeterminate fully blocked state or measurement alarm 1 Information about whether edge positions are disabled or enabled If edge positions are enabled this item also identifies whether information for only edge position ...

Страница 68: ...ing WRITE Select a waveform type reference waveform 3 Waveform read data READ The command reads waveform data 4 Measurement range between the measurement start point and measurement end point The command reads the measurement range between the measurement start point and measurement end point 2 Waveform read setting READ The command saves the current reference waveform information into the control...

Страница 69: ...10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Reserved Status Reserved Waveform type 0x00 Reference waveform Bit9 Status 1 Waveform information has been saved 0 Waveform information has not been saved For example immediately after the unit starts up operation mode is changed or measured values are reset 3 Send the Waveform read data command READ Command code 0x0371 to 0x03B0 The Waveform re...

Страница 70: ...urement 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 Note If it is unnecessary to obtain the measurement range there is no need to send the command ...

Страница 71: ...the reference waveform Do not register the reference waveform To register the reference waveform with out checking waveforms To register the reference waveform while checking waveforms Note 1 2 Waveform read setting WRITE Select a waveform type waveform during beam axis adjustment 4 Waveform read data READ The command reads waveform data 5 1 Beam axis adjustment status at the time of waveform read...

Страница 72: ...e waveform registration execution WRITE 7 Reference waveform registration status READ 8 Beam axis adjustment end WRITE Note 2 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 Beam axis adjust ment end WRITE command ...

Страница 73: ...er If the response is normal the following response data will be returned Read data High Low Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Reserved Status Reserved Waveform type 0x10 Waveform during beam axis adjustment Bit9 Status 1 Waveform information has been saved 0 Waveform information has not been saved For example immediately after the unit starts up...

Страница 74: ...13 Beam axis status 0 0 0 Immediately after beam axis adjustment starts 0 0 1 Beam axis aligned state 0 1 0 Receiver has shifted toward TOP side emitter has shifted toward BOTTOM side 0 1 1 Receiver has shifted toward BOTTOM side emitter has shifted toward TOP side 1 0 0 Beam axis is completely out of alignment fully blocked state 1 0 1 The light intensity is too much 1 1 0 The light intensity has...

Страница 75: ...tatus Details of Status 0 The Reference waveform registration execution command WRITE that was executed last time is successful 1 The Reference waveform registration execution command WRITE that was executed last time is unsuccessful and the reference waveform status has not been updated from the previous state If the power is turned OFF and then ON the history of beam axis adjustment failures wil...

Страница 76: ... via a network this product and the sensor HG S series HG T series you can easily check the sensor status normal notification caution or fault The sensor itself judges even the causes of cautions and errors making cause investigation easier PC display units indicators and other devices are used to notify workers of sensor statuses Sensor Communication unit Control device PC Display unit Indicator ...

Страница 77: ...refer to 4 4 1 HG S Series Command List Response parameter Measures Error code Note Alarm Note Notifi cation Sensor head unconnected Status check E200 Connected unit count check error Status check E160 For master units only NPN PNP output type mixture error Status check E100 For master units only Calculated unlit count error Status check E110 For master units only Copy executionerror Slave unit pr...

Страница 78: ... beam axis misalignment etc Sensing object check Measurement alarm 2 The specified measurement direc tion differs from the insertion direc tion of the detected object Status check Sensing object check Measurement alarm 2 Cau tion Controller cumulative run time limit exceeded 87 600 hours Controller replacement Sensor head cumulative run time limit exceeded 87 600 hours Sensor head replacement Cont...

Страница 79: ...ling cycle SAMPLI For write only 0x0300 Operation mode OP MODE For write only 0x0304 Sensitivity setting For write only 0x0305 Judgment level JDG LVL For write only 0x0306 Judgment filter JDG FIL For write only 0x030C Stain check STA CHK For write only 0x030D Stain threshold STA THR For write only 0x031E Sensor head cumulative run time HD TIME 0x0325 Reverse insertion check DIR CHK For write only ...

Страница 80: ...WUME SCHG1ETC 2 4 50 MEMO ...

Страница 81: ...g Procedure 5 1 Network Configuration Setup Method 5 2 5 2 Example of Operating Procedure after Power ON 5 7 5 2 1 Operation Flow 5 7 5 3 Reading Judgment Output 5 8 5 4 External Inputs 5 8 5 5 Checking Error Information 5 9 ...

Страница 82: ...t The parameter setting method differs according to the master unit This section explains a system configuration example that uses Panasonic PLC FP7 System configuration example Controller HG TC This product SC HG1 ETC Servo amplifier MINAS A6B MADHT1105BD1 AFP7MC16EC AFP7CPS41E Reference For details refer to the instruction manual of the master unit that you use ...

Страница 83: ...ion Control Unit Use the motion control unit configuration tool Control Motion Integrator to set up EtherCAT communication 1 From the Parameter menu select EtherCAT Communication Settings 2 From Project Explorer select 16 Axis type FP7 Motion Control Unit and then right click Select Append Slave from the context menu ...

Страница 84: ... 2 5 4 3 In the dialog box select Panasonic Corporation Appliances Company AC Servo Driver and then MADHT1105BA1 and click the OK button 4 From Project Explorer select Slave_001 MADHT1105BA1 and then right click Select Append Slave from the context menu ...

Страница 85: ...asonic Industrial Devices SUNX Co Ltd Sensor Communi cation Unit and then SC HG1 ETC and click the OK button If the ESI file for the SC HG1 ETC has not been installed in the configuration tool SC HG1 ETC will not appear in the list when Add Slave is selected Install the ESI file in advance ...

Страница 86: ... Unused 7 In UM Address in the Variables tab of Device Editor check which UM address of the FP7 CPU unit the PDO object has been assigned to 8 Save the project data and then write it to the unit Information Using the ESI file makes it easy to set up EtherCAT communications You can download the ESI file of this product from Panasonic website https panasonic net id pidsx global ...

Страница 87: ... memories Abnormal slave information is stored in the unit memories UM 0012E to UM 00139 For details on how to check errors refer to 5 5 Checking Error Information Turn OFF the FP7 MC unit and servo amplifier Turn ON the servo amplifier Are any error related LEDs lit on the display of the FP7 MC unit the servo amplifier or this product End of check Turn ON the FP7 MC unit Check whether the LEDs re...

Страница 88: ... Slave unit 10 Slave unit 11 Slave unit 12 Slave unit 13 Slave unit 14 Re served 0X6002 Judgment output 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0X6003 Judgment output 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0X6004 Judgment output 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0X6005 Alarm output 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Example To check external output and alarm function signals for the master unit refer to...

Страница 89: ...uest in the error code 3 Use error output in 1A00 51 to 60 to identify the unit controller where an error occurred 4 Use 1600 40 to 1600 4E to select the unit controller that caused the error you want to check 5 Clear the write flag in 1600 02 Send a read command 6 Set the transmission request flag in 1600 01 A command request will be sent 7 Check the transmission completion flag in 1A00 01 and th...

Страница 90: ...WUME SCLG2CEFP 2 5 10 MEMO ...

Страница 91: ...6 1 6 Specification and Dimensions 6 1 Specifications 6 2 6 2 Dimensions 6 3 ...

Страница 92: ... Storage 20 to 60ºC Ambient humidity 35 to 85 RH Storage 35 to 85 RH Operating altitude Note 2 2 000 m or less Contamination level 2 Withstand voltage 1 000 VAC for one minute between all supply terminals and case Insulation resistance 20 MΩ or higher using 250 VDC megohmmeter connected between all supply terminals and case Vibration resistance 10 to 150 Hz with 0 75 mm amplitude 10 to 58 Hz at ac...

Страница 93: ...6 2 Dimensions WUME SCHG1ETC 2 6 3 6 2 Dimensions Units mm Compatible with 35 mm wide DIN rail 58 3 21 5 80 38 6 4 23 8 21 2 43 1 21 1 10 6 25 35 13 3 6 10 14 16 6 16 6 12 3 ...

Страница 94: ...WUME SCHG1ETC 2 6 4 MEMO ...

Страница 95: ...7 1 7 Warranty 7 1 Important Information about Order and Use of This Product 7 2 ...

Страница 96: ...fective must be shipped to Panasonic Industrial Devices SUNX with all shipping costs paid by Purchaser or offered to Panasonic Industrial Devices SUNX for inspection and examination Upon examination by Panasonic Industrial Devices SUNX Panasonic Industrial Devices SUNX will at its sole discretion repair or replace at no charge or refund the purchase price of any Products found to be defective 2 EX...

Страница 97: ...oy fail safe designs including but not limited to a redundant design flame propagation prevention design and malfunction prevention design so as not to cause any risk of bodily injury fire accident or social damage due to any failure of such equip ment facilities or systems 4 The Products are each intended for use only in environments commonly found in manufac turing industry and unless expressly ...

Страница 98: ...WUME SCHG1ETC 2 7 4 MEMO ...

Страница 99: ...8 1 8 Maintenance 8 1 Maintenance and Inspection 8 2 8 1 1 Maintenance Precautions 8 2 8 1 2 Main Inspection Items 8 2 ...

Страница 100: ... off any dirt that adheres to the controller 8 1 2 Main Inspection Items Inspect the product regularly to maintain performance and enable optimum use The main in spection items are as follows Have any input and output terminals become loose or come off Is the supplied power within the rated voltage range 24 VDC 10 Is the ambient operating temperature within the specified range 10 to 45 C Is the am...

Страница 101: ...9 1 9 Troubleshooting 9 1 Error Codes and Solutions 9 2 9 2 Solutions to Problems 9 4 ...

Страница 102: ...or head 401 A calibration was not implemented normally A calibration failed Check the setup procedure by referring to the user s manual of the sensor 500 When teaching was executed an alarm indeterminate state or out of display range error occurred The sensor head value is invalid Check the state of the sensor head 501 Teaching was not implemented normally Teaching failed Check the setup procedure...

Страница 103: ...witch ON the power again 2600 Before receiving a response to a re quest the user sent a next request Resend the command after waiting for a certain time period 2700 This product failed to communicate with controllers Switch OFF the power make sure the controllers are connected correctly and then switch ON the power again 2800 A CRC error has occurred Switch OFF the power make sure the controllers ...

Страница 104: ...uld be faulty In such a case replace this product ERR indica tor Red Blinking Inter sensor com munication error An error has occurred in Panasonic specific inter sensor com munications Review the communication method by referring to the error code list For example the sensor specification in the command transmission destination may be incorrect In such a case check the number of connected sensors ...

Страница 105: ...10 1 10 Sample Programs 10 1 Assumed System Configuration for the Sample Program 10 3 10 2 Sample Program 10 4 10 3 Sample Program Overview 10 5 ...

Страница 106: ...rogram is used to check the measured values of the HG S and HG T sensor heads via the SC HG1 ETC communication unit when the FP7 series PLC is connected as the host device Measured values can also be displayed on the Web screen via the FP7 series CPU unit ...

Страница 107: ... AFP7MC16EC is connected to FP7 series CPU unit AFP7CPS41E This combination of the CPU unit and motion control unit is used as the master The master unit performs cyclic communications with the SC HG1 ETC communication unit used as a slave unit via Panasonic s servo motor amplifier MINAS A6B Cyclic communication AFP7MC16EC HG SC101 master unit HG TC111 slave unit AFP7CPS41E SC HG1 ETC PC MINAS A6B...

Страница 108: ...10 2 Sample Program WUME SCHG1ETC 2 10 4 10 2 Sample Program 1 2 3 4 5 6 ...

Страница 109: ...ces UM7D487 to UM7D4B2 Devices used Device Description Function X100 Link establishment External input UM7D487 Starting device address of transfer source data Cyclic communication area SC HG1 ETC Master UM7D4B2 Ending device address of transfer source data WL40 Starting device address of data transfer destination Link relay 2 If the measured value of the HG T sensor head that is stored in device W...

Страница 110: ..._forWeb Information The measured value of the HG T sensor head that is stored in device DT62 can also be displayed as output waveforms on the PC screen by using the Web server function of the FP7 series CPU unit For details refer to the Web Server Function Manual our website https panasonic net id pidsx global 4 When a network link is established and device X100 is set the measured value of the HG...

Страница 111: ...same time as the measured value is transferred to device DT1500 I0 is reset to 0 and device R40 is set Devices used Device Description Function I0DT1000 DT1000 to DT1498 Buffer for graph display Index register DT1500 Area for Web graph display Data register TML41 HG S measured value sampling cycle Timer Information The measured value of the HG S sensor head that is stored in device DT1500 can also...

Страница 112: ...1ETC 2 10 8 6 After 500 ms device R40 that was set by transferring the measured value of the HG S sen sor head to device DT1500 is reset by timer settings Devices used Device Description Function R40 Web graph refresh timing Internal relay ...

Страница 113: ...ME SCHG1ETC 2 Revision history Revision date Revision item First edition 7 01 2019 Second edition 12 01 2019 Commands related to the self monitoring function were added 4 7 Self monitoring Function added ...

Страница 114: ... MEMO ...

Страница 115: ... MEMO ...

Страница 116: ...sugai shi Aichi 486 0901 Japan Telephone 81 568 33 7861 Facsimile 81 568 33 8591 panasonic net id pidsx global For sales network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2019 December 2019 PRINTED IN JAPAN WUME SCHG1ETC 2 Please contact ...

Отзывы: