Germany
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« on: January 24, 2012, 04:33:19 am » |
the site says :Upload to Arduino device the ModBus RTU protocol.. when i put it in sketchbook and compile it says :As of Arduino 1.0, the 'BYTE' keyword is no longer supported. Please use Serial.write() instead. how to upload the protocol ?  ...now i have uploaded the protocol by the arduino 0023 version ..but the server still wont recognise it..
|
|
|
|
« Last Edit: January 24, 2012, 05:24:56 am by devilesence »
|
Logged
|
|
|
|
|
Espoo, Finland
Offline
God Member
Karma: 6
Posts: 581
"Oops, try again..."
|
 |
« Reply #1 on: January 25, 2012, 03:34:28 am » |
What is "acimut monitriza"?
Cheers, Kari
|
|
|
|
|
Logged
|
The only law for me; Ohms Law: U=R*I P=U*I Note to self: "Damn! Why don't you just fix it!!!"
|
|
|
|
Germany
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #2 on: January 25, 2012, 06:58:44 am » |
 ,, scada software...
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 311
Posts: 35470
Seattle, WA USA
|
 |
« Reply #3 on: January 25, 2012, 07:11:52 am » |
,, scada software... The Arduino implementation can, at best, toggle pin 13 on and off. Nothing else.
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #4 on: January 25, 2012, 08:17:06 am » |
lol..  ......  really ?
|
|
|
|
|
Logged
|
|
|
|
|
Espoo, Finland
Offline
God Member
Karma: 6
Posts: 581
"Oops, try again..."
|
 |
« Reply #5 on: January 25, 2012, 08:54:04 am » |
the site says :Upload to Arduino device the ModBus RTU protocol.. when i put it in sketchbook and compile it says :As of Arduino 1.0, the 'BYTE' keyword is no longer supported. Please use Serial.write() instead. how to upload the protocol ?  ...now i have uploaded the protocol by the arduino 0023 version ..but the server still wont recognise it.. How much information this contains? I mean, if you put yourself in other peoples position, how would this look like to you? Try more text, less smileys. Cheers, Kari
|
|
|
|
|
Logged
|
The only law for me; Ohms Law: U=R*I P=U*I Note to self: "Damn! Why don't you just fix it!!!"
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 311
Posts: 35470
Seattle, WA USA
|
 |
« Reply #6 on: January 25, 2012, 08:55:08 am » |
really ? Yep. Looks like the Arduino implementation was a proof-of-concept that didn't hold someone's interest long enough to extend the functionality to meaningful levels.
|
|
|
|
|
Logged
|
|
|
|
|
Germany
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #7 on: January 25, 2012, 10:32:31 am » |
@garryp , i thought many people must have used this scada software ,as it is the only one that supports arduino.. people who have used it will get it easily, to what i mean .. i've qouted it from the installation guide ..
|
|
|
|
|
Logged
|
|
|
|
|
Espoo, Finland
Offline
God Member
Karma: 6
Posts: 581
"Oops, try again..."
|
 |
« Reply #8 on: January 25, 2012, 11:42:41 am » |
@garryp , i thought many people must have used this scada software ,as it is the only one that supports arduino.. people who have used it will get it easily, to what i mean .. i've qouted it from the installation guide ..
What if you turn this assumption upside down? Maybe many "scada software" users are using Arduinos, but how many of them are there, I have no idea...? But, could you give a link to that software? Maybe the answer lies over there, I'm interested if it has something to do with this: http://en.wikipedia.org/wiki/SCADACheers, Kari
|
|
|
|
|
Logged
|
The only law for me; Ohms Law: U=R*I P=U*I Note to self: "Damn! Why don't you just fix it!!!"
|
|
|
|
Germany
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #9 on: January 27, 2012, 04:54:02 am » |
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 1
|
 |
« Reply #10 on: December 30, 2012, 05:28:35 pm » |
Hi devilesence, with IDE version 1.0 of arduino some implementaion changed. Helpful for me: http://blog.makezine.com/2011/12/01/arduino-1-0-is-out-heres-what-you-need-to-know/shurely in this forum there are similar information - google showed me this at first. There you will find the section: The BYTE keyword is no longer supported. Change: Serial.print(val, BYTE) To: Serial.write(val); //sends as char Just do it within the sketch for (i = 0; i < string_length; i++) { Serial. write(query );
.... and it will work for a short time ... currently there seems to be a licensproblem within this software. I just startet working on it.
Cheers Frank (Just one year to late ...)
|
|
|
|
|
Logged
|
|
|
|
|
|