BT San Technology

Knowledge

Technical guides with sample code we ran, its real output, and references.

  1. Illustration: pass and reject bins at the end of an inspection line, an inspector re-checking a part from each, a tablet with a four-cell grid
    Machine vision27 min readFalse Accept vs False Reject: Setting Acceptance Criteria for AI Quality InspectionA runnable Python walkthrough of AI inspection error rates: threshold sweep for FAR/FRR, EER, cost-based thresholds, a manual-check gray zone, and how many test samples you need before claiming a rate.
  2. Illustration: a conveyor with a camera station on the left and an air-jet reject further right pushing one carton into a chute, a PLC cabinet behind
    Machine vision26 min readVision to PLC Handshake: Trigger, Result and Rejecting the Right PartThe camera flags a bad part but the air jet hits the wrong one. PLC logic that ties each result to an encoder count: timing budget, gate pulse, reject by default, discarding duplicates, with runnable code and real output (Thai text).
  3. Illustration: two batches of the same part with slightly different surface colour, a monitor behind showing a chart drifting out of its normal band
    Machine vision26 min readInspection AI Used to Be Accurate and Now Misses: Tracking Model Drift on the LineA Python (numpy) script that compares weekly model confidence, image brightness and reject rate against a reference window with PSI and KS, with real output, alert thresholds and what to do on an alert: check light and camera first, sample images for relabelling, then a retrain gate (Thai text).
  4. Illustration: an older machine with a new sensor box beside its panel, a tablet showing a run/stop timeline with unexplained stops
    Smart factory26 min readCollecting data from an old machine with no network port: CT clamp, count pulses and MQTT that survives network dropsReading run/idle/off from motor current, counting parts from a bouncy pulse input, summarising in time windows and publishing over MQTT with store-and-forward, with runnable TypeScript, real output and electrical-safety notes (Thai text).
  5. Illustration: an electrical panel with power meters and current clamps, a pallet of finished goods in front, a tablet showing energy per unit
    Smart factory26 min readEnergy Monitoring: Measuring Energy per Unit Produced in a Way That Means SomethingThe total power bill cannot tell you whether the plant is using energy well. Place meters and compare against output and product mix.
  6. Illustration: an alarm list in a control room, one alarm expanded into three steps to take
    Smart factory28 min readAlarm Management in SCADA: Cutting Needless Alarms Without Missing What MattersWhen alarms sound all day, people stop listening. Set priority, delay, deadband and a response guide.
  7. Illustration: a network cabinet with a factory-side switch in blue cables and an office-side switch in grey, linked only through one gateway
    Smart factory24 min readOT/IT Network Segmentation: Separating the Plant Network from the Office NetworkZones, a DMZ and an allow-list written as data, a Node 24 checker that finds connections that should not exist, and an example nftables ruleset that is only printed, never applied (Thai text).
  8. Illustration: a technician inserting a drive into a storage unit, a monitor showing recent data dense and older data thinned out
    Smart factory30 min readHow Long to Keep Plant Data: Planning Sampling and Historian StorageReduce plant data with deadband and swinging door while knowing what you lose, build rollups that keep spikes and gaps visible, plan raw / 1-minute / 1-hour tiers, size the storage and query the right tier, with runnable code and real output (Thai text).
  9. Illustration: three hoppers dosing into a mixing vessel on load cells, a tablet showing a three-item recipe being weighed
    Automation26 min readRecipe Dosing and Weighing with a PLC and a Web App: Who Does WhatWeb app owns recipes and batch records, PLC owns valves and weight. Runnable simulation with coarse/fine feed, self-adapting in-flight compensation, alarms and a handshake that never doses twice (Thai text).
  10. Illustration: two load cells on a workbench, one wired to an analog module and one to a digital bus in a blue cable, test weights between them
    Automation26 min readLoad Cell Analog or RS485: Choosing for a Weighing SystemChoosing a load cell and signal path by calculation, from mV/V to counts per kg, with runnable TypeScript: a calculator that fails a design and fixes it, and a simulated Modbus RTU read of an RS485 weighing indicator (Thai text).
  11. Illustration: an envelope with a blue wax seal and a small key, with a screen behind showing three settings rows all checked
    Business email and cloud21 min readSPF, DKIM and DMARC: Checking That Company Email Settings Line UpA Node.js script that checks SPF (counting lookups against the limit of 10), DMARC and DKIM on real domains, then uses the result to plan a none → quarantine → reject rollout.
  12. Illustration: a restore drill, a backup drive connected to a test laptop with a restore bar nearly full and a timer running beside it
    Business email and cloud24 min readBackups That Can Restore the Business: Setting RPO and RTO by Calculation and Proving Them with a Restore TestCalculate the worst-case data-loss window from a backup schedule, compare it with each system's RPO, then prove it with a real restore. Runnable Node 24 code that backs up, verifies, simulates a failure, restores and catches a corrupted backup, plus notes for PostgreSQL, email and cloud files (Thai text).

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer