热搜关键词: 电路基础ADC数字信号处理封装库PLC

pdf

TR5001T_TPG程式語言

  • 1星
  • 2015-04-13
  • 1.87MB
  • 需要1积分
  • 3次下载
标签: TR5001T_TPG程式語言

TR5001T_TPG程式語言

TR5001T_TPG程式語言,,,,,,,

TR5001T Series
Tiny In-Circuit Test System
½用手冊
– TPG
程式語言
Ver. 1.0.0
June 05, 2011
Test Research Inc.
TR5001T Tiny In-Circuit Test System
½用手冊----TPG 程式語言
Ver.1.0.0
Copyright © 2011 Test Research Inc. All rights reserved.
這½文件只有客戶或者
TRI
人員,為了要運用在
TR5001T
測試系統時,才½夠被印½或是½
印½用,任½其他方面的用途必須先獲得
TRI
公司的許可才行。
硬體規格跟軟體版本視情況需要改變時,並不會另行通知。
TRI
會½出最½的努力,讓客戶知道任½關於產品方面的升級、修改或是汰舊換新的消息。
所有的商品½名和商標½是
TRI
專有的資產。
倘若對此手冊有任½的指教跟意見,請
e-mail
到下列的電子信箱:
sales@tri.com.tw
此外, 標題上請註明―TR5001T ½用手冊---程式語言‖。
www.tri.com.tw
TR5001T User Guide – TPG v.1.0.0
Test Research Inc.
Contents
1
2
簡介
______________________________________________________ 1
高階語言
(TPG) _____________________________________________ 2
2.1
2.2
概要
................................................................................................................ 2
術語
................................................................................................................ 2
3
測試程式架構
_______________________________________________ 3
3.1
識別字
............................................................................................................ 3
3.1.1
關鍵字
........................................................................................... 3
3.1.2
標準½式
........................................................................................ 4
資料類型
......................................................................................................... 5
3.2.1
純量
............................................................................................... 5
3.2.2
陣列
............................................................................................... 5
常數
................................................................................................................ 6
變數
................................................................................................................ 7
3.2
3.3
3.4
4
運算子
____________________________________________________ 8
4.1
4.2
4.3
算數運算子
..................................................................................................... 8
關係和邏輯運算子
.......................................................................................... 8
指定運算子
..................................................................................................... 9
5
6
7
運算式
___________________________________________________ 10
陳述
_____________________________________________________ 11
類比測試
__________________________________________________ 12
7.1
7.2
7.3
7.4
類比測試陳述
MR/MC/ML/MJ/MD/MQ .......................................................... 12
AnalogReset ................................................................................................ 15
開啟、關閉繼電器
........................................................................................ 16
StimV ........................................................................................................... 17
8
數½測試
__________________________________________________ 18
8.1
8.2
電路板的腳½定義
........................................................................................ 18
針號狀態規格的½式
..................................................................................... 20
9
數½測試關鍵字
____________________________________________ 21
TR5001T User Guide – TPG v.1.0.0
i
Test Research Inc.
10
數½測試陳述
______________________________________________ 22
10.1 BLOCK ......................................................................................................... 22
10.2 BLOCKSUB ................................................................................................. 24
10.3 DG/DH/DL/DX/DTG...................................................................................... 26
10.4 DT ................................................................................................................ 28
10.5 FAILCLR ...................................................................................................... 29
10.6 FAIL ............................................................................................................. 30
10.7 FL................................................................................................................. 31
10.8 FLAGFAIL .................................................................................................... 32
10.9 FLAGTESTFAIL ........................................................................................... 33
10.10 GPRELAY .................................................................................................... 34
10.11 GPRELAY_ALL ............................................................................................ 36
10.12 FLM.............................................................................................................. 38
10.13 JF 40
10.14 JP................................................................................................................. 41
10.15 KDOFF/KDON.............................................................................................. 42
10.16 LDT .............................................................................................................. 43
10.17 LOADTABLE ................................................................................................ 45
10.18
適當的
USETABLE
RESULTTABLE
必須要先在
main program
被呼叫過方½½用
LOOP ....................................................................................................... 47
10.19 READ/READLN ............................................................................................ 49
10.20 RESULTTABLE............................................................................................ 50
10.21 SAVETABLE ................................................................................................ 51
10.22 SG/SH/SL/SX/STG/HS................................................................................. 53
10.23 ST ................................................................................................................ 55
10.24 STT .............................................................................................................. 56
10.25 TABLE.......................................................................................................... 57
10.26 TABLEPTR .................................................................................................. 59
10.27 USETABLE .................................................................................................. 61
11 N
ON
-T
EST
(U
TILITY
) K
EYWORDS
_________________________________ 62
12
應用陳述
__________________________________________________ 63
12.1 ACTIVE ........................................................................................................ 63
12.2 ARRCMP ..................................................................................................... 64
12.3 ARRCPY ...................................................................................................... 65
ii
TR5001T User Guide – TPG v.1.0.0
Test Research Inc.
12.4 ARRSET ...................................................................................................... 67
12.5 CLOSE ......................................................................................................... 67
12.6 COPY_FILE ................................................................................................. 68
12.7 DATE ........................................................................................................... 69
12.8 DISCH .......................................................................................................... 70
12.9 DISPLAY ...................................................................................................... 71
12.10 DELETE_FILE.............................................................................................. 74
12.11 EOF ............................................................................................................. 76
12.12 EOLN ........................................................................................................... 77
12.13 EXECUTE .................................................................................................... 78
12.14 FOR-TO-DO ................................................................................................. 79
12.15 GET_BARCODE .......................................................................................... 80
12.16 GET_BOARDINFO....................................................................................... 82
12.17 GET_DCL_FILENAME ................................................................................. 87
12.18 GET_FILE_SIZE .......................................................................................... 88
12.19 GET_FIRST_FILE ........................................................................................ 89
12.20 GET_GUID ................................................................................................... 91
12.21 GET_MAC .................................................................................................... 92
12.22 GET_NEXT_FILE ......................................................................................... 93
12.23 GETKEY ...................................................................................................... 94
12.24 GETHIT ........................................................................................................ 96
12.25 GET_TEST_RESULT................................................................................... 97
12.26 GET_TEST_RESULT_Detail ....................................................................... 99
12.27 GOTO .........................................................................................................102
12.28 GOTO-ON ...................................................................................................103
12.29 IF-THEN-ELSE............................................................................................104
12.30 MDLY ..........................................................................................................105
12.31 MF ...............................................................................................................106
12.32 MV ..............................................................................................................107
12.33 OPEN ..........................................................................................................108
12.34 RENAME_FILE ...........................................................................................109
12.35 SEND_GUID ...............................................................................................110
12.36 SEND_MAC ...............................................................................................111
12.37 SetSleep .....................................................................................................112
TR5001T User Guide – TPG v.1.0.0
iii
展开预览

猜您喜欢

评论

登录/注册

意见反馈

求资源

回顶部

推荐内容

热门活动

热门器件

随便看看

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
×