Skip to Content
On this page

FATEK programming-port master

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

This list describes types allowed by the plugin editor. Address width, arrays, string length and read/write restrictions still follow this page; it does not mean that every address supports every type.

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.

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

FatekProgramMaster: Operations

Debugging notes

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

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.

Verify the configuration

Monitor R100 online in the PLC engineering tool, compare its value with the gateway variable and confirm advancing sample times.

Writes and control operations require an approved test point and the site safety procedure.

Troubleshooting

  • Non-Boolean values require WORD addresses; packed views such as WX require starts divisible by 8.
  • 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.