Switcher setup
"Switcher" Setup¶
This is the device that receives CTOs from the "Sampler", and switches its digital output appropriately.
The Node-ID is 35 decimal. "Sampler" has a Node-ID of 34 decimal.
Network setup¶
In contrast to the "Sampler" configuration - the "Switcher" is just a Wi-Fi Server (Access Point).
There is no configuration required related to PDOs — no effort is required to receive a PDO.
Consequently, only a typical Wi-Fi Server configuration is required:
| Object | Setting | Notes |
|---|---|---|
0x3000:0x01 [Wi-Fi Operating Mode] |
0x02 [Mini Access Point] |
|
0x3000:0x10 [Enable 2.4GHz WiFi Band / Infrastructure only] |
1 Enabled |
|
0x3000:0x11 [Enable 5GHz WiFi Band / Infrastructure only] |
0 Disabled |
|
0x3008:0x03 [Bluetooth Enable] |
0 Disabled |
|
0x3008:0x09 [BLE Enable] |
0 Disabled |
|
0x3008:0x02 [WiFi Enable] |
1 Enabled |
|
0x3000:0x04 [WiFi Authentication Type] |
7 [WPA/WPA2 Mixed] |
|
0x3000:0x09 [WiFi DHCP Mode] |
2 [Server (WiFi MiniAP only)] |
|
0x3000:0x25 [WiFi Region] |
As Appropriate | |
0x3000:0x02 [WiFi SSID] |
PDO_Server | |
0x3000:0x05 [WiFi Authentication Key] |
ChocolateCake4Breakfast! | |
0x3000:0x0F [Access Point WiFi Channel / MiniAP only] |
0 |
Automatic Channel Selection |
0x3010:0x15 [Connection Direction Configuration/Server or Client 1] |
2 [Server enabled] |
|
0x3010:0x16 [Connect Type 1] |
1 [TCP Socket] |
|
0x3010:0x17 [URL Address/WiFi Client only 1] |
192.168.0.35 |
|
0x3010:0x18 [Socket Listen Port/WiFi only 1] |
30000 |
|
0x4000:0x16 [CAN Message Output CAN2] |
1 [Start Msg. Output active] |
|
0x4050:0x03 [Node Id CAN 1] |
35 |
After boot, this device will wait for a connection request on port 30000, and accept one Client.
If the voltage fluctuates around the 12V value, a PDO will be received that write to the 0x3333:0x0F [Digital Output] object.
The output will be High if a 1 is written, and Low if 0 is written.