![Mitsubishi MELFA 4D-2CG5100-PKG-E Скачать руководство пользователя страница 102](http://html1.mh-extra.com/html/mitsubishi/melfa-4d-2cg5100-pkg-e/melfa-4d-2cg5100-pkg-e_instruction-manual_1808016102.webp)
9
Detailed Explanation of Functions
9-91 Vision Sensor Dedicated Commands and Status Variables
About details of a set value, see the " Table 9-2 Preservation specification to state variable by <Type>
specified value".
Table9-2 Preservation specification to state variable by <Type> specified value
Specified
value
0 1 2 3 4 5 6 7
State of cell
1
Data
/
Cell
Two or more of comma(,) district switching off data
/
Cell
Correspondence
state ariable(*1)
P_NVS*() M_NVS*() C_NVS*() M_NVS*()
C_NVS*()
P_NVS*() M_NVS*() C_NVS*() M_NVS*()
C_NVS*()
Data type
Position
type
Single-pre
cision real
number
type
Text type
Single-pre
cision real
number
type,
Text type
Position
type
Single-pre
cision real
number
type
Text type
Single-preci
sion real
number
type,
Text type
(*1)”*” sign of the correspondence state variable specifies < Vision Sensor Number >.
The Position data P_NVS*() is converted into the numerical value for a positional variable and it
preserves it in X, Y, and Z coordinates sequentially.
When the character which cannot be converted is included, it preserves it as "0".
Moreover, the data preserved in the row since the fourth row in cell which specifies it for < Start cell >
and < End cell > must not be acquired.
The Numeric type data M_NVS*() is converted into the numerical value for a numeric variable and it
preserves it.
When the character which cannot be converted is included, it preserves it as "0".
M_NVS*() is two dimension array, and all the data specified for < Start cell > and < End cell > can be
preserved.
It explains the content by "Explanation".
The Text type dataC_NVS*() is preserved as it is for the character type variable.
It replies from the Vision Sensor the function and kanji code etc. of the vision program as “#"
character.
Moreover, it replies by the NULL character for a blank cell.
All these situations are preserved in C_NVS*() as NULL character.
C_NVS*() is two dimension array, and all the data specified for < Start cell > and < End cell > can be
preserved.
The example of storing information up to 255 characters or less in one cell by switching off the
comma district is shown as follows.
When "4" is specified in the <Type> in this example, "J91" is specified for the <Start cell>, and "J91" is
specified for the <End cell>, the following result is obtained.
Variable Data(X,Y,Z,A,B,C,L1,L2)
P_NVS1(1) (+336.43,-71.14,+0.00,+0.00,+0.00,+122.27,+0.00+0.00)
P_NVS1(2) (+344.10,+151.54,+0.00,+0.00,+0.00,-5.78,+0.00+0.00)
P_NVS1(3) (+224.58,+274.84,+0.00,+0.00,+0.00,+31.24,+0.00+0.00)
P_NVS1(4) (+0.00,+0.00,+0.00,+0.00,+0.00,+0.00,+0.00+0.00)
・・・・・・
・・・・・・
<Time out>
(If omitted, 10)
Specifies the time-out time (in seconds).
Specification range: Integer 1-32767