by ken_alone » Sat Nov 19, 2011 5:13 pm
For another program inquiry.... can i use any AND program to the IFC programming with IF ELSE interface? my issue here was 1)when i use " if(ps_sw(add_ps1,1)==0&&ps_sw(add_ps1,2)==0), it appear to be ok but causes error when program into MB00.... 2)the same error led appear when i use else function...
exp.
if (start==0)
{
motor1_stop;
motor2_stop;
}
else if(sw1==0)
{
motor1_cw;
motor2_cw;
}
else
{
motor1_stop;
motor2_stop;
}
my ELSE seemed to be causing error to my IFC.... or is it my programming error?