On this page
Vigor PLC
Address read/write for Vigor VS series PLCs.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| VS series PLCs | Use the Vigor VS protocol with matching serial settings, station and address range. TCP links must transparently carry the same VS frames. |
Map VS communication to D100
Set the VS protocol, station and serial format in the PLC project, download and read them back. Wire RS-232/RS-485 according to the CPU/port pinout. Ethernet converters must transparently carry VS bytes rather than translate them to Modbus.
- Use serial directly and release the COM port from the engineering tool first, or use TCP client to a transparent converter’s IP/listening port.
- Set the actual station, default
1.s=2;D100overrides it; station range is 1–255. - Monitor usable D100=
1234and add read-only scalar Int16D100; add BooleanM100for a bit check. Address suffixes are decimal with at most six digits. M100 is one bit, not bit 100 of D100. - Ordinary WORD requests allow up to
64WORD and default packing is64. Bit requests allow up to1024bits. Int32/Float occupy two adjacent ordinary WORD.
C0–C199 are 16-bit counters; C200–C255 are 32-bit counters with at most 32 per request. Do not combine an array across C199/C200. Split it into correctly typed variables.
Default order is ABCD. Verify a known 32-bit value; set string byte length/encoding explicitly. Leave DTU ID empty for direct links. This entry supports serial and TCP client; inherited heartbeat fields do not add a TCP server transport. See Collection Configuration for common run settings.
Open the plugin
Enter “Development Configuration → Collection Configuration”, create a device and select “Vigor PLC” in “Device 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. |
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
| Setting | Description |
|---|---|
| Default station number | Default: 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
| Setting | Description |
|---|---|
| DTU ID | Fill 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.


Functions
| Function | Purpose |
|---|---|
| Read and write | Read a confirmed point and write only to an approved test point. |
| Messages | View 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.
Related links
- Collection configuration: View channel, device and common variable configuration.
- Plugin Index: Find other collection or data-forward plugins.