15 Maintenance of robot program
15-164 MELFA-BASIC V or MELFA-BASIC VI instruction
M_Trbfct
[Function]
Refer to the number of workpieces which exists in a designated buffer.
[Format]
[Referencing]
< Numeric value
> = M_Trbfct(<Buffer number>
)
[Terminology]
<Buffer number
[integer]
>
:
(can be omitted.)
Specify the tracking buffer number.
Setting range : 1 to the 1st argument of a parameter "TRBUF"
If the argument is omitted, 1 is set as the default value
< Numeric value
[integer]
>
The number of workpieces in the designated buffer is returned to< Buffer number>.
[Reference program]
MWrk = M_Trbfct(1)
'
The number of works in number 1 of tracking buffer is stocked in
variable MWrk.
[Explanation]
(1)
You can confirm the number of works in the designated buffer.
(2)
You can omit the step to sp
ecify <Buffer number>.When it is omitted, buffer number will be treated as "1."
(3)
Error L.3110 (value of the argument outside of the range) occurs when <Buffer number> is outside a set
range.
Summary of Contents for CR800 Series
Page 2: ......
Page 12: ......
Page 202: ...18 Appendix 18 190 Calibration sheet ...
Page 203: ......