1
Technical support / Re:HELP: any sample of numerical code tube?
« on: October 31, 2010, 10:38:36 AM »
thanks for reply,
right, I'm using this "normal" way to control 1 number display...
Tube_1=(No_0+(No_2+No_3+No_5+No_6+No_7+No_8+No_9))
Tube_2=(No_0+(No_1+No_4+No_5+No_6+No_8+No_9))
Tube_3=(No_0+(No_2+No_3+No_4+No_7+No_8+No_9))
Tube_4=(No_2+(No_3+No_4+No_5+No_6+No_8+No_9))
Tube_5=(No_0+(No_1+No_2+No_6+No_8))
Tube_6=(No_0+(No_3+No_4+No_5+No_6+No_7+No_8+No_9))
Tube_7=(No_0+(No_2+No_3+No_5+No_6+No_8+No_9))
but I remember there're other way to use in other PLC system, like fanuc:
codetab=[x0,...x9]
Y0=codetab[number you want to display]
Y0.0-tube 1
Y0.1-tube 2
...
Y0.6-tube 7
does our plc have this command and function?
right, I'm using this "normal" way to control 1 number display...
Tube_1=(No_0+(No_2+No_3+No_5+No_6+No_7+No_8+No_9))
Tube_2=(No_0+(No_1+No_4+No_5+No_6+No_8+No_9))
Tube_3=(No_0+(No_2+No_3+No_4+No_7+No_8+No_9))
Tube_4=(No_2+(No_3+No_4+No_5+No_6+No_8+No_9))
Tube_5=(No_0+(No_1+No_2+No_6+No_8))
Tube_6=(No_0+(No_3+No_4+No_5+No_6+No_7+No_8+No_9))
Tube_7=(No_0+(No_2+No_3+No_5+No_6+No_8+No_9))
but I remember there're other way to use in other PLC system, like fanuc:
codetab=[x0,...x9]
Y0=codetab[number you want to display]
Y0.0-tube 1
Y0.1-tube 2
...
Y0.6-tube 7
does our plc have this command and function?