-
Notifications
You must be signed in to change notification settings - Fork 39
Description
When reading ProductionData out of our Kitamura 5 (Fanuc Series 16i) - the ProductionData vaneer has an invocation error. I ran TRACE level debug and found that two focas calls (cnc_exeprgname and cnc_exeprgname2) both return with rc 1 and success = false. All of the other calls returned successfully.
Would it be possible to have the veneer still populate the output of the other values and maybe set those to blank or null? This would allow the other peices of information to be returned.
TRACE OUTPUT OF THE FAILED CALLS:
{
"null": false,
"method": "cnc_exeprgname",
"invocationMs": 14,
"doc": "https://docs.ladder99.com/drivers/fanuc-driver/focas-api/program/cnc_exeprgname",
"success": false,
"rc": 1,
"request": {
"cnc_exeprgname": {}
},
"response": {
"cnc_exeprgname": {
"exeprg": {
"name": [
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000",
"\u0000"
],
"o_num": 0
}
}
}
},
{
"null": false,
"method": "cnc_exeprgname2",
"invocationMs": 15,
"doc": "https://docs.ladder99.com/drivers/fanuc-driver/focas-api/program/cnc_exeprgname2",
"success": false,
"rc": 1,
"request": {
"cnc_exeprgname2": {}
},
"response": {
"cnc_exeprgname2": {
"path_name": [
"\u0000",
"\u0000",
"\u0000",
"\u0000",
. . . MANY NULLS . . .
"\u0000",
"\u0000",
"\u0000",
"\u0000"
]
}
}
},
{
"null": false,
"method": "cnc_rdseqnum",
"invocationMs": 4,
"doc": "https://docs.ladder99.com/drivers/fanuc-driver/focas-api/program/cnc_rdseqnum",
"success": true,
"rc": 0,
"request": {
"cnc_rdseqnum": {}
},
"response": {
"cnc_rdseqnum": {
"seqnum": {
"dummy": [
0,
0
],
"data": 4221
}
}
}
}
] |l99.driver.fanuc.veneers.ProductionData|