Difference between revisions of "MC-Basic:SAVE/zh-hans"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{Languages}} == 缩写 == == 格式 == SAVE FILE = <''filename'' ''string''> TYPE = <''variable type''> {ROBOTTYPE= <''robottype''>} {VARIABLENAME= <''variable_name string'...")
 
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:SAVE}}
 
== 缩写 ==
 
== 缩写 ==
  
Line 49: Line 49:
  
 
== 例子 ==
 
== 例子 ==
SAVE file=”all.prg” type = all? MODE= APPEND
+
SAVE file=”all.prg” type = all MODE= APPEND
  
SAVE file=”points.prg” type = Location robottype = XYZR? MODE= NEW
+
SAVE file=”points.prg” type = Location robottype = XYZR MODE= NEW
  
 
== 参见 ==
 
== 参见 ==

Latest revision as of 04:20, 30 May 2018

语言: English  • 中文(简体)‎

缩写

格式

SAVE FILE = <filename string> TYPE = <variable type> {ROBOTTYPE= <robottype>} {VARIABLENAME= <variable_name string>} {MODE= <APPEND or NEW>}

适用版本

Since Version 3.7.x

描述

创建一个由字符串命名的文件。该名称格式应为:*.prg。它储存的数值为全局变量,该变量以标准MC-BASIC格式定义类型/机器人类型。该被储存的文件属于被自动执行的格式:Program Continue/Terminate Program。将数值封装在任务内。

如果一个文件被命名为一个已有的名称,它将被重命名为*.bak。如果该*.bak文件已经存在,它将被覆盖。

ROBOTTYPE定义了机器人point变量的类型,通过TYPE定义。

它仅与TYPE公共起作用,被指定为机器人位置或者关节变量。

使用APPEND在原文件内容中增加新的一行。

使用NEW覆盖之前的文件。


类型

取值范围

<variable_name string> = any regular expression using "*" and "?" signs for filtering the name list (same as DIR).

< robottype>  :                    XYZR, - Three cartesian axes + roll

XY – two axes XY table

XYZ – three axes XYZ system

XYZYPR - X-Y-Z-Yaw-Pitch-RollUnits         N/A

单位

默认值

使用范围

配置器, 任务区, 终端

限制

例子

SAVE file=”all.prg” type = all MODE= APPEND

SAVE file=”points.prg” type = Location robottype = XYZR MODE= NEW

参见