Not with Edge. It doesn’t permit gateway scripting, nor does it permit SQL access.
In a standard install, this is relatively easy in combination with the Serial Module. Or if you are using a TCP-to-serial converter, with native Java networking.
What flavor of Edge are you using? I believe with Panel you should have scripting enabled - not sure if the serial scripts will work in that configuration but not sure why they wouldn’t.
If the check weigher sends data unsolicited then a serial to ethernet gateway with the TCP/IP driver could work. There is also an open source version of a TCP/IP module on GitHub which has a couple more features than the native TCP/IP driver that we’ve used with a vision system: https://github.com/chi-Ignition/generic-tcp-driver/releases.
Another option to look at if those don’t work for you would be UCON driver from Kepware.
I should have clarified that with Edge Panel that client scripting is enabled - not the gateway scope as Phil mentioned but I believe the system.serial functions should work in the client scope. I very well could be wrong though.