B-66284EN/01 3.FP FUNCTIONS
- 313 -
-1 Attempted to execute this function while the other
low-speed window function is being executed.
Retry after completing currently executed window’s
process.
1.41 Writing setting parameter
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○ ○ ○ ○ ○ ○
○:available
-:unavailable
[Function name]
wrset
[Data type]
4 : 4 bytes (signed)
[Format/with arguments]
wrset[number_axis_length_data_pmc_address]
[Arguments]
number Setting parameter number
axis Axis number
Data usual (It is not an axis type) => axis = 0
Axis data specified of axis type data => axis =
1,..,amount of controlled axes
length Data block length (=4+byte size of the setting
parameter)
Bit/byte type setting data => 5
Word type setting data => 6
Two word type setting data => 8
data Writing data value (0 is specified at the ten keys input.)
pmc Kind of PMC address for processing result notification
5 : R
9 : D
12 : E (PMC-SB7, PMC for Series 30i)
99 : Processing result is not notified
address PMC address where processing result is written (The
area in two bytes is used from the specified address)
Please specify 0 when you specify 99 for a kind of the PMC
address.
[Description]
Alters the setting parameter stored in the CNC.
Data types of CNC setting parameter are as follows. The data
types of setting parameter are different for every setting
parameter number.
Parameter type Use Byte size
Bit parameter Every bits have each definition. 1
Byte parameter 1-byte data is stored. 1
Word parameter 2-byte data is stored. 2
2-Word parameter 4-byte data is stored. 4
It is impossible to write any bit setting parameter bit by bit.
Do the following process to change bit data, Read eight bits (i.e.
1 byte) which belong to the same setting parameter number.
Change the target bit.
Write above eight bits at the same time.