-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Models - Fanuc CNC intermediate model #6
Labels
application:adapter
Anything related to a specific application
Comments
|
Maybe something like this. {
"handler": {
"name": "Native",
"type": "l99.driver.fanuc.handlers.Native"
},
"collector": {
"name": "Basic08",
"type": "l99.driver.fanuc.collectors.Basic08"
},
"observations": {
"root": [
{
"name": "connect",
"veneer": "l99.driver.fanuc.veneers.Connect"
},
{
"name": "paths",
"veneer": "l99.driver.fanuc.veneers.GetPath"
},
{
"name": "cnc_id",
"veneer": "l99.driver.fanuc.veneers.CNCId"
},
{
"name": "power_on_time",
"veneer": "l99.driver.fanuc.veneers.RdParamLData"
}
],
"path": [
{
"name": "axis_names",
"veneer": "l99.driver.fanuc.veneers.RdAxisname"
},
{
"name": "spindle_names",
"veneer": "l99.driver.fanuc.veneers.RdSpindlename"
},
{
"name": "sys_info",
"veneer": "l99.driver.fanuc.veneers.SysInfo"
},
{
"name": "stat_info",
"veneer": "l99.driver.fanuc.veneers.StatInfoText"
},
{
"name": "figures",
"veneer": "l99.driver.fanuc.veneers.Figures"
},
{
"name": "gcode_blocks",
"veneer": "l99.driver.fanuc.veneers.GCodeBlocks"
}
],
"axis": [
{
"name": "axis_data",
"veneer": "l99.driver.fanuc.veneers.RdDynamic2_1"
}
],
"spindle": [
{
"name": "spindle_data",
"type": "l99.driver.fanuc.veneers.RdActs2"
}
]
},
"structure": {
"observations": {
"$ref": "#/observations/root"
},
"path": [
{
"name": 1,
"observations": {
"$ref": "#/observations/path"
},
"axis": [
{
"name": "X",
"observations": {
"$ref": "#/observations/axis"
}
},
{
"name": "Y",
"observations": {
"$ref": "#/observations/axis"
}
},
{
"name": "Z",
"observations": {
"$ref": "#/observations/axis"
}
}
],
"spindle": [
{
"name": "S",
"observations": {
"$ref": "#/observations/spindle"
}
}
]
}
]
}
} |
The model is completely generated on Fanuc-Driver side. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#5
Develop an intermediate model to assist in auto-generation of YAML model for the Adapter. The model will be fanuc-driver.Collector dependent, meaning that data harvested at the root, path, and axis/spindle levels will be known ahead of time. However, the number of axes, spindles, and path will not be known ahead of time.
See Ladder99/fanuc-driver#12.
The text was updated successfully, but these errors were encountered: