4.2.8. SW220~249 Relay –日期/时间
4.2.8. SW220~249 Relay –日期/时间
l 代码
401 | 日期:高位字YYYY(dec),低位字MMDD(dec) |
402 | 时间(24小时制) :高位字00HH(dec),低位字MMSS(dec) |
l 读取/写入
读取 | Hi5a控制器的当前日期/时间值以Slot数据继续更新。(周期约为每秒1次) |
写入 | 当代码值从其他值变更为30401或30402时,则以Slot数据输入的日期/时间值立即将设置在Hi5a控制器中。 |
l 示例(例如,当使用slot1、slot2时)
SW220 | 401(dec) | Index:读取日期(0-based) |
SW221 | 0523(dec) | 2012年5月23日 |
SW222 | 2012(dec) | |
SW223 | 402(dec) | Index:读取时间(0-based) |
SW224 | 3650(dec) | 15时36分50秒 |
SW225 | 15(dec) | |
SW220 | 30401(dec) | Index:日期设置(30000-based) |
SW221 | 0523(dec) | 2012年5月23日 |
SW222 | 2012(dec) | |
SW223 | 30402(dec) | Index:时间设置(30000-based) |
SW224 | 3650(dec) | 15时36分50秒 |
SW225 | 15(dec) |