Codesys network Variable comunication

thebest1004

Member
Join Date
Aug 2016
Location
Cluj Napoca
Posts
2
Hello, i am kinda new at codesys and i want to make a comunication between one ifm cr0403 plc and a cr0451 hmi i have read a lot on the forums and i can't understand what i did wrong.I have attached my code here can any 1 help please.
 
put the data in to markers like %MW0 etc.
this will help you to find them back as the address is a fixed one. like 40000
 
There must be activated Raw CAN besides CAN-Open ( functional block CAN_ENABLE), because net variables are exchanged in RAW CAN Layer.
 
thanks for the fast respond, @shooter you want to say to put all my data that i want to transfer in %MW0 adresses?
@niangoto how you active this raw can i have that library in the project but what function i have to use ?
 

Similar Topics

Does anyone have an idea on whether CODESYS NETWORK VARIABLES are the same as NI PXI NETWORK VARIABLES I will program a Codesys based Schneider...
Replies
2
Views
2,725
Hello, One question regarding Network Variables in Codesys. I am using an IFM system with CAN communication. I have a controller and a display...
Replies
2
Views
4,854
Hi, Greetings, In one of my applications I need to create a network variable connection using UDP between a codesys target and Twincat controller...
Replies
1
Views
4,782
Hello, I would like to execute code saved in initialization FB on the first start of the PLC. It is basically something like OB100 in the Siemens...
Replies
1
Views
11
Hi! What is the way to convert the code from the Codesys code to the Tia Portal? Regards, WK
Replies
0
Views
37
Back
Top Bottom