「Picture」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
行 229: | 行 229: | ||
if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area | if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area | ||
set Val3 = 0 or False , ITTS will change back to default picture area. | set Val3 = 0 or False , ITTS will change back to default picture area. | ||
+ | |||
+ | {| class="mw-collapsible mw-collapsed wikitable" | ||
+ | ! Example Code | ||
+ | |- | ||
+ | | | ||
+ | <Item> | ||
+ | <Text> </Text> | ||
+ | <Description> picture optimize</Description> | ||
+ | <ItemType> 2</ItemType> | ||
+ | <Skip> 1</Skip> | ||
+ | <ItemSection1> Picture</ItemSection1> | ||
+ | <ItemSection2> </ItemSection2> | ||
+ | <ItemCommand> Optimize</ItemCommand> | ||
+ | <FailAction> </FailAction> | ||
+ | <FieldName> </FieldName> | ||
+ | <FieldNumber> </FieldNumber> | ||
+ | <ErrorCode> </ErrorCode> | ||
+ | <RetryTimes> 0</RetryTimes> | ||
+ | <RetryDelay> 0</RetryDelay> | ||
+ | <Process> </Process> | ||
+ | <FieldType> </FieldType> | ||
+ | <Parameter> | ||
+ | <i1> | ||
+ | <Content></Content> | ||
+ | <Description>Min</Description> | ||
+ | </i1> | ||
+ | <i2> | ||
+ | <Content></Content> | ||
+ | <Description>Max</Description> | ||
+ | </i2> | ||
+ | <i3> | ||
+ | <Content>1</Content> | ||
+ | <Description>Value3</Description> | ||
+ | </i3> | ||
+ | </Parameter> | ||
+ | </Item> | ||
+ | <Item> | ||
+ | <Text> </Text> | ||
+ | <Description> picture not optimize</Description> | ||
+ | <ItemType> 2</ItemType> | ||
+ | <Skip> 1</Skip> | ||
+ | <ItemSection1> Picture</ItemSection1> | ||
+ | <ItemSection2> </ItemSection2> | ||
+ | <ItemCommand> Optimize</ItemCommand> | ||
+ | <FailAction> </FailAction> | ||
+ | <FieldName> </FieldName> | ||
+ | <FieldNumber> </FieldNumber> | ||
+ | <ErrorCode> </ErrorCode> | ||
+ | <RetryTimes> 0</RetryTimes> | ||
+ | <RetryDelay> 0</RetryDelay> | ||
+ | <Process> </Process> | ||
+ | <FieldType> </FieldType> | ||
+ | <Parameter> | ||
+ | <i1> | ||
+ | <Content></Content> | ||
+ | <Description>Min</Description> | ||
+ | </i1> | ||
+ | <i2> | ||
+ | <Content></Content> | ||
+ | <Description>Max</Description> | ||
+ | </i2> | ||
+ | <i3> | ||
+ | <Content>0</Content> | ||
+ | <Description>Value3</Description> | ||
+ | </i3> | ||
+ | </Parameter> | ||
+ | </Item> | ||
+ | |||
+ | |||
+ | |} | ||
於 2020年10月30日 (五) 08:54 的最新修訂
Section 1[編輯]
Picture
Section 2[編輯]
--
Commands[編輯]
Load[編輯]
load picture. picture support file format JPG. BMP
Example Code |
---|
<Item> <Text> </Text> <Description> picture load</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> load</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>['&ITTSPATH'+"resource\Default\default.jpg"]</Content> <Description>Value3</Description> </i3> </Parameter> </Item>
|
To change ITTS picture area (size).
- change ITTS Mode ( Engineer Mode / Operator Mode / MFG mode)
- picture Optimize command
Clear[編輯]
clear picture
Example Code |
---|
<Item> <Text> </Text> <Description> picture load</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> clear</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content></Content> <Description>Value3</Description> </i3> </Parameter> </Item>
|
Load Status Picture[編輯]
Load Status Picture: instruction Picture under MP mode, picture support file format JPG. BMP,GIF ITTS will search .\ resource\[language path]\*.* under ITTS directory.
Clear Status Picture[編輯]
Clear Status Picture
TextOut[編輯]
Example Code |
---|
<Item> <Text> </Text> <Description> textOut</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> textOut</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>20</Content> <Description>X</Description> </i3> <i4> <Content>100</Content> <Description>Y</Description> </i4> <i5> <Content>Arial</Content> <Description>font name</Description> </i5> <i6> <Content>30</Content> <Description>font size</Description> </i6> <i7> <Content>$FF0000</Content> <Description>color</Description> </i7> <i8> <Content>$0080FF</Content> <Description>back color</Description> </i8> <i9> <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> <Description>char</Description> </i9> </Parameter> </Item> <Item> <Text> </Text> <Description> textOut</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> textOut</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>20</Content> <Description>X</Description> </i3> <i4> <Content>150</Content> <Description>Y</Description> </i4> <i5> <Content>consolas</Content> <Description>font name</Description> </i5> <i6> <Content>30</Content> <Description>font size</Description> </i6> <i7> <Content>$0000FF</Content> <Description>color</Description> </i7> <i8> <Content>$00ff00</Content> <Description>back color</Description> </i8> <i9> <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> <Description>char</Description> </i9> </Parameter> </Item>
|
related link : ASC II table 選擇不同的字形(font name) 可以顯示特殊符號
OPTIMIZE[編輯]
if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area set Val3 = 0 or False , ITTS will change back to default picture area.
Example Code |
---|
<Item> <Text> </Text> <Description> picture optimize</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> Picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> Optimize</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>1</Content> <Description>Value3</Description> </i3> </Parameter> </Item> <Item> <Text> </Text> <Description> picture not optimize</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> Picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> Optimize</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>0</Content> <Description>Value3</Description> </i3> </Parameter> </Item>
|