ARCS SDK API  0.24.0
Public 成员函数 | Protected 属性 | 所有成员列表
arcs::common_interface::SyncMove类 参考

#include <sync_move.h>

Public 成员函数

 SyncMove ()
 
virtual ~SyncMove ()
 
int sync ()
 
int syncMoveOn (const std::string &syncident, const TaskSet &taskset)
 syncMoveOn is used to start synchronized movement mode. 更多...
 
bool syncMoveSegment (int id)
 设置同步路径段的ID In synchronized movements mode, all or none of the simultaneous move instructions must be programmed with corner zones. 更多...
 
int syncMoveOff (const std::string &syncident)
 syncMoveOff is used to end synchronized movement mode. 更多...
 
int syncMoveUndo ()
 syncMoveUndo is used to turn off synchronized movements, even if not all the other task programs execute the syncMoveUndo instruction. 更多...
 
int waitSyncTasks (const std::string &syncident, const TaskSet &taskset)
 waitSyncTasks used to synchronize several task programs at a special point in the program. 更多...
 
bool isSyncMoveOn ()
 isSyncMoveOn is used to tell if the mechanical unit group is in synchron- ized movement mode. 更多...
 
int syncMoveSuspend ()
 
int syncMoveResume ()
 

Protected 属性

void * d_
 

详细描述

在文件 sync_move.h37 行定义.

构造及析构函数说明

arcs::common_interface::SyncMove::SyncMove ( )
virtual arcs::common_interface::SyncMove::~SyncMove ( )
virtual

成员函数说明

bool arcs::common_interface::SyncMove::isSyncMoveOn ( )

isSyncMoveOn is used to tell if the mechanical unit group is in synchron- ized movement mode.

A task that does not control any mechanical unit can find out if the mechanical units defined in the parameter Use Mechanical Unit Group are in synchronized movement mode.

返回
Python函数原型
isSyncMoveOn(self: pyaubo_sdk.SyncMove) -> bool
Lua函数原型
isSyncMoveOn() -> boolean
int arcs::common_interface::SyncMove::sync ( )
返回
Python函数原型
sync(self: pyaubo_sdk.SyncMove) -> int
Lua函数原型
sync() -> nil
int arcs::common_interface::SyncMove::syncMoveOff ( const std::string &  syncident)

syncMoveOff is used to end synchronized movement mode.

A syncMoveOff instruction will wait for the other task programs. When all task programs have reached the syncMoveOff, they will continue their execution in unsynchronized mode. A stop point must be programmed before the syncMoveOff instruction.

参数
syncident
返回
Python函数原型
syncMoveOff(self: pyaubo_sdk.SyncMove, arg0: str) -> int
Lua函数原型
syncMoveOff(syncident: string) -> nil
int arcs::common_interface::SyncMove::syncMoveOn ( const std::string &  syncident,
const TaskSet taskset 
)

syncMoveOn is used to start synchronized movement mode.

A syncMoveOn instruction will wait for the other task programs. When all task programs have reached the syncMoveOn, they will continue their execution in synchronized movement mode. The move instructions in the different task programs are executed simultaneously, until the instruction syncMoveOff is executed. A stop point must be programmed before the syncMoveOn instruction.

参数
syncident
taskset
返回
Python函数原型
syncMoveOn(self: pyaubo_sdk.SyncMove, arg0: str, arg1: Set[str]) -> int
Lua函数原型
syncMoveOn(syncident: string, taskset: table) -> nil
int arcs::common_interface::SyncMove::syncMoveResume ( )
返回
Python函数原型
syncMoveResume(self: pyaubo_sdk.SyncMove) -> int
Lua函数原型
syncMoveResume() -> nil
bool arcs::common_interface::SyncMove::syncMoveSegment ( int  id)

设置同步路径段的ID In synchronized movements mode, all or none of the simultaneous move instructions must be programmed with corner zones.

This means that the move instructions with the same ID must either all have corner zones, or all have stop points. If a move instruction with a corner zone and a move instruction with a stop point are synchronously executed in their respective task program, an error will occur.

Synchronously executed move instructions can have corner zones of different sizes (e.g. one use z10 and one use z50).

参数
id
返回
Python函数原型
syncMoveSegment(self: pyaubo_sdk.SyncMove, arg0: int) -> bool
Lua函数原型
syncMoveSegment(id: number) -> boolean
int arcs::common_interface::SyncMove::syncMoveSuspend ( )
返回
Python函数原型
syncMoveSuspend(self: pyaubo_sdk.SyncMove) -> int
Lua函数原型
syncMoveSuspend() -> nil
int arcs::common_interface::SyncMove::syncMoveUndo ( )

syncMoveUndo is used to turn off synchronized movements, even if not all the other task programs execute the syncMoveUndo instruction.

syncMoveUndo is intended for UNDO handlers. When the program pointer is moved from the procedure, syncMoveUndo is used to turn off the synchronization.

返回
Python函数原型
syncMoveUndo(self: pyaubo_sdk.SyncMove) -> int
Lua函数原型
syncMoveUndo() -> nil
int arcs::common_interface::SyncMove::waitSyncTasks ( const std::string &  syncident,
const TaskSet taskset 
)

waitSyncTasks used to synchronize several task programs at a special point in the program.

A waitSyncTasks instruction will wait for the other task programs. When all task programs have reached the waitSyncTasks instruction, they will continue their execution.

参数
syncident
taskset
返回
Python函数原型
waitSyncTasks(self: pyaubo_sdk.SyncMove, arg0: str, arg1: Set[str]) -> int
Lua函数原型
waitSyncTasks(syncident: string, taskset: table) -> nil

类成员变量说明

void* arcs::common_interface::SyncMove::d_
protected

在文件 sync_move.h210 行定义.


该类的文档由以下文件生成: