word中日期的快捷键是shift+alt+d,时间的快捷是shift+alt+t。此为域,可自动更新
另外,[插入]-[日期和时间],也可插入纯文字时间。
Search found 178 matches
- 21 Feb 2019 00:34
- Forum: Profession职业
- Topic: 文本文件输入当前时间
- Replies: 1
- Views: 4399
- 14 Feb 2019 04:58
- Forum: Profession职业
- Topic: Visual Studio 自动注释及常用插件
- Replies: 0
- Views: 4686
Visual Studio 自动注释及常用插件
1. 自动注释 https://blog.csdn.net/sx341125/article/details/53392426 2. 常用插件 vscode-fileheader — 用过 Sublime Text File-Header ? Sublime Text Keymap — 继续使用 Sublime Text 快捷键 Settings Sync — 插件 & 配置同步到 gist AutoFileName — 文件路径智能提示补全 Debugger for Chrome — Chrome Debugger 调试 ESLint — 代码风格校验 VSCode Great Icons ...
- 14 Feb 2019 01:36
- Forum: Profession职业
- Topic: Twincat
- Replies: 11
- Views: 5662
Re: Twincat
PLC comment:
1: //
2: (* multiple line comment *)
1: //
2: (* multiple line comment *)
- 13 Feb 2019 21:13
- Forum: Profession职业
- Topic: chrome white theme
- Replies: 0
- Views: 1669
- 13 Feb 2019 05:12
- Forum: Profession职业
- Topic: 文本文件输入当前时间
- Replies: 1
- Views: 4399
文本文件输入当前时间
1. 在文件开头输入‘.LOG’,不包括引号。这样每次编辑保存以后,就会在最后一行记录保存时间
2. 在要输入时间的地方F5,立即插入当前时间。
2. 在要输入时间的地方F5,立即插入当前时间。
- 12 Feb 2019 23:19
- Forum: Profession职业
- Topic: Twincat
- Replies: 11
- Views: 5662
Re: Twincat
PLC逻辑在output中输出 log
ADSLOGSTR
ADSLOGDINT( msgCtrlMask := ADSLOG_MSGTYPE_HINT, msgFmtStr := 'PLC Msg: Feed too high! Current feed: %d', dintArg:= test);
ADSLOGSTR
ADSLOGDINT( msgCtrlMask := ADSLOG_MSGTYPE_HINT, msgFmtStr := 'PLC Msg: Feed too high! Current feed: %d', dintArg:= test);
- 25 Jan 2019 23:56
- Forum: Profession职业
- Topic: Twincat useful FB
- Replies: 0
- Views: 1579
Twincat useful FB
NT_GetTime
NT_StartProcess
NT_StartProcess
- 25 Jan 2019 22:32
- Forum: Profession职业
- Topic: PLC定时器
- Replies: 4
- Views: 2488
Re: PLC定时器
1 second on, off a: //fbTON1(IN:=NOT fbTOF1.Q, PT:=T#0.5S,Q=>bTest,ET=>t); //fbTOF1(IN:=fbTON1.Q,PT:=T#0.5S,Q=>bStart, ET=>t1); b: fbTON1(IN:=NOT fbTOF1.Q AND t<>T#1S, PT:=T#1S,Q=>bTest,ET=>t);//fbTON1.Q always false but when ET reached. c: fbTOF1(IN:=(NOT fbTOF1.Q) OR (T=T#0.98S),PT:=T#0.98S,Q=>bTe...
- 22 Jan 2019 01:00
- Forum: Profession职业
- Topic: JavaScript获取HMI中的变量
- Replies: 0
- Views: 1596
JavaScript获取HMI中的变量
var someControl = TcHmi.Controls.get('TcHmiButton');
if(someControl !== undefined) {
someControl.setText('found you');
}
if(someControl !== undefined) {
someControl.setText('found you');
}
- 09 Jan 2019 02:44
- Forum: Profession职业
- Topic: eval 全局变量
- Replies: 0
- Views: 1724
eval 全局变量
with ( window ){ eval ( 'var x=3;' );} //全局变量