Skip to content

Commit 54f4b7e

Browse files
committed
Tutorial content minor patch
1 parent 4d0aea0 commit 54f4b7e

File tree

1 file changed

+0
-3
lines changed
  • content/hardware/07.opta/opta-family/opta/tutorials/opta-modbus-tcp-plc-ide

1 file changed

+0
-3
lines changed

content/hardware/07.opta/opta-family/opta/tutorials/opta-modbus-tcp-plc-ide/content.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,6 @@ void setup()
223223
// If the cable is not connected this will block the start of PLC with about 60s of timeout!
224224
Ethernet.begin(ip, dns, gateway, subnet);
225225
}
226-
227-
...
228226
```
229227

230228
These properties — `ip`, `dns`, `gateway`, and `subnet` — are provided as arguments to the `Ethernet.begin()` method, setting its properties for Opta™. It can be adjusted as per your preference or based on network prerequisites. For instance, `ip(192, 168, 1, 2)` denotes the IP address assigned to the Modbus TCP Server Opta™.
@@ -315,7 +313,6 @@ void setup()
315313
// If the cable is not connected this will block the start of PLC with about 60s of timeout!
316314
Ethernet.begin(ip, dns, gateway, subnet);
317315
}
318-
319316
```
320317

321318
The `ip(192, 168, 1, 1)` represents the IP address of the Modbus TCP Client Opta™. The Internet Protocol properties can be adjusted as required, but ensuring the `subnet` matches your computer's is crucial.

0 commit comments

Comments
 (0)