
B-66244EN/03 3.FP FUNCTIONS
- 259 -
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
#103(data) = 123 (0 is specified at the ten
keys input.)
#104(pmc) = 9
#105(address) = 200
#106(path) = 2 (1 is specified for 1path
side)
idwrset[300_10000]
#10000 in P code variable is used for indirect data.
#10000(number) = 5421
#10001(axis) = 2
#10002(length) = 8
#10003(data) = 123 (0 is specified at the ten
keys input.)
#10004(pmc) = 9
#10005(address) = 200
#10006(path) = 2 (1 is specified for 1path
side)
1.61 Reading a P code variable(indirect specification)
[Function name]
idrdpmac2
[Data type]
7: Double(Decimal point)
[Format/with arguments]
idrdpmac2[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_pmc_address_path
number P code variable number