Skip to main content

Bystronic

Protocol: OPC-UA · Port: 56000 (TCP and UDP) · Endpoint: opc.tcp://<machine_ip>:56000 · Cable: the network port on the ByVision PC or brake panel PC. Firewall rules are needed on both the panel PC and the server.

For where the cable goes and how to set the control's IP, subnet and gateway, see Physical Connection in the OPC-UA overview.

Bystronic laser cutters and press brakes expose OPC-UA through ByVision.

Bystronic uses port 56000, not the standard 4840

Both TCP and UDP rules are required for port 56000, on both the brake panel PC and the server.

Key Points​

  • Port: 56000 (not standard 4840)
  • Requires both TCP and UDP firewall rules
  • Must reboot entire machine (not just PC)
  • Enable in Modules → Administration → Advanced Settings

Unique Port​

  • Bystronic uses port 56000 instead of standard 4840
  • Must open both TCP and UDP for this port

Enabling OPC-UA on the Control​

Step 1: Enable OPC-UA​

  1. Navigate to Modules → Administration → Advanced Settings
  2. Find OPC-UA setting
  3. Enable OPC-UA server

Bystronic ByVision Administration — Advanced Settings panel with OPC-UA checkbox enabled

Step 2: Open Firewall Ports​

Port 56000 (both TCP and UDP) must be open on both:

  • Brake panel PC
  • Server

Note: For network-level firewall configuration and Edge device requirements, see the Network Requirements Guide.

Creating Firewall Rules:

For TCP Port:

  1. Open Control Panel on machine/server
  2. System and Security → Windows Defender Firewall
  3. Advanced Settings → Inbound Rules
  4. Actions (right side) → New Rule
  5. Select Port → Next
  6. Select TCP → Enter 56000 for Specific Local Port → Next
  7. Select Allow the connection → Next
  8. Select Domain, Private, Public → Next
  9. Enter name: Bystronic56000TCPPort → Finish

For UDP Port:

  1. Actions → New Rule
  2. Select Port → Next
  3. Select UDP → Enter 56000 → Next
  4. Allow the connection → Next
  5. Select all profiles → Next
  6. Enter name: Bystronic56000UDPPort → Finish

Step 3: Reboot​

Reboot the entire machine (not just the PC) for changes to take effect.

Connection Port: 56000

Sample Adapter Script​

Generic Laser Cutter Script​

version: 2
tags:
part-quantity:
path: ns=2;s=Laser.CurrentPlan
property: partQuantity
laser-power:
path: ns=2;s=Laser.CurrentLaserPower
cut-state:
path: ns=2;s=Laser.CurrentCutState

variables:
part-count:
- source: part-quantity
- value-change
- count
execution:
- source: laser-power
- state:
- ACTIVE: this > 0
- READY: true

data-items:
- execution
- part-count
- part-quantity
- cut-state

Explanation:

  • part-count: Counts each time part-quantity changes
  • execution: ACTIVE when laser power > 0, otherwise READY
  • Direct pass-through for part-quantity and cut-state