Omron CK3M-CPU 1 Series Application Manual page 26

Programmable multi-axis controller
Hide thumbs Also See for CK3M-CPU 1 Series:
Table of Contents

Advertisement

3 Connection Procedures
9
In the Solution Explorer, right-click the
usercode.c file under C Language –
Realtime Routines and select Properties.
10
In Build Action in the Properties window,
select Compile.
11
Open the usercode.c file under C
Language – Realtime Routines.
12
Delete the CfromScript function definitions
shown on the right.
3-10
double CfromScript(double cfrom_type,double arg2,
double arg3,double arg4,double arg5,double arg6,d
ouble arg7,struct LocalData *Ldata)
{
int icfrom_type=(int)cfrom_type;
double*C,*D,*L,*R,rtn;//C,D,R-only needed if
doing Kinematics
C=GetCVarPtr(Ldata);//Only needed if doing Ki
nematics
D=GetDVarPtr(Ldata);//Only needed if doing Ki
nematics
L=GetLVarPtr(Ldata);//Only needed if using Ld
ata or Kinematics
R=GetRVarPtr(Ldata);//Only needed if doing Ki
nematics
rtn=-1.0;
return rtn;
}
Application Guide Laser Application (O052)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ck3w-ax2323 seriesCk3w-gc2200

Table of Contents