If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
useful primitives
5 posts
• Page 1 of 1
useful primitives
HI all,
Here are some useful primitives that may be useful. These should be built into Flowstone IMO, but here they are anyways.
1) 16 bits to an int
2) int to 16 bits
Both can be broken down or combined into different sizes obviously. These will be useful in conjunction with Embedded's Modbus modules as well, since they deal with integer I/O.
Enjoy!
Here are some useful primitives that may be useful. These should be built into Flowstone IMO, but here they are anyways.
1) 16 bits to an int
2) int to 16 bits
Both can be broken down or combined into different sizes obviously. These will be useful in conjunction with Embedded's Modbus modules as well, since they deal with integer I/O.
Enjoy!
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
Re: useful primitives
Could be useful, but most times these are enough:
Decimal - Hex - Binary - Hex - Decimal
Decimal - Hex - Binary - Hex - Decimal
- Attachments
-
- Dec_Hex_Bin_Hex_Dec.fsm
- Number Conversions
- (286 Bytes) Downloaded 1410 times
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
Re: useful primitives
I knew about those, but there aren't primitives to break out individual bits... I guess you could do it that way using this way:
But that just seemed odd to me. I come from the PLC industrial world as such, and I have always like having a block that I could tie an output to a particular bit without thinking too much about it.
But that just seemed odd to me. I come from the PLC industrial world as such, and I have always like having a block that I could tie an output to a particular bit without thinking too much about it.
- fixstuff555
- Posts: 151
- Joined: Thu Oct 21, 2010 3:24 pm
Re: useful primitives
There are 10 types of people in this world, those that understand binary and those that don't!
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 80 guests