Skip to content

onerobotics/go-fanuc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-fanuc

go-fanuc is a Go library for working with FANUC robot data.

Usage

Construct a new FANUC client, then use its methods to get data.

import (
	fanuc "github.com/onerobotics/go-fanuc"
)

c, err := fanuc.NewClient("127.0.0.1") // or fanuc.NewClient("./path/to/backup/dir")
if err != nil {
	return err
}

numregs, err := c.NumericRegisters()
if err != nil {
	return err
}

for _, r := range numregs {
	fmt.Println(r)
}

About

Go library for working with FANUC robots.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages