
3.FP FUNCTIONS B-66284EN/01
- 330 -
[Example]
When program number 100 on 2path side is deleted, and
processing result is written in D200.
idprogdel[109_10]
D10 in PMC area is used for indirect data.
D10,11,12,13(number) = 100 (0 is specified at the ten
keys input.)
D14(pmc) = 9
D15,16(address) = 200
D17(path) = 2 (1 is specified for 1path
side)
idprogdel[200_100]
#100 in custom macro variable is used for indirect data.
#100(number) = 100 (0 is specified at the ten
keys input.)
#101(pmc) = 9
#102(address) = 200
#103(path) = 2 (1 is specified for 1path
side)
idprogdel[300_10000]
#10000 in P code variable is used for indirect data.
#10000(number) = 100 (0 is specified at the ten
keys input.)
#10001(pmc) = 9
#10002(address) = 200
#10003(path) = 2 (1 is specified for 1path
side)
1.58 Search specified program (indirect specification)
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○ ○ ○ ○ ○ ○
○:available
-:unavailable
[Function name]
idprogsrch
[Data type]
4: 4 bytes(signed)
[Format/with arguments]
idprogsrch[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 Program number
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