User Tools

Site Tools


Sidebar

Home



PlanetCNC SDK


TNG API

Python

  About
  Installation

  Module 'planetcnc'

    print
    msg
    msgerr
    dlgFileOpen
    dlgFileSave

    result

   Paths
    getPath
    getPathExe
    getPathProfile
    getPathTemp
    getPathWorking

   Run status
    getVer
    isRunning
    isInitialized

   Version & Profile Info
    getVersionString
    getProfileNameString
    getProfilePathString
    getDescriptionString

   Screen
    isVisible
    show
    hide
    setProgress
    setStatus

   Parameters & Eval
    getParam
    setParam
    evaluate

   State
    isLicenseValid
    isUIReady
    isControllerReady
    isControllerRunning
    isProgramLoaded
    isIdle
    isEStop
    isStop
    isPause
    isProg
    isCmd
    isJog

   Machine Commands
    getCmdId
    getCmdIdFromMdi
    getCmdName
    getCmdDisplayName

    cmdExec
    cmdExecStr
    cmdExecVal
    cmdExecIntVal

    estop
    estopToggle
    stop
    pause
    pauseToggle
    start
    open
    close

   Machine Command status
    isCmdEnabled
    isCmdChecked

    isEStopEnabled
    isStopEnabled
    isPauseEnabled
    isStartEnabled
    isOutputEnabled
    isCodeEnabled
    isCodeExEnabled
    isOpenEnabled
    isCloseEnabled

   Helpers
    openFn
    openCode

    startFn
    startCode

    testFn
    testCode

    cmd
    mdi

   Info
    infoIsInitialized
    infoSerial
    infoHWVersion
    infoSWVersion
    infoIsVersionValid
    infoBufferAvailable
    infoBufferUtilization

    infoWorkPos
    infoWorkPosList
    infoMotorPos
    infoMotorPosList
    infoSpeed
    infoAcceleration

    infoSpindle
    infoSpindleIdx
    infoSpindleEnc
    infoSpindleSet
    infoOutput
    infoOutputFreq
    infoOutputDuty

    infoInput
    infoJog
    infoJogPot
    infoLimit
    infoAux

   Dlg
    dlgNew
    dlgShow
    dlgDelete
    dlgAddLabel
    dlgAddImage
    dlgAddCheckbox
    dlgAddInput

    dlgRawNew
    dlgRawShow
    dlgRawClose
    dlgRawAddLabel
    dlgRawAddImage
    dlgRawAddCheckbox
    dlgRawAddInput
    dlgRawGetValue
    dlgRawGetValues

   Points
    points_clear
    points_count
    points_add

   Image
    imageOpen
    imageOpenData
    imageClose
    imageSave
    imageToCam
    imageFromCam
    imageSize
    imageGetPixel
    imageGetPixelGray

   G-Code
    gcodeIsReady
    gcodeIsOpening
    gcodeIsRunning
    gcodeClose
    gcodeOpen
    gcodeLoad
    gcodeLineAddAllowed
    gcodeLineAdd

  Module 'gcode'
   G-Code
    isReady
    isOpening
    isRunning
    close
    open
    load
    lineAddAllowed
    lineAdd

Named Pipes

sdk:python:planetcnc:cmdexecintval

cmdExecIntVal()

Syntax

cmdExecIntVal(id, int, value)

Parameters

Return Value

Examples

 

result:


See also

sdk/python/planetcnc/cmdexecintval.txt · Last modified: 2023/05/16 22:06 by 127.0.0.1

Page Tools