macro_command main()
short A,B,C
GetData(A, "Local HMI", LW, 9022, 1)//读取年
GetData(B, "Local HMI", LW, 9021, 1)//读取月
GetData(C, "Local HMI", LW, 9020, 1)//读取日
SetData(A, "Panasonic FP (Ethernet)", DT, 100, 1)
SetData(B, "Panasonic FP (Ethernet)", DT, 101, 1)
SetData(C, "Panasonic FP (Ethernet)", DT, 102, 1)
end macro_command