FatekProgramMaster
Fatek PLC programming port register reading and writing and operation control driver
Open the plugin
Enter "Development Configuration → Collection Configuration", create a device and select "FatekProgramMaster" in "Collection Plugin".
Supported channels and data types
| Channel type | Pre-configuration check |
|---|---|
| Serial Port | Confirm that the serial port is not occupied by other programs and maintains the same baud rate, data bits, stop bits and parity bits as the device. |
| TCP Client | Confirm network reachability of the device IP, port, and gateway to the device. |
| TCP server | Confirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway. |
Optional data types: Boolean, Int16, UInt16, Int32, UInt32, Float, String
Plugin properties
Protocol parameters
| Setting | Description |
|---|---|
| PLC station number | Default: 1; fill in: text input. PLC station number; normal request range is 01H to FEH, default 01H |
Request packing
| Setting | Description |
|---|---|
| Maximum number of discrete points packed | Default: 256; fill in: text input. Maximum number of discrete points packed; single continuous read range is 1 to 256 points |
Address rules
- Yonghong PLC Boolean address: X, Y, M, S, T, C, such as X50; single read or write 1 to 256 points.
- WORD address: WX, WY, WM, WS, WT, WC, RT, RC, R, D, F, such as WY8, RT12, R100.
- The starting point of a discrete register view starting with W must be a multiple of 8, and the online numbering step for consecutive WORDs is 16.
- Single read or write of 1 to 64 WORD; non-Boolean variables must explicitly use a WORD address.
Special methods
| Method | Purpose | Parameters |
|---|---|---|
| ReadStatusAsync | Read PLC status | No parameters |
| RunAsync | Run PLC | No parameters |
| StopAsync | Stop PLC | No parameters |
Write, start/stop, reset, load, delete or control methods will change the status of field devices. Before execution, confirm that the equipment is in an operable state and prepare for stop or rollback measures.
Device debug
Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Debugging notes
Read the PLC status first; running and stopping are high-risk controls and must be confirmed twice before execution.
Functions
| Function | Purpose |
|---|---|
| Read PLC status | Use Read PLC status to inspect mapped values, status, counters, recent messages, or the latest result. |
| Run PLC | Use Run PLC with an approved test point and confirm site safety before execution. |
| Stop PLC | Use Stop PLC with an approved test point and confirm site safety before execution. |
Verify the configuration
- Use the plugin-specific debug panel with one confirmed test point or test message.
- Confirm that the returned value or received message matches the device point list.
- Perform writes or control operations only with an approved test point and the site safety procedure.
Troubleshooting
- The debug panel shows no result: Check the required inputs and plugin parameters, then inspect the device or target log for a response or error.
- Special method execution fails: Check method parameters and permissions; control, write or reset methods also need to confirm that the device is in a state that allows operation.
- The serial port device does not respond: Confirm that the serial port is not occupied, and check the baud rate, data bits, stop bits and parity bits.
Related links
- Collection configuration: View channel, device and common variable configuration.
- Plugin Index: Find other collection or data-forward plugins.