Download Programming manual (EZ-Red language)
Transcript
XON Electronics – EZ-Red (v1.2) Programming Manual Watch-dog...................................................................................................................................................21 WDTFIRED e WDTSTOPSCYCLE.....................................................................................................21 WDTOUTS, WDTAOUT1-2 (watch-dog outputs pattern)....................................................................22 WDTTIME (PC communication time-out)............................................................................................22 WDTFBENA12-34-56-78 e WDTFBBYTE (power outputs monitoring).............................................22 Interaction between watch-dog, PC and PLC cycle...............................................................................22 LOG instruction (data acquisition and debug)............................................................................................23 REPORTBACK, SENDTOPC (inputs status transmission)...................................................................23 Special functions for configuration, protection and diagnostics..................................................................23 CONFIGxxx (BIT, CHR, WRD)...........................................................................................................23 BCW_xxx (BIT, CHR, WRD)...............................................................................................................24 DISABLEUSB......................................................................................................................................24 FIRSTRUN............................................................................................................................................24 FORCEDXS..........................................................................................................................................24 PCCONNECTED..................................................................................................................................25 PWDPROTECT....................................................................................................................................25 Example programs...........................................................................................................................................26 Press with safety pushbuttons (procedural).................................................................................................26 Slide with button and two limit switches (functional).................................................................................26 Slide with button and two limit switches (procedural)................................................................................27 Slide, procedural, using two tasks..........................................................................................................28 Motor with encoder control........................................................................................................................29 Page 2/31 www.xonelectronics.it