In this FAQ we will show how the HMI changes the PLC system time (RTC - Real Time Clock)
- open one clock Macro:
- use the Wizard:
- Select "GETSYSTEMTIME" to write the HMI time and date for an internal memory:
- Select internal memory:
- Macro created will be sent the data of (Year, Month, Day, Day of the Week, Hour, Minute and second) for the variables (D100, D101, D102, D103, D104, D105 and D106)
- Create another macro to move D100~106 values to a PLC variable, you can use the BMOV block to send sequentially or create the MOV block to move each information individually:
- With the created macros just click on the "Upload" button after
- Viewing the time and date online with the HMI and with the PLC:
ISPSoft online with the CLP:
for more details download the example:
How to use RTC download the example here