WEBVTT

00:00:00.000 --> 00:00:08.000
Choose EDT EVK043027B I/O Memory - Brightness. Press Use Example.

00:00:08.000 --> 00:00:16.000
Name the project My Brightness Panel, choose its folder, then Create.

00:00:16.000 --> 00:00:24.000
Asset > Text > Texts: update title, hint, caption and cmds. Click outside to commit.

00:00:24.000 --> 00:00:32.000
Button_1: Reset 100%. Set X 280, Y 224, Width 112, Height 32.

00:00:32.000 --> 00:00:40.000
Bindings: enable communication; Brightness tag, Value property, Write Widget Value.

00:00:40.000 --> 00:00:48.000
Protocol > I/O Memory: Brightness is enabled, range 10-100%, command BRIGHT.

00:00:48.000 --> 00:00:56.000
Clicked > Built-in Action > Set Property: BrightnessSlider, Value, 100. Save.

00:00:56.000 --> 00:01:04.000
Preview > Start. Move the slider to 40: the readout and simulated brightness follow.

00:01:04.000 --> 00:01:12.000
Press Reset 100%. Confirm the value returns to 100, then stop Preview and save.

00:01:12.000 --> 00:01:20.000
Ask for the teal 24 px title and sun icon while preserving behavior. Review Keep / Undo run.

00:01:20.000 --> 00:01:28.000
Follow Problems. Increase Button_1 Height to 40; keep Y at 224. Retest the reset action.

00:01:28.000 --> 00:01:36.000
Build for the HMI, then Programming & Restart via the programmer selected in Deploy.

00:01:36.000 --> 00:01:44.000
Use the protocol USB-C COM port: 115200, 8N1, no flow control. It is separate from deployment.

00:01:44.000 --> 00:01:52.000
SET BRIGHT 40 returns OK. GET BRIGHT returns BRIGHT=40. Include CR LF.

00:01:52.000 --> 00:02:00.000
SET BRIGHT 5 returns ERR; read-back stays 40. Restore 100 and read it back.

00:02:00.000 --> 00:02:08.000
Flash the Modbus brightness example. In mbclient, set the protocol port to RTU, 115200 8N1.

00:02:08.000 --> 00:02:16.000
Send Message > Port/Unit: unit 1, FC03, address 4x 1, count 1. Send One reads 100.

00:02:16.000 --> 00:02:24.000
FC06, address 4x 1, Value 40. The echoed response and Good status confirm the write.

00:02:24.000 --> 00:02:32.000
Switch back to FC03: the connected EVK returns 40. Compare the physical display too.

00:02:32.000 --> 00:02:40.000
FC06 with Value 5 returns exception 03: BadIllegalDataValue.

00:02:40.000 --> 00:02:48.000
FC03 still reads 40. The rejected write did not change the previous valid value.

00:02:48.000 --> 00:02:56.000
Write 100, read 100, close Send Message and Stop main polling to release the COM port.

00:02:56.000 --> 00:03:04.000
EVK043027B at 40. Left: actual Modbus read-back. Right: supplied photo, AI glare removal.
