Sign inSign up

strangesast/fanuc-minimal-example

By strangesast

•Updated about 6 years ago

Image
0

387

strangesast/fanuc-minimal-example repository overview

⁠Fanuc Minimal Communication Example

This is a c/CMake project with minimal configuration required to test cnc functions provided by the Fanuc FOCAS library.

Supported architectures: x86, armv7/8/hf, x64 (unresolved problems with long, ulong)

⁠Build & Run Instructions

⁠Docker

  • docker-compose build && docker-compose up (requires docker-compose)
    OR
  • docker run --rm -it $(docker build -q .) (builds and runs image)

⁠Manual

  • mkdir build && cd build (Create a build folder)
  • cmake .. (Run cmake)
  • make (Run make, build the executable)
  • ./fanuc_example (Run the executable)

⁠Development

Docker images for multiple platforms can be built with buildx:

docker buildx build --platform=linux/386,linux/arm/v7 .

⁠Resources

fwlib library documentation⁠

Tag summary

Content type

Image

Digest

Size

23.4 MB

Last updated

about 6 years ago

docker pull strangesast/fanuc-minimal-example