This is the code I'll be using: PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
This is the code I'll be using: PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
Sorry for posting this here, please delete.
This is the code I'll be using: PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
This is the code I'll be using: https://forge.codesys.com/forge/talk/forge/thread/457e6fdb1c/#cddc
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := 'XXX.XXX.XXX.XXX'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := '192.168.150.230'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := '192.168.150.6'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := '192.168.150.230'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := '192.168.150.6'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
code PROGRAM PLC_PRG VAR xSend : BOOL; //Settings port : UINT := 6454; theirIP : NBS.IPv4Address := (ipAddress := '192.168.150.230'); //BOTEX ArtNet-DMX-Converter myIP : NBS.IPv4Address := (ipAddress := '192.168.150.6'); //PixTend MySendData : ARRAY [0..50] OF BYTE; MySendDataReset : ARRAY [0..50] OF BYTE := [16#41,16#72,16#74,16#2D,16#4E,16#65,16#74,16#00,16#00,16#50, 16#00,16#0E,16#39,16#00,16#01,16#00,16#00,16#20,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00, 16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,16#00,...
UPDATE: Things are starting to look a lot better, as I can now consistently send Art-Net Packets. I'll post the code once I'm happy with it. Thanks a lot to @i-campbell!
Sorry for not answering any quicker and thanks a lot for your piece of code! I did update the projekt, switched to NBS SP16 and implemented what you sent me, but sadly I still seem unable to achieve the desired results. When using Wireshark to monitor the local Network, not a single UDP message shows up on port 6454. Any more wisdom you could share with me? EDIT: I am receiving 'WRONG_CONFIGURATION' errors from both myUDP_Peer and myUDP_Send. In case it is relevant, I'm using a PixtendV2, i.e. CodeSys...
Sorry for not answering any quicker and thanks a lot for your piece of code! I did update the projekt, switched to NBS SP16 and implemented what you sent me, but sadly I still seem unable to achieve the desired results. When using Wireshark to monitor the local Network, not a single UDP message shows up on port 6454. Any more wisdom you could share with me? EDIT: I am receiving 'WRONG_CONFIGURATION' errors from both myUDP_Peer and myUDP_Send. In case it is relevant, I'm using a PixtendV2! Cheers...
Thanks for the resources you provided! About disabling the firewall, are we talking the routers firewall for the network, or is this something host-based to do with CodeSys directly? Cheers Leon
Sorry for not answering any quicker and thanks a lot for your piece of code! I did update the projekt, switched to NBS SP16 and implemented what you sent me, but sadly I still seem unable to achieve the desired results. When using Wireshark to monitor the local Network, not a single UDP message shows up on port 6454. Any more wisdom you could share with me? In case it is relevant, I'm using a PixtendV2! Cheers Leon
Thanks for your quick answer, I'd prefer ST!
Hey there again! I've now tried using myUDP_PEER without success, as it always puts out an Error/ sets xError to TRUE. I could really do with a code example, as the one I used (NetBaseServicesDemo.project from https://help.codesys.com/webapp/090eefOU8ghnTgjp1u-MsUHjdQY%2Ffld-Examples;product=CAA_NetBaseServices;version=3.5.15.0) didn't get me where I wanted. Additionally, the project is in version 3.5.13, so is there any way (other than updating the whole thing) for me to use the SP 16 library? Thanks...
Hey there again! I've now tried using myUDP_PEER without success, as it always puts out an Error (sets xError . I could really do with a code example, as the one I used (NetBaseServicesDemo.project from https://help.codesys.com/webapp/090eefOU8ghnTgjp1u-MsUHjdQY%2Ffld-Examples;product=CAA_NetBaseServices;version=3.5.15.0) didn't get me where I wanted. Additionally, the project is in version 3.5.13, so is there any way (other than updating the whole thing) for me to use the SP 16 library? Thanks in...
Thanks mate, I'll try going with UDP_Peer next week!
Hey there, I'm trying to send Art-Net packages to an ArtNet-DMX-Converter via NBS.UDP_Send to switch between several DMX Channels within one Universe. I use wireshark to check the packets, and seem to be facing two difficulties: - all my UDP Packets seem to be within the port range 1740-1743, instead of the 6454 that I fed to myUDP_Send - the UDP Packets I am sending cointain a whole lot more data than just the UDP header and what I put into myUDP_Send.pData As my CodeSys experience isn't off the...
Hey there, I'm trying to send Art-Net packages to an ArtNet-DMX-Converter via NBS.UDP_Send to switch between several DMX Channels within one Universe. I use wireshark to check the packets, and seem to be facing two difficulties: - all my UDP Packets seem to be within the port range 1740-1743, instead of the 6454 that I fed to myUDP_Send - the UDP Packets I am sending cointain a whole lot more data than just the UDP header and what I put into myUDP_Send.pData As my CodeSys experience isn't off the...
Hey there, I'm trying to send Art-Net packages to an ArtNet-DMX-Converter via NBS.UDP_Send to switch between several DMX Channels within one Universe. I use wireshark to check the packets, and seem to be facing two difficulties: all my UDP Packets seem to be within the port range 1740-1743, instead of the 6454 that I fed to myUDP_Send the UDP Packets I am sending cointain a whole lot more data than just the UDP header and what I put into myUDP_Send.pData As my CodeSys experience isn't off the charts,...
Hey there, I'm trying to send Art-Net packages to an ArtNet-DMX-Converter via NBS.UDP_Send to switch between several DMX Channels within one Universe. I use wireshark to check the packets, and seem to be facing two difficulties: all my UDP Packets seem to be within the port range 1740-1743, instead of the 6454 that I fed to myUDP_Send the UDP Packets I am sending cointain a whole lot more data than just the UDP header and what I put into myUDP_Send.pData As my CodeSys experience isn't off the charts,...