InoDrive / sysControl / getModuleInfo


InoDrive.SysControl.getModuleInfo()

Get Advance Module and Motor Information.

Returns: Module State (Object):

Module (Object): Module Firmware and PCB Information.
Network (Object): Reserved Network Information.
User_app (Object): Print from UserApp to Watch Window Console Enabled.
Motor (Object): Reserved Motor Information.
Web (Object): Internal Webpage Version.
IO (Object): Module Output Control Enabled.

// Import InoDrive API Library
 import { InoDriveApiJS }  from ( "ck-inodrive-api" ) 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True})

// Get Current State of the Module
await Drive.SysControl.getModuleInfo()