Hello,
Does anyone have any links to convert from standard hex to snvt(Standard Network Variable Types) variable types. I need to convert some temperatures in one of my pic projects which is stored...
Type: Posts; User: shawn; Keyword(s):
Hello,
Does anyone have any links to convert from standard hex to snvt(Standard Network Variable Types) variable types. I need to convert some temperatures in one of my pic projects which is stored...
Ok, I'm just about onboard with the PIC/W5100 setup. I'm still kicking around the thought of using the ENC28J60 chip. To me right now I'm thinking the only main difference is that the ENC28J60...
Henrik,
Are you still working on this project? Using the Arduino Ethernet shield with AMICUS18 (Joint forum project?)
It looks very interesting, you have put a lot of thought into it. The way...
Hello,
A couple questions for ya all.
First of all, I want to be able to build a small web server using a pic. I want to be able to put graphics on the pages. No large file graphics but I want to...
Thanks Dave
Turning the AD Module off does not fix the problem but you got me thinking. After I turned the AD module off, I changed ADCON1 0-3 to all digital and that did the trick. Thanks again...
Hello
I am using a PIC 18F8722 and I am having a problem reading PORTF. I ran into a problem reading the portf in a project of mine and this code I am just testing it to see what happens.
In the...
OK, Learning time Steve. For me that is. I read through your post to fast sorry I am always on the go. When I added the fifth bit to my shiftout command I did not get the right result but I did...
Ok
I tried that also and it is a no go. Am I reading the result to fast with the shift in command and the hold cap is not charging. I've read the data sheet numberous times now and can't figure...
Hey
I will use the 18F8722 but I am using a 18F4585 in a proto board untill I get this figured out. I hope I a can get it figured out. I already have the board made.
I will try that after work. ...
Hello
New problem, I was using a MCP3202 ADC and was liking it but I need more inputs. I designed a board around the MCP3208 because the commands looked like they would be fairly similar. I...
Hey
thanks for the replies on the op amp. I tore a lm358 out of a board and tried it. It worked good. I have some mcp601 but they are only good for 5.5V which is not enough. Where does the cap...
Hello,
How is everyone? I got a new question, it is related to this project but not to modbus. If no one minds I am just going to keep asking questions on this post. I am working with a...
I got it, I'm still not sure what difference it made between using the rs 485 and the rs 232 bus, but I fixed the RCSTA.2 error problem. Turns out reading the RCREG clears the frame error. So I...
I'm Back
Ok, I am making progress, maybe. I know what the problem is but I haven't narrowed down the cause yet. I broke up the receiver error routine into to parts to check RCSTA.1 and...
Ok
New puzzle for ya all. This may be too much code for you to go over. But I am going to attach it anyway. This program is only to interrupt receive a modbus frame and detect the end of...
ok,
I wrote a short program to test the 4mS TMR2 routine. My math seems to be right I scoped it and all is good. Next part of the project will be he Rx code.
Shawn
Hey Henrik,
I guess it doesn't really matter what the modbus code said because I am revamping it. I didn't actually write that code, or at least the communication part. I copied it from someone...
Thanks Henrick,
I knew better with the array numbering I just dropped the ball. As for the Word sized array I also realize that the Tx register is only 8 bits. It will be taken care of in the...
OK
I just tried to reply and something freaked out. Anyways, I was just reading the posts again. Jerson I actually had been thinking the same thing about the while loop for receiving...
Ok
Thanks for the help so far. I am breaking the code into different pieces and I am going to test them 1 piece at a time and post them here for you guys to laugh over. This piece is the...
Hey,
I have been working on this too long and thought I had it working. The program below works fine when hooked up to rs 232 but when I hook it up to a rs 485 chip it does not work. It is not a...
Hello,
I am trying to speed up my project and make it more efficient. I am using a Pic18F4585 for testing purposes and will switch to a 18F8722 for my final project. Anyways, my pic is...
Hello,
I've got a few questions if anyone could toss out some ideas or answers.
I am still in the process of building a modbus rtu slave controller and a I can foresee a problem. I...
thanks for the replys everyone,
Ive been gone for a while and havent had time to suddy it all yet. Ill get back to it.
Thanks
Nick
Thanks for the answer Robert. I found some examples on the web and I understand it now. Has anyone ever done this on a PIC. It does look complicated, is there any other vriable type that would...