Front cover
INTRODUCTION
Precautions for Safety
Trademarks
CONTENTS
1. OUTLINE
1.1 Features
1.2 Software Types
1.3 Development Environment
1.4 Applicable Models
1.5 Connection Configuration
1.5.1 Connection with M700 series
1.5.2 Connection with M800 series
1.5.3 Connection with C70/C80
1.6 Installation
1.6.1 Directory structure after installation
1.7 Redistributable Installer for Run-time Library
1.8 Header Files for Development
1.9 Interface
1.9.1 Custom interface
1.9.2 Automation interface
1.10 Program Flow
1.10.1 VC++ program flow
1.10.2 VB program flow
1.10.3 VC# Program flow
2. I/F DETAILED SPECIFICATIONS
2.1 Common Items
2.2 Method List
2.3 Precautions for Using Methods
2.3.1 When an unknown error code responses or memory access error occurs
2.3.2 Precautions for opening/closing of NC control unit system line
2.4 IEZNcCommunication3 Interface
IEZNcCommunication3::Open2
IEZNcCommunication3::Open3
IEZNcCommunication3::Close
IEZNcCommunication3::Close2
IEZNcCommunication3::SetHead
IEZNcCommunication3::GetHead
IEZNcCommunication3::SetTCPIPProtocol
IEZNcCommunication3::SetMelsecProtocol
IEZNcCommunication3::SetNcMode
IEZNcCommunication3::GetNcMode
IEZNcCommunication3::SetPathLoadModule
IEZNcCommunication3::GetPathLoadModule
2.5 IEZNcSystem2 Interface
IEZNcSystem2::GetVersion
IEZNcSystem2::GetSystemInformation
IEZNcSystem2::GetSerialNo
IEZNcSystem2::GetAlarm
IEZNcSystem2::GetAlarm2
2.6 IEZNcPosition Interface
IEZNcPosition::GetWorkPosition
IEZNcPosition::GetWorkPosition2
IEZNcPosition::GetMachinePosition
IEZNcPosition::GetMachinePosition2
IEZNcPosition::GetCurrentPosition
IEZNcPosition::GetDistance
IEZNcPosition::GetDistance2
IEZNcPosition::GetNextDistance
IEZNcPosition::GetFeedSpeed
IEZNcPosition::GetTCPSpeed
IEZNcPosition::GetManualOverlap
IEZNcPosition::GetManualOverlap2
IEZNcPosition::GetProgramPosition
IEZNcPosition::GetProgramPosition3
IEZNcPosition::GetTCPMachinePosition
IEZNcPosition::GetTCPWorkPosition
IEZNcPosition::GetFeedbackPosition
IEZNcPosition::GetTableCoordinationPosition
IEZNcPosition::GetWorkInstallationPosition
IEZNcPosition::GetInclinedSurfacePosition
2.7 IEZNcCommand2 Interface
IEZNcCommand2::GetGCodeCommand
IEZNcCommand2::GetToolCommand
IEZNcCommand2::GetFeedCommand
IEZNcCommand2::GetCommand2
IEZNcCommand2::SetCommand2
2.8 IEZNcProgram2 Interface
IEZNcProgram2::CurrentBlockRead
IEZNcProgram2::GetProgramNumber2
IEZNcProgram2::GetSequenceNumber
IEZNcProgram2::GetBlockNumber
IEZNcProgram2::GetSubProLevel
IEZNcProgram2::GetInformation
IEZNcProgram2::GetCurrentBlockByByte
2.9 IEZNcTime Interface
IEZNcTime::GetClockData
IEZNcTime::SetClockData
IEZNcTime::GetAliveTime
IEZNcTime::SetAliveTime
IEZNcTime::GetRunTime
IEZNcTime::SetRunTime
IEZNcTime::GetStartTime
IEZNcTime::SetStartTime
IEZNcTime::GetEstimateTime
IEZNcTime::SetEstimateTime
2.10 IEZNcAxisMonitor Interface
IEZNcAxisMonitor::GetServoMonitor
IEZNcAxisMonitor::GetServoVersion
IEZNcAxisMonitor::GetServoDiagnosis
IEZNcAxisMonitor::GetPowerVersion
IEZNcAxisMonitor::GetPowerDiagnosis
IEZNcAxisMonitor::GetSpindleMonitor
IEZNcAxisMonitor::GetSpindleVersion
IEZNcAxisMonitor::GetSpindleDiagnosis
IEZNcAxisMonitor::GetAbsPositionMonitor
IEZNcAxisMonitor::GetAuxAxisMonitor
IEZNcAxisMonitor::GetAuxAxisDiagnosis
IEZNcAxisMonitor::GetAuxAxisVersion
IEZNcAxisMonitor::GetDowelTime
IEZNcAxisMonitor::GetPowerConsumption
IEZNcAxisMonitor::GetIntegralPower
2.11 IEZNcRunStatus Interface
IEZNcRunStatus::GetInvalidStatus
IEZNcRunStatus::GetCommandStatus
IEZNcRunStatus::GetCuttingMode
IEZNcRunStatus::GetAxisStatus
IEZNcRunStatus::GetRunStatus
2.12 IEZNcFile6 Interface
IEZNcFile6::FindDir2
IEZNcFile6::FindNextDir2
IEZNcFile6::ResetDir
IEZNcFile6::CreateDir
IEZNcFile6::DeleteDir
IEZNcFile6::Copy2
IEZNcFile6::Delete2
IEZNcFile6::Rename2
IEZNcFile6::GetDriveInformation
IEZNcFile6::GetDriveSize
IEZNcFile6::GetDriveSize2
IEZNcFile6::OpenFile3
IEZNcFile6::OpenFile4
IEZNcFile6::CloseFile2
IEZNcFile6::CloseFile3
IEZNcFile6::AbortFile2
IEZNcFile6::AbortFile3
IEZNcFile6::ReadFile2
IEZNcFile6::ReadFile3
IEZNcFile6::WriteFile
IEZNcFile6::ForceReadFile
IEZNcFile6::SpecialReadFile
IEZNcFile6::OpenNCFile2
IEZNcFile6::OpenNCFile3
IEZNcFile6::CloseNCFile2
IEZNcFile6::CloseNCFile3
IEZNcFile6::AbortNCFile2
IEZNcFile6::AbortNCFile3
IEZNcFile6::ReadNCFile2
IEZNcFile6::ReadNCFile3
IEZNcFile6::WriteNCFile
2.13 IEZNcCommonVariable2 Interface
IEZNcCommonVariable2::CommonVRead
IEZNcCommonVariable2::CommonVWrite
IEZNcCommonVariable2::GetSize
IEZNcCommonVariable2::GetName
IEZNcCommonVariable2::SetName
IEZNcCommonVariable2::GetCVNullData
2.14 IEZNcLocalVariable2 Interface
IEZNcLocalVariable2::LocalVRead
IEZNcLocalVariable2::GetMacroLevel
IEZNcLocalVariable2::GetLVNullData
2.15 IEZNcTool3 Interface
IEZNcTool3::GetToolSetSize
IEZNcTool3::GetType
IEZNcTool3::GetOffset
IEZNcTool3::GetOffset2
IEZNcTool3::SetOffset
IEZNcTool3::GetToolWorkOffset
IEZNcTool3::GetToolWorkOffset2
IEZNcTool3::SetToolWorkOffset
IEZNcTool3::SetToolWorkOffset2
IEZNcTool3::GetToolWorkOffsetEX
IEZNcTool3::SetToolWorkOffsetEX
IEZNcTool3::GetSurface
IEZNcTool3::GetSurface2
IEZNcTool3::SetSurface
IEZNcTool3::GetToolLifeType2
IEZNcTool3::SetToolLifeType2
IEZNcTool3::GetToolLifeGroupList
IEZNcTool3::ChangeToolLifeGroup
IEZNcTool3::DeleteToolLifeGroup
IEZNcTool3::GetToolLifeToolNoList
IEZNcTool3::AddToolLifeToolNo
IEZNcTool3::ChangeToolLifeToolNo
IEZNcTool3::DeleteToolLifeToolNo
IEZNcTool3::GetToolLifeValue
IEZNcTool3::SetToolLifeValue
IEZNcTool3::SetToolLifeValue2
2.16 IEZNcATC3 Interface
IEZNcATC3::GetMGNControl
IEZNcATC3::GetMGNSize
IEZNcATC3::GetMGNSize2
IEZNcATC3::GetMGNReady2
IEZNcATC3::GetMGNPot
IEZNcATC3::GetMGNPot3
IEZNcATC3::SetMGNPot
IEZNcATC3::SetMGNPot3
IEZNcATC3::GetMGNAux
IEZNcATC3::SetMGNAux
2.17 IEZNcParameter3 Interface
IEZNcParameter3::GetParameterData2
IEZNcParameter3::GetParameterData3
IEZNcParameter3::SetParameterData2
IEZNcParameter3::SetParameterData3
2.18 IEZNcOperation Interface
IEZNcOperation::Search
IEZNcOperation::Run
IEZNcOperation::Stop
2.19 IEZNcDevice Interface
IEZNcDevice::SetDevice
IEZNcDevice::DeleteDeviceAll
IEZNcDevice::ReadDevice
IEZNcDevice::WriteDevice
IEZNcDevice::ReadBlockDevice
IEZNcDevice::WriteBlockDevice
IEZNcDevice::ReadRandomDevice
IEZNcDevice::WriteRandomDevice
2.20 IEZNcSubFunction3 Interface
IEZNcSubFunction3::ChangeInit2
IEZNcSubFunction3::GetToolWorkOffsetOfFile
IEZNcSubFunction3::SetToolWorkOffsetOfFile
3. ERROR CODE LIST
4. API OPERATING PROCEDURE
4.1 API Operating Procedure
4.2 Initialization for Enabling OLE/COM Interface
4.3 Object Creation
4.4 Overview of VB Programming of Automation Interface
4.4.1 Using OLE automation interface with VB
4.4.2 VB program flow (1)
4.4.3 VB program flow (2)
4.5 Overview of VC# Programming of EZSocket Automation Interface
4.5.1 Using EZSocketNc OLE automation interface with VC#
4.5.2 VC# program flow (1)
4.5.3 VC# program flow (2)
5. SAMPLE APPLICATION
5.1 Overview of the Sample Application
5.2 Position Data Display Application
5.2.1 Operating requirements
5.2.2 Installation and uninstallation
5.2.3 Executing the sample application
5.2.4 Function list
5.2.5 Screen structure and functions
5.2.6 Setting project workspaces
5.2.7 IEZNcCommunication object
5.2.8 IEZNcPosition object
5.3 Monitoring Application
5.3.1 Operating requirements
5.3.2 Installation and uninstallation
5.3.3 Executing the sample application
5.3.4 Function list
5.3.5 Screen structure and functions
5.3.6 Setting project workspaces
5.4 CONSOLE PROGRAM SAMPLE
5.4.1 Console Program to Connect Mitsubishi CNC C70 (via Ethernet)
Revision History
Global Service Network
Back cover