Allows parameters to be written to AXIOLINE devices whether they are internal (RPx AS1017.004) or ethercat line.
The data type is assumed from the object type and device type. It is possible to force the use of a given data type with the -T attribute (optional).
NOTE: To understand the "Rid" and "slot" parameters associated with modules, read the "Configuration" chapter in the axioline communication section.
Syntax |
AXIO_WOBJ [-T v] rid slot index subindex data |
---|---|
-T v |
Date type code. (dataType) (see table) (optional) |
rid |
R.ID - device identifier: •0 = is used for AXIO on RPx •>0 = remote device identifier specified as AXIOLINE Remote |
slot |
Sequential number of the module in the AXIONLE line. Values that can be set are from 1 (first module after RPx or after BK EC ) to max 63 |
index |
Index of the object you want to write. (refer to individual device manuals) |
subindex |
Subindex number of the object |
data |
Data or sequence of data to be written |
Notes |
When an OCTET STRING is imposed, the data must be a sequence of two digits per byte (4F must be typed to impose the decimal value 79). Strings must be defined between " " |
DataType code table:
code |
Data type |
---|---|
0 |
AUTO-SELECTION (default) |
2 |
INTEGER8 |
3 |
INTEGER16 |
4 |
INTEGER32 |
5 |
UNSIGNED8 |
6 |
UNSIGNED16 |
7 |
UNSIGNED32 |
9 |
VISIBLE_STRING |
10 |
OCTET_STRING |
21 |
INTEGER64 |
27 |
UNSIGNED64 |
-2 |
ARRAY INTEGER8 |
-3 |
ARRAY INTEGER16 |
-4 |
ARRAY INTEGER32 |
-5 |
ARRAY UNSIGNED8 |
-6 |
ARRAY UNSIGNED16 |
-7 |
ARRAY UNSIGNED32 |
-10 |
OCTET_STRING (used for special structures (e.g., parameter table CNT2/INC2) |