snizami Posted August 23, 2017 Report Share Posted August 23, 2017 Does anyone know how to use this function block; Quote Link to comment Share on other sites More sharing options...
NoamM Posted January 23, 2018 Report Share Posted January 23, 2018 Hi snizami, Use "Swap bytes extended" to copy bytes in a tag from one location to another. Paramters: A - Source tag (INT16/UINT16/INT32/UINT32/REAL/BUFFER). B - Source byte index. C - Destination byte index. D - Length to swap. E - Swap type (AB_BA/ABCD_DCBA/ABCD_CDBA). Quote Link to comment Share on other sites More sharing options...
Gabriel Franco Posted January 23, 2018 Report Share Posted January 23, 2018 How are SD filename and type related with SWAP bytes? I understand from the FB name, it can be used to swap bytes from a tag. Quote Link to comment Share on other sites More sharing options...
NoamM Posted January 24, 2018 Report Share Posted January 24, 2018 Gabriel Franco, thanks for noticing, I also think it's unrelated (updated my previous post). It will be fixed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.