RobotStudio event

How to rewrite rawbytes / packrawbytes / unpackrawbytes for S4 Controller

Hello together,

could someone tell me if it is possible to write the above mentioned functions by myself.
I have an S4 (BaseWare OS 2.1) controller and I try to either use the RoboDK to communicate with my robot through serial or to write my own driver.

Ive come through the post https://forums.robotstudio.com/discussion/11570/raw-bytes-reading-error where they say that this function creates an ASCII file in the background.
Is it possible to use standard fnctions like WriteBin or WriteStr to create my own file?

Answers

  • If you have file and serial channel option you can read and write ascii string based or binary information.  The S4 may use a smaller subset of the instructions that you see in the more modern manuals (IRC5 based).  PackRawBytes and such did not exist back then.
    Lee Justice