Output Solutions ez-1000plus Guide De Référence

Page de 43
V#OPx,p1,p2,p3 - Variable calculation 
Syntax 
V#OPx,p1,p2,p3 
Parameters 
x=+, -, *, /, % ; p1,p2,p3= variable 
x=+, p1=p2+p3 
x=-, p1=p2-p3 
x=*, p1=p2*p3 
x=/, p1=p2/p3 
x=%, p1=p2%p3 
Description 
This command can calculate variables. (refer to page39) 
V#OP+,V00,V01,V02 V00=V01+V02 
V#OP-,V00,V01,V02 V00=V01-V02 
V#OP*,V00,V01,V02 V00=V01*V02 
V#OP/,V00,V01,V02 V00=V01/V02 
Example 
V#OP%,V00,V01,V02 V00=V01%V02 
 
V#RENAME,name,x - Variable rename 
Syntax 
V#RENAME,name,x 
Parameters 
name= new name of the variable (max 8 characters) 
x= variable 
Description Rename 
the 
variable. 
Example ~MDELF,aaa 
^Faaa 
^Q50,0,3 
^AD 
^L 
V00,10,Prompt 
V01,10,Prompt 
V#RENAME,weight,V00 
V#RENAME,date,V01 
AE,7,46,1,1,0,0,Weight is ^(weight) 
AE,7,86,1,1,0,0,Date is ^(date) 

 
^Kaaa 
16 kg 
11/20/2004 

~P1 
Weight is 16 kg 
Date is 11/20/2004 
 
 
V#SET,UNPROMPT,x - Disable variable prompt   
Syntax 
V#SET,UNPROMPT,x 
Parameters x= 
variable 
Description 
This command can set the variable without prompt. 
Example V#OP+,V00,V01,V02 
V#SET,UNPROMPT,V00 
Use doesn’t need to input the value of V00
 
V#STRCPY,x,y - Copy all of variable data   
Syntax 
V#STRCPY,x,y 
Parameters 
x= target variable   
y= source variable 
Description 
Copy all data of y to x   
Example 
V#STRCPY,V00,V01 
Copy all of V01 data to V00 
 
27