Write PLC
Parameter Introduction
Calculation Parameters

| Parameter | Range | Default Value | Description | Illustration |
|---|---|---|---|---|
| Device | Select device from the device listNote: Available devices must meet 2 conditions: 1. Device belongs to PLC group; 2. Device is enabled | |||
| Address | Register address | |||
| Type | Bool Byte Uint16 Int16 Uint32 Int32 Single Double String | Bool | ||
| Bool Data | 0-255 | Bool type data to write to PLC, supports binding bool type data and arrays | ||
| Byte Data | 0-65535 | Byte type data to write to PLC, supports binding int type data and arrays | ||
| Uint16 Data | Uint16 type data to write to PLC, supports binding int type data and arrays | |||
| Int16 Data | (-32768)-32767 | Int16 type data to write to PLC, supports binding int type data and arrays | ||
| Uint32 Data | 0-4294967295 | Uint32 type data to write to PLC, supports binding int type data and arrays | ||
| Int32 Data | (-2147483648)-2147483647 | Int32 type data to write to PLC, supports binding int type data and arrays | ||
| Single Data | Single type data to write to PLC, supports binding float type data and arrays | |||
| Double Data | Double type data to write to PLC, supports binding float type data and arrays | |||
| String Data | String type data to write to PLC, supports binding string type data and arrays | |||
| Length | 0 | Total length of data to write, automatically calculated based on input data when set to 0 |
Exception Troubleshooting
| No. | Exception Information | Corresponding Parameter | Solution |
|---|---|---|---|
| 1 | Parameter "xxx" cannot be empty | Parameter name | Input the xxx parameter. |
| 2 | Device "xxx" does not exist | Device name | Modify device parameters or add corresponding device. |
| 3 | Failed to write xxx "xxx" type data to address "xxx" | Address,Count,Type | Ensure PLC supports specified data type, and specified address is correct and accessible. |
| 4 | Failed to write xxx "xxx" type data to address "xxx", negative values exist in data | Address,Count,Type | Ensure no negative values in input data, or change data type to signed. |
| 5 | Input length xxx is greater than data length xxx, using data length instead. | Length value,Data length | Reduce data length or increase data count. |
