• HTTP document
    Show / Hide Table of Contents
    • Login Interface
      • Explanation of terms
      • Login
      • Refresh Login
    • Write Data Process
      • Add FGate Group
      • Add FGate
      • Add Monitoring Group
      • Add Monitoring Point
      • Get FGate List
      • FGate Monitoring List
      • Write Monitoring Value
      • Get Monitoring Value
    • Information Access
      • Get Single FGate
      • Get Monitoring Group
      • Get Some monitoring Points
      • Get Monitoring Point by Group
      • Get Iccid、Imei
      • Get Location of FGate
    • Remote Download
      • Get FGate Drive List
      • Download FGate Drive
      • Get Register Type of Device
      • Get Server Drive List
    • Modification Interface
      • Modify FGate Group
      • Modify FGate Name
      • Modify Monitoring
      • Modify Refresh Interval
    • Delete Interface
      • Delete FGate Group
      • Delete FGate
      • Delete Monitoring Group
      • Delete Monitoring Point
    • Alarm Interface
      • Alarm Group
        • Get Alarm Group List
        • Add Alarm Group
        • Modify Alarm Group
        • Delete Alarm Group
      • Alarm Contact
        • Get Alarm Contact List
        • Get Single Alarm Contact
        • Add Alarm contact
        • Modify Alarm Contact
        • Delete Alarm Contact
      • Alarm Record
        • Get Alarm Entry List
        • Get Alarm Entry
        • Add Alarm Entry
        • Modify Alarm Entry
        • Delete Alarm Entry
        • Get Historical Alarm
        • Get Alarm Entry Status
        • Confirm Alarm
    • Historical Data
      • Get Historical Data List
      • Get Historical Data Entry
      • Add Historical Record
      • Update Historical Record
      • Delete Historical Data
      • Get Historical Data
    • Push Monitoring Data
      • Enable Monitoring Group
      • Disable Monitoring Group
      • Enable Monitoring Group List
      • Disable Monitoring Group List
      • Enable All Monitoring Points
      • Disable All Monitoring Points
      • Enable One Monitoring Point
      • Disable One Monitoring Point
      • Enable Some Monitoring Points
      • Disable Some Monitoring Points
      • Enable Some Monitoring Points
      • Enable One Monitoring Group
      • Enable Some Monitoring Groups
    • Data Push(SignalR)
      • Real-time Data Push(signalR)
      • Status Change Push
      • Real-time Data Push
      • Alarm Trigger
      • Alarm Restore
    • Write in Batch
      • Get Bacth Write Group
      • Write Value in Batch
    • Appendix
      • Appendix One
      • Appendix Two
      • Appendix Three
      • 429 Status Code

    Get Server Drive List

    • Description

      Pulls the list of drivers supported by FGate from the server.

    • Request Address

      URL:[Host Server]/api/device/spec/{boxType}

    • Address Parameter Description

      Field Type Description
      Host Server string See Explanation of terms
      boxType int Type: 0 for Standard, 1 for Mini, 2 for Lite, 3 for VPN
    • Method

      GET

    • Headers

      Field Type Description
      Authorization string "Bearer " + Access Token obtained from the login interface
    • Body

      NULL

    • Response Fields

      Field Type Description
      id int Device ID
      name string PLC Name
      defaultStationNo int Default station No
      minStationNo int Minimum station No
      maxStationNo int Maximum station No
      class int Device type: 0 for Other, 1 for Master, 2 for Slave
      comPortParams json object Serial port default configuration, details in the table below
      ethParams json object Ethernet default configuration, details in the table below
      byteOrders json object Byte order information, details in the table below
      supportedPlcs string array Supported PLC types
      regs JSON Array Supported register list, details in the table below
      broadcastNo int Broadcast station No
      manufacturer string PLC Manufacturer
      connType int 0:Serial port, 1:Ethernet

      comPortParams Object Properties:

      Field Type Description
      baudRate int Serial port baud rate
      dataBits int Serial port data bit
      stopBits int Serial port stop bit
      parity int Serial port parity bit
      workingMode int Connection type: 1:RS232, 2:RS485_4, 3:RS485_2
      plcResponseTimeout int Communication timeout
      protocolTimeout1 int Protocol timeout parameter 1
      protocolTimeout2 int Protocol timeout parameter 2
      maxPacketsWordReg int Maximum number of word registers in a packet
      maxPacketsBitReg int Maximum number of bit registers in a packet
      assembleIntervalWordReg int Interval to packet word register
      assembleIntervalBitReg int Interval to packet bit register
      protocolInterval int Communication interval

      ethParams Object Properties:

      Field Type Description
      ip string Network parameter: IP address
      port int Communication port
      plcResponseTimeout int Communication timeout
      protocolTimeout1 int Protocol timeout parameter 1
      protocolTimeout2 int Protocol timeout parameter 2
      maxPacketsWordReg int Maximum number of word registers in a packet
      maxPacketsBitReg int Maximum number of bit registers in a packet
      assembleIntervalWordReg int Interval to packet word register
      assembleIntervalBitReg int Interval to packet bit register
      protocolInterval int Communication interval

      regs Array Single Object Properties:

      Field Type Description
      id int Register ID, not unique for the same device, needs to be combined with Iowidth to determine a register
      name string Register name
      ioWidth int Register bit width: 0:Bit, 1:Byte, 2:Word, 3:DWord, 4:QWord
      mainAddrWitdh int Main address addressing mode: 0:Bit, 1:Byte, 2:Word, 3:DWord, 4:QWord
      minMainAddr int Minimum main address value
      maxMainAddr int Maximum main address value
      mainAddrType int Main address representation type: 0:None, 8:Octal, 10:Decimal, 16:Hexadecimal
      subAddrType int Subaddress representation type: 0:None, 8:Octal, 10:Decimal, 16:Hexadecimal
      subAddrLen int Subaddress usage: if subAddrLen is 3, then the range is from 0 to 7 ([0, 2^subAddrLen -1])
      subIndexType int DB block address representation type (commonly used by Siemens): 0:None, 8:Octal, 10:Decimal, 16:Hexadecimal
      minSubIndex int Minimum DB block address
      maxSubIndex int Maximum DB block address

      byteOrders Object Properties:

      Field Type Description
      u16 int 0:21,1:12
      u32 int 0:4321,1:3412,2:2143,3:1234
      float int 0:4321,1:3412,2:2143,3:1234
    • Return Codes

      Code Description
      401 Access token expired
      404 Interface does not exist, please check the URL
    Back to top Generated by DocFX