RS485 For Hypertherms
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
( With some high level languages you have to watch carefully that they really send out the hex. In windows I had once the problem that the lower hex ones had been automatically transformed to control sequences. Grrrrr)
Only in the very old ModBus-ASCI have been with CR/LF. But that is not used often anymore...
M5C
Mike
Please Log in or Create an account to join the conversation.
Only in the very old ModBus-ASCI have been with CR/LF. But that is not used often anymore...
M5C
Mike
But in this case its Modbuus ASCII
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
;-(
Please Log in or Create an account to join the conversation.
In the Hypertherm docs they mention a CR/LF at the end of transmission from master to slave but when they mention the reply there is no CR/LF. Is this correct?
Edit: Hey Rod I see one of Toms links is from your neck of the woods.
Phill, I think the answer is on page 4. They assume your software strips out the CRLF terminator
CR/LF Carriage return, line feed in hexadecimal: 0D0A. The end characters are typcially removed on incoming messages by the CNC.
And yes, I lived in Toowoomba where USQ is for a few years.
Please Log in or Create an account to join the conversation.
Phill, I think the answer is on page 4. They assume your software strips out the CRLF terminator
Well, I have read that doc a gazillion times (or I thought I had) and didn't see that bit. I think this is frustrating me, I'll take a short break...CR/LF Carriage return, line feed in hexadecimal: 0D0A. The end characters are typcially removed on incoming messages by the CNC.
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
- Posts: 1130
- Thank you received: 533
Well, I have read that doc a gazillion times (or I thought I had) and didn't see that bit. I think this is frustrating me, I'll take a short break...
That was my experience learning Modbus RTU/ASCII as well,
What makes things more fun is the way the register values start, It can either start with a 0 or 1 depending on vendor it could be one of either! I have a servo drive that I programed a PLC to control and setting up the Modbus code first time was a real head fuck.
Please Log in or Create an account to join the conversation.
Now I need to make me an Arduino PM-XP emulator so I can talk to something...
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Yeah, I have an 8 channel logic analyser but the problem I was having with a VMware guest was that it wouldn't open the port consistently.
You trying to get the Hyperterm to talk rs-485 for THC?
Please Log in or Create an account to join the conversation.