B-66284EN/01 3.FP FUNCTIONS
- 333 -
[Data type]
2: 2 bytes(signed)
[Format/with arguments]
idwrset[kind_datanum]
[Arguments]
kind Kind and data division of indirect specification
datanum Number of beginning of storage of argument of
indirect specification
[Argument of indirect specification destinations]
number_axis_length_data_pmc_address_path
number Setting parameter number
axis Axis number
length Data block length
(= 4 + byte size of setting)
Bit/byte type setting => 5
Word type setting => 6
Two-word type setting => 8
data Output data
pmc Kind of PMC address for processing result
notification
address PMC address where processing result is written (The
area in two bytes is used from the specified address)
path Path number
Row of argument when PMC area is specified
Offset from head PMC address (byte)
+0-1 +2 +3 +4-7 +8 +9-10 +11
Set argument number axis length data pmc address path
NOTE
Even when the data length is one byte, pmc begins
with +8 since the remaining three bytes of dummy
data are reserved.
[Example]
When 123 is written in the second axis of setting data number
5421(4 byte type data) on 2path side, and processing result is
written in D200.
idwrset[109_10]
D10 in PMC area is used for indirect data.
D10,11(number) = 5421
D12(axis) = 2
D13(length) = 8
D14,15,16,17(data) = 123 (0 is specified at the ten
keys input.)
D18(pmc) = 9
D19,20(address) = 200
D21(path) = 2 (1 is specified for 1path side)
idwrset[200_100]
#100 in custom macro variable is used for indirect data.
#100(number) = 5421
#101(axis) = 2
#102(length) = 8