BOCHU IoT Api
  1. Real-time Data
BOCHU IoT Api
  • 0. Introduction
  • a. Use our demo to quickly generate request headers
  • b. Manually create the request header
  • 1. Machine Quota
  • 2. API Quota & API Rate Limit
  • Global Error Code
  • Cutting Machine API
    • Machine Management
      • Machine List
      • Machine Detailed Information
      • Machine Status Change Records
    • Real-time Data
      • Machine Operating Status
        POST
      • Machine Current Alarm List
        POST
      • Machine Ongoing Processing Task
        POST
      • Real-time Status of the Cutting System
        POST
    • Historical Data
      • Paged Processing Records
    • Statistics Information
      • Summary of Statistical Data for a Period of Time
      • Daily Alarm Duration
      • Daily Piercing Count
      • Daily Idle Time
      • Daily Laser-On Time
      • Daily Gas-On Time
      • Daily Cutting Length
      • Daily Traveling Distance
      • Daily Processing Time v2
    • Task Management
      • Upload Cut Task
  • Welding Machine API
    • Machine Management
      • Machine List
      • Machine Detailed Information
      • Machine Status Change Records
    • Real-time Data
      • Machine Operating Status
    • Historical Data
      • Paged Welding Processing Records
    • Statistics Information
      • Summary of Welding Statistical Data for a Period of Time
      • Daily Flat-Weld Length
      • Daily Flat-Weld Time
      • Daily Vertical-Weld Length
      • Daily Vertical-Weld Time
      • Daily Weld Length
      • Daily Weld Time
      • Daily Weld-Pass Count
      • Daily Idle Time
      • Daily Processing Time
    • Task Management
      • Upload Weld Task
  1. Real-time Data

Real-time Status of the Cutting System

POST
https://mcs-gateway.fscut.com/api/user_devices/cut_system_state

Function Introduction#

This function is used to query the real-time status of the cutting system of an authenticated machine.

Important Notes#

The cardId should be for an authenticated machine.
The cardId must be within the user's device quota. Devices exceeding the quota will not be allowed for querying.

Request

Body Params application/json
cardId
string 
Control card ID
required
Example
{
  "cardId": "123456789100"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mcs-gateway.fscut.com/api/user_devices/cut_system_state' \
--header 'Content-Type: application/json' \
--data-raw '{"cardId":"123456789100"}'

Responses

🟢200成功
application/json
Body
status
integer 
Status code
required
0 for successful response, non-zero for error codes
msg
string 
Response message
required
Ok for successful response, or an error message for non-successful responses
data
object 
required
axisX
number 
X-axis position
required
axisY
number 
Y-axis position
required
axisZ
integer 
Z-axis position
required
workTime
number 
Processing duration
required
workTimeStr
string 
Processing duration
required
workSpeed
integer 
Processing speed
required
cutPercent
number 
Processing progress (%)
required
laserPower
integer 
Laser power
required
taskName
string 
Name of the processing drawing
required
pwmFreq
integer 
PWM frequency (Hz)
required
gasType
string 
Gas type
required
gasPressure
integer 
Cutting gas pressure
required
pwmRatio
integer 
PWM duty cycle (%)
required
targetHeight
integer 
Following height (set value)
required
diodeCurrent
integer 
Peak power (%)
required
Example
{
  "status": 0,
  "msg": "OK",
  "data": {
    "axisX": 107.73962793,
    "axisY": 123.35703733,
    "axisZ": 85,
    "workTime": 0.00020391203725012,
    "workTimeStr": "00:00:17.618",
    "workSpeed": 0,
    "cutPercent": 12.6239745039884,
    "laserPower": 1000,
    "taskName": "bintuntun.lxds",
    "pwmFreq": 1000,
    "gasType": "air",
    "gasPressure": 5,
    "pwmRatio": 1,
    "targetHeight": 1,
    "diodeCurrent": 80
  }
}
Modified at 2024-10-09 01:54:33
Previous
Machine Ongoing Processing Task
Next
Paged Processing Records
Built with