| Subscribe_1 [message #1836417] | 
Sun, 03 January 2021 01:02   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi 
 
I wish to recive a simple TCP/IP message, (see picture) 
 
I have a python program sending every second a message 
 
on the RTE I get this ? 
CBSDSocketInterface: bind() failed: Permission denied 
 
No Idea where to go from here ?, 
Is it something I am not setting on the SUBSCRIBE_1 Fb ? 
 
Thank you  
 
Regards 
Asterios
 |  
 |  
  | 
 | 
| Re: Subscribe_1 [message #1836530 is a reply to message #1836427] | 
Wed, 06 January 2021 18:51    | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Alois 
 
I apprechiate the support, have gotten alot further, thank you 
 
It is my first time playing with 4diac and IEC61499, I can see the benifits, I have 25 year experence in PLCs so hopfully once I get started I should not need to much of your time. 
 
1/  How do I know its working ?  Having probem decoding RD_1, from previous message how do I attached a word array ? 
Like IEC1131 can I have global word arrays and attached it to the RD_1 pin ? 
Screen shot 1, RTE and IDE running on my laptop, RTE working properly ? what is that error message ? 
 
2/ On my Desktop PC, could not connect th server FB RD pin to the INT2INT ? both running ubuntu 20 10. 
 
screen shot 2 also shows python program sending out a TCP/IP message and a example of a Fuji PLC recving a TCP/IP message in a word array,   
Also the IDE that can't connect Pins. 
 
Again, apprechiate the suport 
Regards 
Asterios 
 |  
 |  
  | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
 | 
| Re: Subscribe_1 [message #1836706 is a reply to message #1836699] | 
Tue, 12 January 2021 10:24   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi Asterios, 
 
great to hear that it works.  
 
The language IEC 61499, which 4diac implements, does not have any global variables. So also 4diac does not have such.  
 
I would handle RETENTIVE memory with dedicated SIFB function blocks. 
 
Alois 
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04822 seconds