|
<< Click to Display Table of Contents >>
Configuration Commands |
Use a PLC Tag to execute configuration commands and configure their parameters according to the next table.
Parameters for configuration commands
N1 |
Code of a command. Please check the next table for more information |
N2 |
Parameter of a command, if required |
N3 |
Parameter of a command, if required |
N4 |
Parameter of a command, if required |
The next table contains a list of configuration commands supported by this Driver.
Configuration commands
N1 |
Command |
N2 |
N3 |
N4 |
Description |
Operation |
|---|---|---|---|---|---|---|
200 |
Measurement mode |
Mode. Possible values are 0: RMS, 1: VME, or 2: DC |
Not used, leave it in 0 (zero) |
Not used, leave it in 0 (zero) |
Configures a measurement mode. When reading returns the values RMS, VME, or DC, according to the mode specified in the N2 parameter. When writing does not return any value |
Reading or writing |
201 |
Wiring Schema |
Schema. Possible values are 0: P1W2, 1: P1W3, 2: P3W3, 3: P3W4, or 4: V3A3 |
Not used, leave it in 0 (zero) |
Not used, leave it in 0 (zero) |
Configures or requests the wiring schema of a device. When reading returns the value of the selected Schema parameter. When writing does not return any value. NOTE: This command only applies to the WT230 model, because the WT210 model only have a single wiring schema |
Reading or writing |
202 |
Voltage |
Range. Possible values are 0: :AUTO or 1: :RANG |
Scale. Possible values are 0: 15V, 1: 30V, 2: 60V, 3: 150V, 4: 300V, or 5: 600V |
Options. Possible values are 0: Request (read-only), 1: ON (write-only), or 2: OFF (write-only) |
Voltage configuration. For the N2 and N4 parameters equal to 0 (zero) returns the values 0: OFF or 1: ON. For the N2 parameter equal to 1 (one) and the N4 parameter equal to 0 (zero) returns 15, 30, 60, 150, 300, or 600 (V) |
Reading or writing |
203 |
Current |
Range. Possible values are 0: :AUTO, 1: :RANG, or 2: :EXT |
Scale. Please check table Available scale options for a Current command for more information |
Options. Possible values are 0: Request (read-only), 1: ON (write-only), or 2: OFF (write-only). For the N2 parameter equal to 1 (one), possible values are 0: Request (read-only), 1: WT210 model, 2: WT230 model (three phases and three wires), or 3: WT230 model (three phases and four wires) |
Current configuration. For the N2 and N4 parameters equal to 0 (zero) returns 0: OFF or 1: ON. For the N2 parameter equal to 1 (one) and the N4 parameter equal to 0 (zero) returns 0.5, 1, 2, 5, 10, or 20. For the N2 parameter equal to 1 (one), the N4 parameter equal to 0 (zero), and WT210 models, returns the values 5 (five), 10, 20, 50, 100, or 200 (mA) |
Reading or writing |
204 |
Enable TP/TC |
Not used, leave it in 0 (zero) |
Not used, leave it in 0 (zero) |
Options. Possible values are 0: Request (read-only), 1: ON (write-only), or 2: OFF (write-only) |
Enables or disables TP and TC configuration for a command with the N1 parameter equal to 205. Returns for the Request option (the N4 parameter equal to zero) the values 0: OFF or 1: ON |
Reading or writing |
205 |
Configure TP/TC |
Type. Possible values are 0: :PT:ALL or 1: :CT:ALL |
Scale. Possible values are in the range between 0 (zero) and 9999 |
Point. Possible values are in the range between 0 (zero) and 3 (three, position of decimal point) |
The Scale and Point parameters can be used as setpoints for TP and TC, loading the Scale parameter with a number without a decimal point and the Point parameter with a decimal position. For example, for the N3 parameter equal to 1 (one) and the N4 parameter equal to 3 (three), the result is .001 |
Write-only |
Available scale options for a Current command
Option |
Description |
|---|---|
0 |
0.5 A or 50 mV for external voltage scale /EX1 (the N2 parameter equal to two) |
1 |
1 A or 100 mV for external voltage scale /EX1 (the N2 parameter equal to two) |
2 |
2 A or 200 mV for external voltage scale /EX1 (the N2 parameter equal to two) |
3 |
5 A or 2.5 V for external voltage scale /EX2 (the N2 parameter equal to two) |
4 |
10 A or 5 V for external voltage scale /EX2 (the N2 parameter equal to two) |
5 |
20 A or 10 V for external voltage scale /EX2 (the N2 parameter equal to two) |
6 |
5 mA (only for WT210 models) |
7 |
10 mA (only for WT210 models) |
8 |
20 mA (only for WT210 models) |
9 |
50 mA (only for WT210 models) |
10 |
100 mA (only for WT210 models) |
11 |
200 mA (only for WT210 models) |