Closed rolandk76 closed 1 year ago
Hi . Are you connected to controller ? Keep alive is working?
yes I am, it is only an issue if I want to send a job
At the end of message do you add 0x00 Character. can you try with this message : "00220038001 01"
or run something like
var message = new Mid0038(jobId, 1).Pack(); this is now you generate the mids
also be sure you have null char added at the end when you send it Message should be 22 byte long + null char
thanks for answer, yes i use it in that way with your sample app... but I am not able to run the SendJobCommand without the error I get back from the controller... maybe the job informations are missing, that it is not possible to select one?
I never ask what controller are you using?
Gustav Vanderdi
From: rolandk76 @.> Sent: Thursday, February 3, 2022 5:11:47 PM To: Rickedb/OpenProtocolInterpreter @.> Cc: Gus @.>; Comment @.> Subject: Re: [Rickedb/OpenProtocolInterpreter] not able to make a job request (Issue #85)
thanks for answer, yes i use it in that way with your sample app... but I am not able to run the SendJobCommand without the error I get back from the controller... maybe the job informations are missing, that it is not possible to select one?
— Reply to this email directly, view it on GitHubhttps://github.com/Rickedb/OpenProtocolInterpreter/issues/85#issuecomment-1029150265, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AN3FXYLRF5AMXZAKWK7F6EDUZKSMHANCNFSM5MVLG6EA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>
it is an Power Focus 6000
this is a byte array of the message . yours look the same ? 48 48 50 50 48 48 51 56 48 48 49 32 32 32 32 32 32 32 32 32 48 49 0
?
Don't know what to say. Use wireshark to capture the package and make a byte compare . if the message is like in the documentation and still not work ask maybe Atlas Copco support. for the moment i don't have any controller to test.
@rolandk76 any updates here?
Closed due to inactivity
Hi, thanks for the great solution... I am using your windows Forms Example, but I always get an Error back if I try to send a job in the sample...:
Sending job <1> to controller! Sending message: 00220038001
Response: 00260004 0000 003801 Job refused by controller under error code <1> (INVALID_DATA)!
can some pls help me in this case... thanks!