HELP!
Lookout 5.1 build 8:
I have an application using a DeltaTau PMAC-PCI Motion Card and Microcim OPC for PMAC.
Here is the lines from the source code...
Definition of MX_velocity...
M1_velocity = new Derivative (abs(OPCclient1.
PMAC0.PMAC_0.motor_1_scaled_position), 0:00.10, 0:00.20);
M2_velocity = new Derivative (abs(OPCclient1.
PMAC0.PMAC_0.motor_2_scaled_position), 0:00.10, 0:00.20);
M3_velocity = new Derivative (abs(OPCclient1.
PMAC0.PMAC_0.motor_3_scaled_position), 0:00.10, 0:00.20);
M4_velocity = new Derivative (abs(OPCclient1.
PMAC0.PMAC_0.motor_4_scaled_position), 0:00.10, 0:00.20);
M5_velocity = new Derivative (abs(OPCclient1.
PMAC0.PMAC_0.motor_5_scaled_position), 0:00.10, 0:00.20);
Area where (MX_velocity)*10 resides...
(M5_velocity)*10 {l= 495,t= 101,w= 140,h= 46,opt=74,type=4
,bclr=0xFFFF80,fmt="0.00",grp=1,fht=-37},
(M1_velocity)*10 {l= 495,t= 147,w= 140,h= 46,opt=74,type=4
,bclr=0xFFFF80,fmt="0.00",grp=1,fht=-37},
(M2_velocity)*10 {l= 495,t= 193,w= 140,h= 46,opt=74,type=4
,bclr=0xFFFF80,fmt="0.00",grp=1,fht=-37},
These are dislayed velocity values for 3 of the axis.
The application will run for a few days then the alarm database will be overrun with the following alarms until the application will not run anymore.
'Set',2004-08-28 08:11:15.288,8,'\\gogan-taper-2\GOGAN2','Math','super','(M5_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:15.288,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:15.498,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:15.498,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:16.838,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:16.838,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:17.238,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:17.238,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:17.448,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:17.448,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:17.848,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:17.848,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:18.058,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:18.058,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:18.458,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:18.458,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:18.668,8,'\\gogan-taper-2\GOGAN2','Math','super','(M2_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Reset',2004-08-28 08:11:18.668,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
'Set',2004-08-28 08:11:19.068,8,'\\gogan-taper-2\GOGAN2','Math','super','(M1_velocity)*10',,,'Expression error; Not a Number, or Divide by Zero (code 81)'
Anybody know what is wrong here?
Regards,
Paul E. Rogers aka petrrj