Hello!
I met Christofer the first Time this year at the BuildingIOT in Essen and he 
told me about PLC4x.
Finally I have some time to deal with the project and want to say Hello.

Since I only have Python experience so far, the first steps in Java are a bit 
unfamiliar.
I have a problem with the mqtt sample:
The sample config establishes a connection to test:plc4x-example-mqtt and sends 
different data even in the interval.

java -jar target/plc4j-hello-connectivity-mqtt-0.6.0-uber-jar.jar 
mqtt-connector.yml
Connected with return code SUCCESS
Publish acknowledged: {"intParam":"785285590","intParam2":"-1075569817"}
Publish acknowledged: {"intParam":"1947089580","intParam2":"-1742619214"}
Publish acknowledged: {"intParam":"-595050756","intParam2":"1191528931"}


When I use the Prosys OPC Simulator it seems that only the first received data 
packet is forwarded via mqtt...

java -jar target/plc4j-hello-connectivity-mqtt-0.6.0-uber-jar.jar mqtt-opc.yml
Connected with return code SUCCESS
Publish acknowledged: {"Counter":"8","Sinusoid":"0.8134733458143782"}
Publish acknowledged: {"Counter":"8","Sinusoid":"0.8134733458143782"}
Publish acknowledged: {"Counter":"8","Sinusoid":"0.8134733458143782"}

Is there anything I don’t have in mind to look at ?

Regards,
Wolfgang Huse

Reply via email to