Skip to Content
On this page

VIGOR PLC master

Fengwei PLC address read and write driver

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “VigorMaster” 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.

Optional data types: Boolean, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Float, Double, String, Decimal

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
Default station numberDefault: 1; fill in: text input. Set the default station number used when the station number is not specified separately in the variable address.

Connection configuration

SettingDescription
DTU IDFill in: text input. Sets the identifier used to identify the current device connection through the DTU service.

Address rules

  • Fengwei VS bit device area: X, Y, M, SM, S, TS, TC, CS, CC, such as M100; up to 1024 bits at a time.
  • Word device area: D, SD, R, T, C, such as D100; the normal area can have up to 64 WORD at a time.
  • C0-C199 are 16-bit counters, C200-C255 are 32-bit counters and the maximum number is 32 at a time. The reading range cannot span C199/C200.
  • The address value uses a decimal number not exceeding six digits. You can use s=1..255; to overwrite the default station number, such as s=2;D100.

Device debug

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

VigorMaster: Read/Write

VigorMaster: Messages

Functions

FunctionPurpose
Read and writeRead a confirmed point and write only to an approved test point.
MessagesView sent and received frames, protocol fields, and error details.

Verify the configuration

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

Troubleshooting

  • C0–C199 are 16-bit and C200–C255 32-bit. Do not combine reads across that boundary; check area and width first.
  • 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.