Skip to main content

Cleanup Outgoing Control

Setup

Keyence LK-G5001

LK Navigator 2

Keyence won't just give us the software until they know that we're customers. You can download an update for the software, but not a new-install installer. We have one (v1.0.3) from the old control. That appears to be the latest version.

Configure connectivity to the controller. (Static IP: 192.168.208.70/24)

Bosch VideoJet VJE X40

Firefox + Java

Copy the Firefox+JRE portable install to the control. Verify that you can connect to the encoder.

Configure connectivity to the encoder. (Static IP: 192.168.208.75/24)

Port Forwarding (If Needed)

REM  Laser Controller
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=24687 connectaddress=192.168.208.70 connectport=24687
netsh advfirewall firewall add rule name="Port-Forward: Keyence Laser Controller" dir=in description="The firewall exception for a corresponding port forwarding action. (netsh interface portproxy show all)" action=allow enable=yes protocol=tcp localport=24687 

REM  Video Encoder
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=554 connectaddress=192.168.208.75 connectport=554
netsh interface portproxy add v4tov4 listenaddress=172.16.18.105 listenport=8080 connectaddress=192.168.208.75 connectport=80
netsh advfirewall firewall add rule name="Port-Forward: Bosch VideoJet" dir=in description="The firewall exception for a corresponding port forwarding action. (netsh interface portproxy show all)" action=allow enable=yes protocol=tcp localport=8080,554

Cleanup

Remove tortoise SVN saved credentials and application

Remove port-forwarding rules and firewall exceptions

We created some port forwarding rules so that the laser controller and video encoder were using their production configuration (static IP addresses on the machine network) but were also accessible to developer machines while under development.

To clean up, remove the forwarding and firewall rules.

REM Laser Controller
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=24687
netsh advfirewall firewall delete rule name="Port-Forward: Keyence Laser Controller"

REM Video Encoder
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=554
netsh interface portproxy delete v4tov4 listenaddress=172.16.18.105 listenport=8080
netsh advfirewall firewall delete rule name="Port-Forward: Bosch VideoJet"