Skip to main content

FatekProgramMaster

Purpose

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 typePre-configuration check
Serial PortConfirm 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 ClientConfirm network reachability of the device IP, port, and gateway to the device.
TCP serverConfirm 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

SettingDescription
PLC station numberDefault: 1; fill in: text input. PLC station number; normal request range is 01H to FEH, default 01H

Request packing

SettingDescription
Maximum number of discrete points packedDefault: 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

MethodPurposeParameters
ReadStatusAsyncRead PLC statusNo parameters
RunAsyncRun PLCNo parameters
StopAsyncStop PLCNo 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.

Functions

FunctionPurpose
Read PLC statusUse Read PLC status to inspect mapped values, status, counters, recent messages, or the latest result.
Run PLCUse Run PLC with an approved test point and confirm site safety before execution.
Stop PLCUse Stop PLC with an approved test point and confirm site safety before execution.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Dedicated debugging page

Open Development Configuration → Collection Configuration, select the device, and open More Functions → Debug. The following image shows the plugin-specific debug page.

FatekProgramMaster debug subpage 1

Debugging notes

Read the PLC status first; running and stopping are high-risk controls and must be confirmed twice before execution.

Verify the configuration

  1. Use the plugin-specific debug panel with one confirmed test point or test message.
  2. Confirm that the returned value or received message matches the device point list.
  3. 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.