Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
750-841, CodeSys Network Variables Multiple controllers sharing the same data pool on the network © WAGO Kontakttechnik GmbH 1 750-841, CodeSys Network Variables Boadcast Architecture UDP Broadcast communication, cyclic, or event triggered switch COB ID 4711 COB ID 4711 © WAGO Kontakttechnik GmbH COB ID 4711 COB ID 4711 COB ID 4711 COB ID 4711 COB ID 4711 COB ID 4711 COB ID 4711 2 750-841, CodeSys Network Variables Communication UDP Broadcast communication, default port 1202 (changeable) Screenshot with two handshaking 750-841’s , PLC cycl time 1-3ms, handshake cycletime app. 6 m © WAGO Kontakttechnik GmbH 3 750-841, CodeSys Network Variables Multicast Communication TCP/IP defines the range from 224.0.0.0 through 239.255.255.255 as multicast addresses. The addresses in the range 224.0.0.x and 224.0.1.x are partly used for special purposes and should be avoided. For communication there are following options: © WAGO Kontakttechnik GmbH 192.168. 0. 45 255.255.255. 0 Example Controller: IP: SM: 1. Broadcast 255.255.255.255 2. Broadcast 192.168.0.255 3. Multicast 225.10.10.10 (for example, possible IP see above) 4 750-841, CodeSys Network Variables Multiple controllers sharing the same data pool on the network Variable1:BOOL; Variabe2:INT; Variable3:ARRAY[1..10] OF REAL; Prerequisits: 750-841 Firmware > 01.02.11(00) CodeSys Target > 21.06.2004 Library NetVarUdp_LIB_V23.lib © WAGO Kontakttechnik GmbH 5 750-841, CodeSys Network Variables Write file on compile Netvar001.exp saved on Hard Disk Variable1:BOOL; Variabe2:INT; Variable3:ARRAY[1..10] OF REAL; Read file on compile © WAGO Kontakttechnik GmbH 6 750-841, CodeSys Network Variables Enable Network variable support in the target settings Producer © WAGO Kontakttechnik GmbH 7 750-841, CodeSys Network Variables Add a new global variable list Name and path of the network variable file Node #1 producer with export, All other nodes consumer with import function COB-ID must match (similar to CANopen) Configure the transmission type Producer © WAGO Kontakttechnik GmbH 8 750-841, CodeSys Network Variables Define in it the network variables in the created variable list Producer © WAGO Kontakttechnik GmbH 9 750-841, CodeSys Network Variables Enable Network variable support in the target settings Consumer © WAGO Kontakttechnik GmbH 10 750-841, CodeSys Network Variables Name and path of the network variable file Node #1 producer with export, All other nodes consumer with import function The network variables popping up us Global variable and can be used in the program COB-ID must match (similar to CANopen) Consumer © WAGO Kontakttechnik GmbH 11