Autonics LSC Series Communications Manual
Hide thumbs Also See for LSC Series:

Advertisement

Quick Links

LSC Series
LSC Communication (ASCII)
Communication Manual     MCY-LSCC1-V1.0-2301US

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LSC Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Autonics LSC Series

  • Page 1 LSC Series LSC Communication (ASCII) Communication Manual     MCY-LSCC1-V1.0-2301US...
  • Page 3: Table Of Contents

    Contents Preface .................. ...
  • Page 4 3.6.2. Median Filter .............. ...
  • Page 5: Preface

    Preface Thank you for purchasing Autonics products. Be sure to read and follow the Safety Precautions thoroughly before use. This manual contains information about the product and how to use it properly, so keep it in a place where users can easily find it.
  • Page 6 6   Autonics | LSC Series...
  • Page 7: Manual Guide

    • Any or all of the manual may not be edited or copied without permission. • The manual is not provided with the product. • Download and use from our website (www.autonics.com). • The contents of the manual are subject to change without prior notice according to the improvement of the product’s performance, and upgrade notices are provided through our website.
  • Page 8 8   Autonics | LSC Series...
  • Page 9: Common Symbols In The Manual

    Common Symbols in the Manual Failure to follow instructions may result in serious injury or death. Failure to follow instructions may result in injury or product damage. Supplementary explanation of the function Example of that function Important information about the feature Common Symbols in the Manual  ...
  • Page 10 10   Autonics | LSC Series...
  • Page 11: Message Format

    1. Message Format 1.1. Packet Format The packet consists of Start, Packet Size, Command Type, Command, Data, and End codes. Separate each component with (,). Component Description Start Packet start code Packet Size Total packet size (The number of characters in the Ascii communication) Command Type Message type between Server and Client Command...
  • Page 12: Kind Of Command Type

    0 to 65,535 Int16_t -32,768 to 32,767 UInt32_t 0 to 4,294,967,295 Int32_t -2,147,483,648 to 2,147,483,647 String Depends on string length Make sure that the last character of the string variable does not end with 0. 12   Autonics | LSC Series...
  • Page 13: Message Definition

    2. Message Definition Function Command Command Description Type Connect TCP/IP FirstConnectDummySend TCP/IP communication communication connect response Login SetAccessLevel Login SetAccessLevel Login response Logout Logout Logout Logout Logout response Login error LoginError Response on receipt of login required command Initialization LSFactoryReset Initialization LSFactoryReset Initialization response...
  • Page 14 Scan data LSScanStart Scan data transmission start transmission start event response by external notice input (IN3) Scan data LSScanStop Scan data transmission stop transmission stop event response by external notice input (IN3) 14   Autonics | LSC Series...
  • Page 15 Function Command Command Description Type Measurement mode ScanData Scan data receipt in the scan data measurement mode Bluetooth SSID (write, LSBluetoothConfig sWC, sRC Bluetooth setting read) LSBluetoothConfig sWA, sRA Bluetooth setting response Bluetooth activation LSBluetooth sWC, sRC Bluetooth activation setting (write, read) LSBluetooth sWA, sRA...
  • Page 16 16   Autonics | LSC Series...
  • Page 17: Message Data Definition

    3. Message Data Definition 3.1. Connect 3.1.1. Connect TCP/IP Communication Device » Item ASCII Message sEA FirstConnectDummySend ASCII <STX>0020,sEA,FirstConnectDummySend<ETX> 02 30 30 32 30 2C 73 45 41 46 69 72 73 74 43 6F 6E 6E 65 63 74 44 75 6D 6D 79 53 65 6E 64 3.1.
  • Page 18: Login / Logout

    Info (UInt8_t) 0: Error 1: Success ASCII <STX>001B,sMA,SetAccessLevel,1<ETX> 02 30 30 31 42 2C 73 4D 41 53 65 74 41 63 63 65 73 73 4C 65 76 65 6C 2C 31 03 18   Autonics | LSC Series...
  • Page 19: Logout

    3.2.2. Logout » Device Item ASCII Message sMC Logout ASCII <STX>0011,sMC,Logout<ETX> 02 30 30 31 31 2C 73 4D 43 4C 6F 67 6F 75 74 Device » Item ASCII Message sMA Logout Info (UInt8_t) 0: Error 1: Success ASCII <STX>0013,sMA,Logout,1<ETX>...
  • Page 20: Device

    Info (UInt8_t) 0: Error 1: Success ASCII <STX>001C,sMA,LSFactoryReset,1<ETX> 02 30 30 31 43 2C 73 4D 41 4C 53 46 61 63 74 6F 72 79 52 65 73 65 74 20 2C 31 20   Autonics | LSC Series...
  • Page 21: Import

    3.3.2. Import » Device Item ASCII Message sMC LSLoadParameter ASCII <STX>001A,sMC,LSLoadParameter<ETX> 02 30 30 31 41 2C 73 4D 43 4C 53 4C 6F 61 64 50 61 72 61 6D 65 74 65 72 Device » Item ASCII Message sMA LSLoadParameter Info (UInt8_t) 0: Error...
  • Page 22: Input

    ASCII Message sWA LSDIConfig Info (UInt8_t) 0: Error 1: Success ASCII <STX>0017,sWA,LSDIConfig,1<ETX> 02 30 30 31 37 2C 73 57 41 4C 53 44 49 43 6F 6E 66 69 67 2C 31 03 22   Autonics | LSC Series...
  • Page 23: Input Configuration (Read)

    3.4.2. Input Configuration (Read) » Device Item ASCII Message sRC LSDIConfig ASCII <STX>0015,sRC,LSDIConfig<ETX> 02 30 30 31 35 2C 73 52 43 4C 53 44 49 43 6F 6E 66 69 67 Device » Item ASCII Message sRA LSDIConfig Input number (String) IN1,IN2,IN3,IN4 Trigger (UInt8_t) 0: Edge...
  • Page 24: Input 3 Mode

    Item ASCII Message sWA LS3DIMode Info (UInt8_t) 0: Error 1: Success ASCII <STX>0016,sWA,LS3DIMode,1<ETX> 02 30 30 31 36 2C 73 57 41 4C 53 33 44 49 4D 6F 64 65 2C 31 03 24   Autonics | LSC Series...
  • Page 25: Input 4 Mode

    3.4.4. Input 4 Mode » Device Item ASCII Message sWC LS4DIMode Mode (UInt8_t) 0: Selecting field set 1: Teaching ASCII <STX>0016,sWC,LS4DIMode,0<ETX> 02 30 30 31 36 2C 73 57 43 4C 53 34 44 49 4D 6F 64 65 2C 30 03 Device »...
  • Page 26: Output

    ASCII Message sWA LSDOConfig Info (UInt8_t) 0: Error 1: Success ASCII <STX>0017,sWA,LSDOConfig,1<ETX> 02 30 30 31 37 2C 73 57 41 4C 53 44 4F 43 6F 6E 66 69 67 2C 31 03 26   Autonics | LSC Series...
  • Page 27: Output Configuration (Read)

    3.5.2. Output Configuration (Read) » Device Item ASCII Message sRC LSDOConfig ASCII <STX>0015,sRC,LSDOConfig<ETX> 02 30 30 31 35 2C 73 52 43 4C 53 44 4F 43 6F 6E 66 69 67 Device » Item ASCII Message sRA LSDOConfig Output Number (String) OUT1,OUT2,OUT3,OUT4 Type (UInt8_t) 1: Normally Open...
  • Page 28: Output 4 Mode (Write)

    Item ASCII Message sWA LS4DOMode Info (UInt8_t) 0: Error 1: Success ASCII <STX>0016,sWA,LS4DOMode,1<ETX> 02 30 30 31 36 2C 73 57 41 4C 53 34 44 4F 4D 6F 64 65 2C 31 03 28   Autonics | LSC Series...
  • Page 29: Output 4 Mode (Read)

    3.5.4. Output 4 Mode (Read) » Device Item ASCII Message sRC LS4DOMode ASCII <STX>0014,sRC,LS4DOMode<ETX> 02 30 30 31 34 2C 73 52 43 4C 53 34 44 4F 4D 6F 64 65 Device » Item ASCII Message sRA LS4DOMode Info (UInt8_t) 0: Ready / Error output fixed 1: Sync pulse output at 90 º...
  • Page 30: Filter

    Message sWA LSFparticle Info (UInt8_t) 0: Error 1: Success ASCII <STX>0018,sWA,LSFparticle,1<ETX> 02 30 30 31 38 2C 73 57 43 4C 53 46 70 61 72 74 69 63 6C 65 2C 31 03 30   Autonics | LSC Series...
  • Page 31: Median Filter

    3.6.2. Median Filter » Device Item ASCII Message sWC LSFmedian Status (UInt8_t) 1: Activated 0: Inactivated ASCII <STX>0016,sWC,LSFmedian,1<ETX> 02 30 30 31 36 2C 73 57 43 4C 53 46 6D 65 64 69 61 6E 2C 31 03 Device »...
  • Page 32: Average Filter

    ASCII Message sWA LSFaverage Info (UInt8_t) 0: Error 1: Success ASCII <STX>0017,sWA,LSFaverage,1<ETX> 02 30 30 31 37 2C 73 57 41 4C 53 46 61 76 65 72 61 67 65 2C 31 03 32   Autonics | LSC Series...
  • Page 33: Filter Setting Value Confirm (Write)

    3.6.4. Filter Setting Value Confirm (Write) » Device Item ASCII Message sWC LSFConfig Particle filter activation 1: Activated (UInt8_t) 0: Inactivated Median filter activation 1: Activated (UInt8_t) 0: Inactivated The number of average filter 2 to 4: Activated scan (UInt8_t) 0: Inactivated ASCII <STX>001A,sWC,LSFConfig,1,0,2<ETX>...
  • Page 34: Filter Setting Value Confirm (Read)

    2C 4C 53 46 70 61 72 74 69 63 6C 65 2C 31 2C 4C 53 46 6D 65 64 69 61 6E 2C 30 2C 4C 53 46 61 76 65 72 61 67 65 2C 32 03 34   Autonics | LSC Series...
  • Page 35: Teaching

    3.7. Teaching 3.7.1. Teaching Configuration (Write) » Device Item ASCII Message sWC LSTeachingConfig Teaching save field set 1 to 16 (UInt8_t) Teaching save subfield 1 to 3 (UInt8_t) Teaching button activation 1: Activated (UInt8_t) 0: Inactivated ASCII <STX>0021,sWC,LSTeachingConfig,1,1,1<ETX> 02 30 30 32 31 2C 73 57 43 4C 53 54 65 61 63 68 69 6E 67 43 6F 6E 66 69 67 31 2C 31 2C 31 03...
  • Page 36: Teaching Configuration (Read)

    0: Inactivated ASCII <STX>0021,sRA,LSTeachingConfig,1,1,1<ETX> 02 30 30 32 31 2C 73 52 41 4C 53 54 65 61 63 68 69 6E 67 43 6F 6E 66 69 67 31 2C 31 2C 31 03 36   Autonics | LSC Series...
  • Page 37: Teaching Time (Write)

    3.7.3. Teaching Time (Write) » Device Item ASCII Message sWC LSTeachingTime Preparation time (UInt8_t) 0: 5 sec 1: 10 sec 2: 15 sec Progress time (UInt8_t) 0: 10 sec 1: 20 sec 2: 30 sec 3: 40 sec 4: 50 sec 5: 60 sec ASCII <STX>001D,sWC,LSTeachingTime,1,5<ETX>...
  • Page 38: Teaching Time (Read)

    4: 50 sec 5: 60 sec ASCII <STX>001D,sRA,LSTeachingTime,1,5<ETX> 02 30 30 31 44 2C 73 52 41 4C 53 54 65 61 63 68 69 6E 67 54 69 6D 65 2C 31 2C 35 03 38   Autonics | LSC Series...
  • Page 39: Teaching Start Command

    3.7.5. Teaching Start Command » Device Item ASCII Message sMC LSTeachingStart Teaching save field set 1 to 16 (UInt8_t) Teaching save subfield 1 to 3 (UInt8_t) ASCII <STX>001E,sMC,LSTeachingStart,1,1<ETX> 02 30 30 31 45 2C 73 4D 43 4C 53 54 65 61 63 68 69 6E 67 53 74 61 72 74 2C 31 2C 31 03 Device...
  • Page 40: Teaching Start Notice

    LSTeachingEnd Info (UInt16_t) 0: Success ErrorCode: Error ASCII <STX>001A,sEA,LSTeachingEnd,0<ETX> 02 30 30 31 41 2C 73 45 41 4C 53 54 65 61 63 68 69 6E 67 45 6E 64 2C 30 03 40   Autonics | LSC Series...
  • Page 41: Interface

    3.8. Interface 3.8.1. Scan Data Configuration (Write) » Device Item ASCII Message sWC LSScanDataConfig Scan start angle (Int32_t) FFF92230 (-0d450000): -45 º Scan end angle (Int32_t) 225510 (+0d2250000): 225 º RSSI data transmission 1: Activated activation (UInt8_t) 0: Inactivated Scan data cycle (UInt16_t) 1 to 60000 (×...
  • Page 42: Scan Data Configuration (Read)

    4C 53 53 63 61 6E 44 61 74 61 43 6F 6E 66 69 67 46 46 46 39 32 32 33 30 2C 32 32 35 35 31 30 2C 31 2C 31 2C 31 03 42   Autonics | LSC Series...
  • Page 43: Device Configuration Status Read

    3.8.3. Device Configuration Status Read » Device Item ASCII Message sRC SensorScanInfo ASCII <STX>0019,sRC,SensorScanInfo<ETX> 02 30 30 31 39 2C 73 52 43 53 65 6E 73 6F 72 53 63 61 6E 49 6E 66 6F Device » Item ASCII Message sRA SensorScanInfo...
  • Page 44: Scan Data Transmission Start Command

    53 65 6E 73 6F 72 53 74 61 72 74 Device » Item ASCII Message sMA SensorStart ASCII <STX>0016,sMA,SensorStart<ETX> 02 30 30 31 36 2C 73 4D 41 53 65 6E 73 6F 72 53 74 61 72 74 44   Autonics | LSC Series...
  • Page 45: Scan Data Transmission Stop Command

    3.8.5. Scan Data Transmission Stop Command » Device Item ASCII Message sMC SensorStop ASCII <STX>0015,sMC,SensorStop<ETX> 02 30 30 31 35 2C 73 4D 43 53 65 6E 73 6F 72 53 74 6F 70 Device » Item ASCII Message sMA SensorStop ASCII <STX>0015,sMA,SensorStop<ETX>...
  • Page 46: Scan Data Transmission Start Notice

    3.8.7. Scan Data Transmission Stop Notice Device » Item ASCII Message sEA LSScanStop ASCII <STX>0015,sEA,LSScanStop<ETX> 02 30 30 31 35 2C 73 45 41 4C 53 53 63 61 6E 53 74 6F 70 46   Autonics | LSC Series...
  • Page 47: Measurement Mode Scan Data

    3.8.8. Measurement Mode Scan Data Device » Item ASCII Message sCA ScanData Version (UInt16_t) 0000 to FFFF Sensor (String) LSC-270 Error display (UInt32_t) 0 to FFFFFFFF LED status display (UInt8_t) 0000: 00 (POWER) + 00 (ERROR) (00: OFF, 01: flashing, 11: ON) Scan number (UInt16_t) 0 to FFFF Input status (UInt8_t)
  • Page 48: Device Setting (Bluetooth)

    0: Error 1: Success ASCII <STX>001E,sWA,LSBluetoothConfig,1<ETX> 02 30 30 31 45 2C 73 57 41 4C 53 42 6C 75 65 74 6F 6F 74 68 43 6F 6E 66 69 67 2C 31 03 48   Autonics | LSC Series...
  • Page 49: Bluetooth Ssid (Read)

    3.9.2. Bluetooth SSID (Read) » Device Item ASCII Message sRC LSBluetoothConfig ASCII <STX>001C,sRC,LSBluetoothConfig<ETX> 02 30 30 31 43 2C 73 52 43 4C 53 42 6C 75 65 74 6F 6F 74 68 43 6F 6E 66 69 67 Device »...
  • Page 50: Bluetooth Activation (Write)

    Message sWA LSBluetooth Info (UInt8_t) 0: Error 1: Success ASCII <STX>0018,sWA,LSBluetooth,1<ETX> 02 30 30 31 38 2C 73 57 41 4C 53 42 6C 75 65 74 6F 6F 74 68 2C 31 03 50   Autonics | LSC Series...
  • Page 51: Bluetooth Activation (Read)

    3.9.4. Bluetooth Activation (Read) » Device Item ASCII Message sRC LSBluetooth ASCII <STX>0016,sRC,LSBluetooth<ETX> 02 30 30 31 36 2C 73 52 43 4C 53 42 6C 75 65 74 6F 6F 74 68 Device » Item ASCII Message sRA LSBluetooth Info (UInt8_t) 1: Activated 0: Inactivated...
  • Page 52: Device Setting (Password)

    Info (UInt8_t) 0: Error 1: Success ASCII <STX>001D,sWA,AccessLvPassword,1<ETX> 02 30 30 31 44 2C 73 57 41 41 63 63 65 73 73 4C 76 50 61 73 73 77 6F 72 64 31 03 52   Autonics | LSC Series...
  • Page 53: Parameter Save

    3.11. Parameter Save 3.11.1. Save in Flash » Device Item ASCII Message sMC LSStoreParameter ASCII <STX>001B,sMC,LSStoreParameter<ETX> 02 30 30 31 42 2C 73 4D 43 4C 53 53 74 6F 72 65 50 61 72 61 6D 65 74 65 72 Device »...
  • Page 54: Error

    » Item ASCII Message sEA SyntaxError ASCII <STX>001B,sEA,SyntaxError,sRc<ETX> 02 30 30 31 42 2C 73 45 41 20 53 79 6E 74 61 78 45 72 72 6F 72 2C 73 52 63 03 54   Autonics | LSC Series...
  • Page 55 Dimensions or specifications on this manual are subject to change and some models may be discontinued without notice. www.autonics.com...

Table of Contents