electron4951
New Member
I'm a newB with both CAI Webcontrol (latest version) and ISY 994i; and would appreciate if you can help in guiding me to get the CAI WC to send temperature data to an ISY 994i.
Many thanks
Many thanks
Thank you for the reply. Here are what I did:TJF1960 said:Try url1 without the port number. Your get uri looks fine. If your base 64 autho. is wrong that will prevent the updates as well.
The other thing is that the isy will not process any number with a period in it. I cant remember is wc8 sends the temp as say 96.9 or as 969. If it sends as 96.9 the isy will ignore it.
Also unless there is more to you plc code the wc8 will try to send updates to the isy a lot of times per minute which will probably overload the isy, you will need some sort of limiter to keep the updates to a reasonable amount.
Dear Larry and TJF,LarrylLix said:TSTEQ CM RAM1
CALLSUB WEBCTROL
WEBCTROL:
INC RAM1
WEBSET URL1 RAM2
TSTEQ RAM1 60
SET RAM1 1
RET
But the ISY variable #57 still did not receive temp data from CAI. I wonder on the ISY network resources what should I put in the "Path
The ISY Network module is not required. The ISY will not be initiating transmitting anything and only receiving data with the Rest interface.
As per TJF: no port number or colon ":" on your IP address. The "/rest/vars/..." looks good with "/" each end. Make sure you format your ISY994i accountassword exactly with no spaces to generate your encrypted code.
You have no time delay in that routine and may still experience clobbering the WC8 Ethernet port with data. I have found my WC8 to average about 1600 lines of PLC code per second.
Try this:
START
SET RAM1 500
LOOP:
WEBSET URL1 RAM1
DELAY 2000
SUB RAM1 1 RAM1
BNZ RAM1 LOOP
END
Note: This was just off the top of my head so if anybody sees code errors please correct.
LarrylLix said:Would you mind reposting this in a new thread, with a good title, so that searches can find this? Also it could be noted that it may be dynamic if you are willing to maintain it a bit while contributors pick it apart and/or expression confusion. to be clarifies in the doc.
...
LarrylLix said:Would you mind reposting this in a new thread, with a good title, so that searches can find this?
...