Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
Hello Community of Kincony !
I am using a KC868-A8, which is a great product.
I have activated http server to send some commands in tcp to the board.
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"}
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 }
Any idea of what could be wrong by reading the inputs ?
Thank you !
Fabien
Posts: 6,758
Threads: 848
Joined: Oct 2020
Reputation:
164
take a photo of your protocol webpage setting of KCS firmware.
Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
(12-24-2024, 11:59 PM)admin Wrote: take a photo of your protocol webpage setting of KCS firmware.
Hello Admin,
Thank you.
Here is my parameters.
By the way, I don't know why I do not have access to the Modbus parameters, this board should be compatible with Modbus RTU, right ?
Posts: 6,758
Threads: 848
Joined: Oct 2020
Reputation:
164
KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224
Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
12-28-2024, 04:49 PM
(This post was last modified: 12-28-2024, 09:11 PM by fabien1506.)
(12-27-2024, 12:32 AM)admin Wrote: KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224
Ok for Modbus.
Yes my board is in 192.168.1.200
I am already using the latest firmware in 2.2.8
That’s why I’m wondering what could be wrong.
Posts: 6,758
Threads: 848
Joined: Oct 2020
Reputation:
164
KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.
Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
(12-29-2024, 12:01 AM)admin Wrote: KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.
Yes ok understood that.
But my issue is still existing with the http commands :
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"}
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 }
Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
Yes ok understood for Modbus TCP.
But my original issue was that TCP commands was not working :
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"}
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 }
Posts: 8
Threads: 1
Joined: Dec 2024
Reputation:
0
Hello,
Yes ok I got that, but my main issue was that I was unable to read the Inputs :
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"}
When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 }
Thanks.
Posts: 6,758
Threads: 848
Joined: Oct 2020
Reputation:
164
i have tested the newest firmware V2.2.10, it's work well, make sure, you can replaced your actually ip address of your KC868-A8 board.
|