Download Engineering Manual SPSPlusWIN - Prerelease
Transcript
Engineering Manual SPSPlusWIN Write time and date into PLC Description This function will write date and time into the specified register of the PLC. The time is only set if the trigger variable switches from logical 0 to logical 1. This function is engineered globally Validity for performance class VISUALISATION only Engineering globally » Highlight the CONFIGURATION object type in the object explorer. » Call PROPERTIES • by the EDIT-PROPERTIES menu, or • by double-clicking on the object, or • by pressing <ENTER> on the keyboard, or • by PROPERTIES in the context menu . The TARGET DEVICE dialog opens. » Go to the GLOBAL FUNCTIONS page. » Select the WRITE TIME AND DATE INTO PLC function and enter parameters. » Select one or several of the following conditions. • ON SYSTEM INIT (WHILE STARTING UP) • ON SYSTEM INIT (BEFORE VARIABLE INIT) • ON SYSTEM INIT (AFTER VARIABLE INIT) Parameters • Digital variable as trigger variable (see note) • Analog variable for day • Analog variable for month • Analog variable for year • Analog variable for hour • Analog variable for minute Note The trigger variable must be defined 'permanent updating' (see Basis page of the digital variable) to enable permanent monitoring of rising edge. Page 318 SAE-STAHL GMBH / ENGINEER.DOC / 20.06.2000