Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - S5time Settings in wincc
S5time Settings in wincc
1. Create the DB 1 of the PLC station in step, and create the time type variable t in the DB.

2. Create the variable Time 1 in the WinCC project, with the data type of "signed 32-bit" and the adjustment format of "LongToSignedDword". Select the address DB 1, DD0 of the corresponding PLC variable. At this point, the variable unit is milliseconds. In order to make the variable correspond to minutes, the corresponding linear conversion parameters are set.

3. Create an I/O domain to access the variable in the WinCC screen.

4. If you need to use floating-point format to monitor the time-type variables in PLC in WinCC project, you should choose "floating-point 32-bit IEEE754" when creating WinCC variables, adjust the format to "floating-point registered word", and select the address of the corresponding PLC variable DB 1.DD0.