Convert decimal to hex for msg payloading

Join Date
Dec 2018
Location
Eastern US
Posts
11
Hey All, i have been fortunate enough to play around with an Applied Motion Products Servo Drive SV200 with 100 watt/ 24vdc congif. I managed to hard code MSG's to command starting, stopping, status and alarm reset. however there appears to be a bit of work for proper decimal conversion and byte swapping to simply command just one of the nine user defined register values. "I plan to use all 9."

If some one has already determined a quick structure, I would love to hear in on it. At this rate, looks to be a bit bulky for a simple string shrink, convert, seg to Msb and Lsb, swap and send ��*♂️
 
Are you using Ethernet or RS-485? I see that Red Lion Crimson software contains a driver for RS-485 for "Applied Motion SCL" protocol. Using a gateway device like that is about the only way I can think of to do what you want and avoid having to do a lot of messages and all the required data manipulation in the ML1400. I did not see an Ethernet driver in Crimson software for Applied Motion.
 

Similar Topics

We are doing some testing communicating serially with a linear actuator in order to get its current position using an Allen Bradley Compact Logix...
Replies
8
Views
21,060
Hi all! looking for help converting an 8 bit word SINT tag into decimal. I have an IFM SBN246 flow sensor wired in my controller (L310ER) and it...
Replies
4
Views
2,129
Anyone have a good way to convert a decimal number to fractions. Need to convert decimal inches to fractions before sending to HMI
Replies
16
Views
6,377
Hey all, Here's a tricky decimal to binary conversion project I could use some help with: In my RSLogix 5000 application, I have a "checklist"...
Replies
7
Views
3,025
Hey all, I've reviewed many threads regarding converting one data type to another and I have something I'm working on that I'm stumped on and...
Replies
9
Views
5,864
Back
Top Bottom