Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT UDP_SndRcv(44) Problem #2

Open
oedemis opened this issue Oct 26, 2015 · 2 comments
Open

MQTT UDP_SndRcv(44) Problem #2

oedemis opened this issue Oct 26, 2015 · 2 comments

Comments

@oedemis
Copy link

oedemis commented Oct 26, 2015

I have the issue during the compile time codesys results with the following errors:

Error 4001: UDP_SndRcv(44): Identifier SYSSOCKRECVFROM' not defined
Error 4263: UDP_SndRcv(44): Expected Number 'ELSE' or 'END_CASE'
Error 4001: UDP_SndRcv(70): Identifier SYSSOCKRECVTO' not defined
....
I have tested the prefered version of WagoLibEthernet and also with the version 24.7.13 15:05:58
my plc_prog with a cycle rate 5 seconds:

PROGRAM PLC_PRG
VAR
mqttClient : MQTT_Client;
pub: BOOL;
subi: BOOL;
END_VAR

pub := TRUE;
subi := FALSE;
mqttClient(
sTopic:= 'test/home' ,
sPayload:= 'Hello from Wago' ,
sIp:= '192.168.3.34' ,
wPortNumber:= 1883 ,
sUsername:= '' ,
sPassword:= '',
xPublish:= pub ,
xSubscribe:= subi ,
xConnected=> ,
xBusy=> );

@fieldfoxWim
Copy link
Contributor

Hi oedemis

  • Can you list all the libraries added to your project?
  • What CodeSys version are you using?
  • Can you send me your test project?

It seems odd to have an UDP error while it is actually using TCP.

Cheers
Wim

@sebastianrau
Copy link

I got the same Error, when I use The SysLibSockets from the PFC200 Folder. User the Lib from der 32bit Folder. Looks like an Error from the Wago Lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants