background image

Summary of Contents for DC-2000

Page 1: ......

Page 2: ...difica es reparos ou altera es n o autorizadas do produto c Uso do produto em desacordo com as instru es de opera o e manuten o fornecidas pela Bematech S A d Uso do produto como componente em sistema...

Page 3: ...rar oprodutosemnenhumcustoparaousu rio desdequeeste seja entregue em uma das assist ncias t cnicas da Rede de Assist ncia T cnica Bematech RAT com custo de transporte sob responsabilidade de usu rio d...

Page 4: ...ando uma Tarefa Livre 2 7 1 Criando uma nova tarefa 2 8 Download de Tarefas 2 9 Importando Tarefas 2 10 Recebendo Dados 2 11 Configura es de C digo de Barras 2 11 1 Configura es Remotas de C digo de B...

Page 5: ...2 5 SBF 4 3 Comandos Macro 4 3 1 ADD 4 3 2 BEP 4 3 3 CDV 4 3 4 CKD 4 3 5 CKT 4 3 6 CLL 4 3 7 CLS 4 3 8 CMP 4 3 9 DIV 4 3 10 DLF 4 3 11 DLY 4 3 12 END 4 3 13 EXT 4 3 14 GET 4 3 15 GTO 4 3 16 INP 4 3 17...

Page 6: ...4 3 29 SEK 4 3 30 SEL 4 3 31 SND 4 3 32 SRH 4 3 33 STR 4 3 34 SUB 4 3 35 VAL 4 4 Vari veis do Sistema 4 4 1 Asterisk 4 4 2 DATE 4 4 3 DATES 4 4 4 TIME 4 4 5 TIMES 4 4 6 RECORDP 4 4 7 RECORDL 4 5 Lista...

Page 7: ...s necessidades de invent rio ou usar o Editor de Tarefas Livres para criar comandos simples para coleta de dados Em seguida use as fun es de comunica o do WinTaskGen para fazer o download das Tarefas...

Page 8: ...e 280 MB x86 610 MB x64 1 3 Instala o Siga as instru es abaixo para instalar o WinTaskGen em seu computador 1 Encontre e clique no arquivo Setup em seu computador para iniciar a instala o 2 Siga as in...

Page 9: ...N Revis o 1 5 5 Clique em Close quando terminar a instala o 1 4 Vis o Geral Consulte as seguintes ilustra es para se familiarizar com a interface de usu rio Menu Principal Configura es de Conex o Conf...

Page 10: ...ndo Leia esta se o para aprender como usar o WinTaskGen Esta se o abrange fun es b sicas como escrever um simples Procedimento e configurar o dispositivo Consulte os cap tulos posteriores para fun es...

Page 11: ...cer o mesmo valor no dispositivo Op es COM Seleciona a porta COM onde o dispositivo est conectado Op es de Baudrate 4800 9600 19200 38400 57600 115200 Op es de paridade Even Igual Mark Marque None Nen...

Page 12: ...ispositivo Set Device Time Configure a data e a hora do dispositivo 2 5 Criando Tarefas Antes de usar um produto do coletor de dados voc precisa de pelo menos uma Tarefa na unidade do coletor de dados...

Page 13: ...ser pesquisados vide Tabela 2 Visto que a unidade do coletor de dados n o pode ter mais do que 4 ou 8 procedimentos dependendo do modelo o n mero m ximo de formul rios tamb m de 4 ou 8 tabela 2 Todas...

Page 14: ...Tarefas repetidas ou compartilhadas como c lculos textos manipula es de controle e opera es de bancos de dados usados frequentemente 2 6 1 Criando uma Nova Tarefa 1 Selecione Procedure Task Editor no...

Page 15: ...AMA WINTASKGEN Revis o 1 5 3 Ap s a Tarefa ser criada poss vel usar o Procedure Task Editor direita para adicionar modificar apagar ou editar Procedimentos na Tarefa Para mais detalhes consulte Trabal...

Page 16: ...a o de Tarefas simples como inser o e armazenamento de dados 2 7 1 Criando uma Nova Tarefa 1 Selecione a aba Free Task Editor no Menu Principal 2 Insira o nome da tarefa e clique em New para criar uma...

Page 17: ...ura Tempo Longo Adiciona o carimbo de tempo MMDDYYYY hhmmss automaticamente Tempo Curto Adiciona o carimbo de tempo MMDDhhmm automaticamente Formato de Tempo Adiciona o formato de Data Hora personal i...

Page 18: ...D n mero 0 9 A todos os caracteres Alfa A Z a z U caracteres alfab ticos em letra mai scula A Z L caracteres alfab ticos em letra min scula a z C caracteres ASCII completos p caracteres ASCII imprim...

Page 19: ...a quantidade o item e sua quantidade etc Observa o se o ponto de in cio do circuito n o for indicado a tarefa livre usar o primeiro campo como ponto de in cio como padr o 2 8 Download de Tarefas A fun...

Page 20: ...e em Link Download 5 Selecione Yes quando a mensagem do sistema aparecer para iniciar o download 2 9 Importando Tarefas poss vel importar Tarefas existentes para o WinTaskGen Para importar Tarefas 1 S...

Page 21: ...e caracteres Exemplos 1 Quando TEMPVAR for uma vari vel o procedimento dever possuir N da Linha Operador Operand Fonte Operand Destino 1 INP 2 ADD TEMPVAR que adicionar dados ao TEMPVAR Data Armazena...

Page 22: ...Recordp Indicador de registro que aponta para o atual registro do formul rio selecionado Pode capturar o n mero atual de registros para outros fins do programa Exemplos 1 Quando TEMPVAR for uma vari v...

Page 23: ...cione Form name nome do formul rio para determinar qual tipo de formul rio necess rio receber Selecione a tecla Receive Data receber dados para conseguir os dados e a lista de visualiza o Selecione a...

Page 24: ...ter o par metro do c digo de barras 4 Selecione o c digo de barras que deseja configurar nos Barcode Items 5 Verifique e modifique as op es para os valores adequados 6 As configura es s o comunicadas...

Page 25: ...fa para as configura es de c digo de barras em Project Name nome do projeto 4 Selecione os c digos de barras que deseja configurar clicando na aba dos c digos de barras 5 Verifique e modifique as op e...

Page 26: ...a exportar o arquivo Tsk tsk Selecione Make TSL para salvar Tarefas no formato Tsl para vers es antigas do WinTaskGen Selecione Link Download para conectar o programa e depois baix lo para o dispositi...

Page 27: ...nos Procedimentos Siga suas pr prias ideias para editar as Tarefas de Procedimentos 1 Selecione Edit Procedure editar procedimento para editar o Procedimento selecionado 2 A tela de Procedure Task ap...

Page 28: ...rno do circuito Voltar para o ponto de in cio do circuito Selecione IPF para ler os dados do teclado leitor para o campo selecionado Selecione SBF para salvar o registro no campo selecionado Selecione...

Page 29: ...Delete ou Edit para adicionar modificar apagar ou editar Macros 3 2 1 Administrando a Macro 1 Selecione a aba Macro na tela Edit Procedure consulte Editar Tarefas de Procedimentos e selecione Edit Ma...

Page 30: ...zar a Macro Selecione EXT para sair da coleta de dados e ir para execu o de Tarefas Selecione GET para ler os dados de um arquivo Selecione GTO para apontar o indicador de registro atual para um n mer...

Page 31: ...e SND para enviar conte dos espec ficos Selecione SRH para procurar o arquivo de dados selecionado Selecione STR para converter dados para uma cadeia de caracteres Selecione SUB para subtrair Selecion...

Page 32: ...KGEN Revis o 1 5 Al m de ler o referido c digo macro o usu rio pode copiar esses comandos no C digo Macro e Adicionar juntando esses comandos copiados ao final do programa Inserir juntando estes coman...

Page 33: ...DO USU RIO DC 2000 PROGRAMA WINTASKGEN Revis o 1 5 3 2 2 Administrando Formul rios 1 Selecione a tela Edit Form editar formul rio em Edit Procedure consulte Editar Tarefas de Procedimentos no Editor...

Page 34: ...Max Length e Min Length 6 Insira os textos a serem exibidos no Input Prompting alertas de entrada 7 Insira a Data check Editing para alertar quantos tipos de caracteres podem ser usados e quais s o e...

Page 35: ...32 127 remover caractere de controle Os caracteres representados por como o s caractere s de verifica o nos c digos de barras ser o apagados quando os dados forem armazenados Os outros caracteres que...

Page 36: ...one as configura es das Vari veis Variable Name insira o nome da vari vel Variable Type selecione o n mero ou caractere Variable Length valor entre 1 32 Num of Decimal place o comprimento m ximo 10 4...

Page 37: ...c digo de leitura EAN 8 13 Send EAN 8 13 check digit estabelece se deve enviar o d gito de verifica o Op es de Add On de EAN Sem Suplemento Nenhum suporte de add on para c digo de barras i 2 D gitos...

Page 38: ...fica o Op es de Add On de UPC i Sem Suplemento Nenhum suporte de add on para c digo de barras ii 2 D gitos Permite c digo de add on de 2 bytes iii 5 D gitos Permite c digo de add on de 5 bytes iv 2 5...

Page 39: ...se inicia o modo de transfer ncia ITPR ITPR Conversion estabelece se habilita o modo de transfer ncia ITPR Concatenation enable estabelece se habilita a bandeira de Concatena o 4 1 5 C digo de Barras...

Page 40: ...25 ITF25 Enable habilita ou desabilita o c digo de leitura ITF25 Send Check Digit habilita ou desabilita o envio da cadeia de caracteres do d gito de verifica o Check Digit Verification Enable habilit...

Page 41: ...io do carac tere Send Check Digit habilitar ou desabilitar o envio da cadeia de caracteres do d gito de verifica o Check Digit Verification Enable habilitar modo CDV Disable Full Code39 habilitar o mo...

Page 42: ...es do d gito de verifica o Check Digit Verification Enable para habilitar o modo CDV Max Min Length o valor varia entre 2 e 64 4 1 10 Sincronizador Inicial e Final d gito de verifica o FNC2 Enable hab...

Page 43: ...presentar um menu de exibi o N Linha Comando Nome 1 MAC MENU 2 3 4 LOP 4 2 2 LST e LOP Sintaxe Comando Nome LST LOP Descri o Para controlar o fluxo do processo coloque LST no ponto de partida do circu...

Page 44: ...2 LST 3 IPF CLIENTE 4 LOP 4 2 4 NCR Sintaxe Operador Operand Fonte Operand Destino NCR Descri o Salve os dados de registro atuais e aumente o indicador de registro para o pr ximo registro Tipo de Dado...

Page 45: ...erand ADD OPERAND1 OPERAND2 Descri o Adiciona o conte do da Fonte Operand ao Destino Operand e armazena o resultado no Destino Operand Se a Fonte Operand for uma cadeia de caracteres ela ser inclu da...

Page 46: ...ion Operand BEP OPERAND1 OPERAND2 Descri o Direcione o alto falante do Coletor de Dados para emitir um som O OPERAND1 controla a dura o e o OPERAND2 especifica o tom Tipo de Dados Operand OPERAND1 con...

Page 47: ...Operand Destination Operand 1 INP 2 CDV 3 JMP EQ 5 4 JMP UC 1 5 6 7 Se voc quiser verificar a entrada de dados atual pode usar essas macros 4 3 4 CKD Sintaxe Operator Source Operand Destination Opera...

Page 48: ...Verifique se o OPERAND1 est no formato de hor rio Se o OPERAND1 estiver no formato de hor rio a sinaliza o configurada em EQ Se o OPERAND1 estiver no formato de hor rio a sinaliza o configurada em NE...

Page 49: ...ela de exibi o Tipo de Dados Operand OPERAND1 1 2 3 4 5 6 Depende do n mero de linhas na tela da Unidade Coletora de Dados O m ximo pode ser 4 6 etc Exemplos Limpe a linha 1 da tela de exibi o Line No...

Page 50: ...liza o configurada em GT Se o OPERAND1 for menor que o OPERAND2 a sinaliza o configurada em LT Os conte dos do Operand n o s o alterados Tipo de Dados Operand OPERAND1 constante num rica vari vel num...

Page 51: ...do como uma vari vel num rica logo Line No Operator Source Operand Destination Operand 1 DIV 10 TEMPVAR 4 3 10 DLF Sintaxe Operator Source Operand Destination Operand DLF Descri o Apaga os dados do fo...

Page 52: ...e Operand Destination Operand END Descri o Final da execu o do comando macro Um processo pode possuir diversas macros finais Tipo de Dados Operand NENHUM Exemplos O TEMPVAR definido como uma vari vel...

Page 53: ...stante num rica nome do campo OPERAND2 vari vel num rica cadeia de caracteres vari vel Exemplos Quando o TEMPVAR for definido como uma vari vel ent o Line No Operator Source Operand Destination Operan...

Page 54: ...os em OPERAND1 O formato de dados depende da configura o do formato de campo Quando o OPERAND1 for um campo vari vel Tipo de Dados do Operand OPERAND1 vari vel num rica vari vel da cadeia de caracter...

Page 55: ...o exibidos na tela Tipo de Dados Operand OPERAND1 vari vel da cadeia de caracteres vari vel num rica Exemplos Quando o TEMPVAR for definido como uma vari vel da cadeia de caracteres ent o Line No Ope...

Page 56: ...R for definido como uma vari vel num rica ent o Line No Operator Source Operand Destination Operand 1 CMP TEMPVAR 10 2 JMP GT 15 3 15 JMP UC 25 19 25 30 END comparar TEMPVAR com 10 caso o TEMPVAR seja...

Page 57: ...LFT OPERAND1 OPERAND2 Descri o Recupera os caracteres da esquerda de comprimento n do OPERAND2 e armazena a subcadeia de caracteres de volta em OPERAND2 onde o comprimento n for especificado pelo OPE...

Page 58: ...de caracteres constante nome do campo vari vel do registro atual Exemplos Caso queira adicionar a data ao campo DATA_F exiba na posi o 1 da tela Line No Operator Source Operand Destination Operand 1 M...

Page 59: ...o OPERAND2 e armazena o resultado no OPERAND2 Tipo de Dados Operand OPERAND1 constante num rica vari vel num rica OPERAND2 vari vel num rica Exemplos Quando o TEMPVAR for definido como uma vari vel nu...

Page 60: ...dos do OPERAND2 no campo atual do registro atual O n mero do campo controlado no OPERAND1 Tipo de Dados Operand OPERAND1 constante num rica nome do campo OPERAND2 constante num rica vari vel num rica...

Page 61: ...ne No Operator Source Operand Destination Operand 1 RCV 1000 TEMPVAR receber uma cadeia de caracteres de uma porta serial e armazenar a cadeia de caracteres no TEMPVAR dentro de 1 segundo 4 3 24 RHT S...

Page 62: ...SEK Sintaxe Operator Source Operand Destination Operand SEK OPERAND1 Descri o Deixa o indicador de registro atual indicar o n mero de registro do arquivo selecionado OPERAND1 especifica o n mero de re...

Page 63: ...1 SEL ORDEM 2 3 28 SND Sintaxe Operator Source Operand Destination Operand SND OPERAND1 OPERAND2 Descri o Envia os conte dos controlados pelo OPERAND1 e um caractere terminador especificado no OPERAND...

Page 64: ...za o de compara o configurada como EQ Caso n o seja configurada como NE Tipo de Dados Operand OPERAND2 constante num rica vari vel num rica OPERAND1 vari vel da cadeia de caracteres constante da cadei...

Page 65: ...OPERAND2 Tipo de Dados do Operand OPERAND1 constante num rica vari vel num rica OPERAND vari vel num rica Exemplos Quando o TEMPVAR for definido como uma vari vel num rica e conte do for 20 logo Line...

Page 66: ...ode ser do tipo num rico ou cadeia de caracteres Exemplos 1 Quando TEMPVAR for uma vari vel o procedimento dever possuir Line No Operator Source Operand Destination Operand 1 INP 2 ADD TEMPVAR que adi...

Page 67: ...hor rio no formato curto hhmm hh hora mm minuto Exemplos 1 Quando TEMPVAR for um vari vel o procedimento dever possuir Line No Operator Source Operand Destination Operand 1 MOVE HOR RIOS TEMPVAR 4 4...

Page 68: ...difica es reparos ou altera es n o autorizadas do produto c Uso do produto em desacordo com as instru es de opera o e manuten o fornecidas pela Bematech S A d Uso do produto como componente em sistema...

Page 69: ...reparar oprodutosemnenhumcustoparaousu rio desdequeeste seja entregue em uma das assist ncias t cnicas da Rede de Assist ncia T cnica Bematech RAT com custo de transporte sob responsabilidade de usu r...

Page 70: ...2 6 1 Creating a New Task 2 7 Creating a Free Task 2 7 1 Creating a New Task 2 8 Downloading Tasks 2 9 Importing Tasks 2 10 Receiving Data 2 11 Barcode Settings 2 11 1 Remote Barcode Settings 3 Worki...

Page 71: ...4 3 1 ADD 4 3 2 BEP 4 3 3 CDV 4 3 4 CKD 4 3 5 CKT 4 3 6 CLL 4 3 7 CLS 4 3 8 CMP 4 3 9 DIV 4 3 10 DLF 4 3 11 DLY 4 3 12 END 4 3 13 EXT 4 3 14 GET 4 3 15 GTO 4 3 16 INP 4 3 17 INX 4 3 18 JMP 4 3 19 LEN...

Page 72: ...RSV 4 3 29 SEK 4 3 30 SEL 4 3 31 SND 4 3 32 SRH 4 3 33 STR 4 3 34 SUB 4 3 35 VAL 4 4 System Variables 4 4 1 Asterisk 4 4 2 DATE 4 4 3 DATES 4 4 4 TIME 4 4 5 TIMES 4 4 6 RECORDP 4 4 7 RECORDL 4 5 Demo...

Page 73: ...e Free Task Editor to create simple commands for data collecting purpose Then use WinTaskGen s communication functions to download Tasks to the Data Collector unit In addition the Remote Settings prov...

Page 74: ...Space Requirements 280 MB x86 610 MB x64 1 3 Installation Follow the instructions below to install WinTaskGen on your computer 1 Find and click the Setup file on your computer to begin installation 2...

Page 75: ...o select the location your want to install the program in and click Next 4 Continue to follow the on screen instructions and click Next to continue installation 5 Click Close when the installation is...

Page 76: ...sks 2 Getting Started Read this section to learn how to start using WinTaskGen This section covers basic functions such as writing a simple Procedure and configuring device settings See later chapters...

Page 77: ...fine communication protocols you must set the same value with the device COM options Select the COM port the device is connected to Baudrate options 4800 9600 19200 38400 57600 115200 Parity options E...

Page 78: ...d time Set Device Time Set up device date and time 2 5 Creating Tasks Before using a data collector product you need at least one Task in the data collector unit See Table 1 The function of Task Edito...

Page 79: ...er forms can only be searched see Table 2 Because the data collector unit can have no more tabela 2 than 4 or 8 Procedures depending on model the maximum number of forms is tabela 3 also 4 or 8 All va...

Page 80: ...or shared Tasks such as frequently used calculations text and control manipulation and database operations 2 6 1 Creating a New Task 1 Select Procedure Task Editor on the Main Manu 2 Enter the Task N...

Page 81: ...00 PROGRAMA WINTASKGEN Revis o 1 5 3 After the Task is created you can use the Procedure Task Editor on the right to append modify delete or edit Procedures in the Task Please see Working with Procedu...

Page 82: ...2 7 Creating a Free Task Free Tasks are useful for performing simple Tasks such as inputting and storing data 2 7 1 Creating a New Task 1 Select the Free Task Editor tab on the Main Menu 2 Enter the...

Page 83: ...g data only Scan Only Input by scanning data only Keyin Scan Input by keying and scanning data Long time Append MMDDYYYYhhmmss timestamp automatically Short time Append MMDDhhmm timestamp automati cal...

Page 84: ...ee the following table for symbols you can use Editing Meaning n number 0 9 and d number 0 9 a all Alpha characters A Z a z u upper case Alpha characters A Z l Lower case Alpha character a z c Full AS...

Page 85: ...And then the free task will collect loc data first and then item and its quantity data and then item and its quantity and item and its quantity etc 2 8 Downloading Tasks The download function allows t...

Page 86: ...k Editor or Free Task Editor from the Main Menu 2 Select the Task you want to download in the Project Name 3 Click Link Download 2 9 Importing Tasks You can import existing Tasks to the WinTaskGen To...

Page 87: ...AR is a variable then a procedure could have Line No Operator Source Operand Destination Operand 1 INP 2 ADD TEMPVAR which will add input data to TEMPVAR Date Stores date data with the format MMDDYY M...

Page 88: ...rocedure could have Line No Operator Source Operand Destination Operand 1 MOVE TIMES TEMPVAR Recordp A record pointer pointing at the current record of the selected FORM It could capture the current r...

Page 89: ...to be received Select Form name to determine what kind of form needs to be received Select Receive Data button to get the data and list view Select Delete Data button to clear data in the device Data...

Page 90: ...ttings to obtain the barcode parameter 3 Select the barcode you want to setup in the Barcode Items 4 Check and change the options to appropriate values 6 Settings are communicated to the Data Collecto...

Page 91: ...o 1 5 3 Select the Task for the barcode settings in Project Name 4 Select the barcodes you want to setup by selecting the barcode tabs 5 Check and change the options to appropriate values Please see...

Page 92: ...Save as TSK to export Tsk file tsk Select Make TSL to save Tasks as Tsl format for older versions of WinTaskGen Select Link Download to link the program and then download it to the data collector devi...

Page 93: ...anage Macros Forms and Variables in the Procedures Follow your own ideas to edit the Procedure Tasks 1 Select Edit Procedure to edit selected Procedure 2 The Procedure Task screen appears as follows T...

Page 94: ...urn to Loop start point Select IPF to read data from keypad scanner to the field you select Select SBF to save buffer to field you select Select NCR to save current record data and increment record po...

Page 95: ...SKGEN Revis o 1 5 3 2 1 Managing Macro 1 Select the Macro tab in the Edit Procedure screen see Editing Procedure Tasks and select Edit Macro 2 Macro Editor appears when you select Edit Macro 3 Select...

Page 96: ...end Macro Select EXT to exit data collection and go to run Task Select GET to read data from a file Select GTO to point the current record pointer to a record number in the specified form Select INP...

Page 97: ...file Select SND to send specified contents Select SRH to search the selected data file Select STR to convert data to string type Select SUB to subtract Select VAL to convert data to numeric type 4 Se...

Page 98: ...EN Revis o 1 5 Besides reading the referred macro code user can Copy these commands in the Macro Code and Add appending these copied commands to the end of the program Insert appending these copied co...

Page 99: ...99 MANUAL DO USU RIO DC 2000 PROGRAMA WINTASKGEN Revis o 1 5 3 2 2 Managing Forms 1 Select Edit Form in the Edit Procedure screen see Editing Procedure Tasks or in the Macro Editor...

Page 100: ...h and Min Length 6 Enter the texts to be displayed in Input Prompting 7 Enter Data check Editing to prompt how many kinds of character you can use and what they are For example if the data you are goi...

Page 101: ...ASCII code 32 127 Remove control character The characters represented by such as the check character s in the barcodes will be deleted when the data is stored Characters other than the symbols mention...

Page 102: ...EN Revis o 1 5 3 Select the Variable settings Variable Name Enter the name for the variable Variable Type Select Number or Character Variable Length Value in the range of 1 32 Num of Decimal place Max...

Page 103: ...N 8 13 Enable Enable or disable code EAN 8 13 reading Send EAN 8 13 check digit Set whether to send check digit EAN Add On options No Supplement None support add on barcode i 2 Digits Allow 2bytes add...

Page 104: ...her to send check digit UPC Add On options i No Supplement None support add on barcode ii 2 Digits Allow 2bytes add on code iii 5 Digits Allow 5bytes add on code iv 2 5 Digits Allow 2bytes and 5bytes...

Page 105: ...TPR Transmit A Character Set whether to start ITPR transfer mode ITPR Conversion Set whether to enable ITPR transfer mode Concatenation enable Set whether to enable Concatenation flag 4 1 5 Codabar Co...

Page 106: ...Revis o 1 5 4 1 6 ITF25 ITF25 Enable Enable or disable reading ITF25 code Send Check Digit To enable or disable sending the check digit string Check Digit Verification Enable To enable CDV mode Max Mi...

Page 107: ...nd Check Digit To enable or disable sending the check digit string Check Digit Verification Enable To enable CDV mode Disable Full Code39 To enable full code39 mode 4 1 8 C digo 128 Code128 Enable Ena...

Page 108: ...5 code Send Check Digit To enable or disable sending the check digit string Check Digit Verification Enable To select CDV mode Max Min Length The value in the range 2 64 4 1 10 Sincronizador Inicial e...

Page 109: ...name as MENU Its function is for a display menu Line No Command Name 1 MAC MENU 2 3 4 LOP 4 2 2 LST e LOP Syntax Command Name LST LOP Description To control process flow put LST at loop start point a...

Page 110: ...CUSTOMER 4 LOP 4 2 4 NCR Syntax Operator Source Operand Destination Operand NCR Description Save current record data and increment record pointer to next record Operand Data Type None Examples If TEMP...

Page 111: ...nd Destination Operand ADD OPERAND1 OPERAND2 Description Adds the source operand content to the destination operand and stores the result in the destination operand If the source operand is a string i...

Page 112: ...Source Operand Destination Operand BEP OPERAND1 OPERAND2 Description Drive the Data Collector speaker to make a sound OPERAND1 holds the duration and OPERAND2 specifies the tone Operand Data Type OPER...

Page 113: ...ource Operand Destination Operand 1 INP 2 CDV 3 JMP EQ 5 4 JMP UC 1 5 6 7 If we want to check the current data entry we can use these macros 4 3 4 CKD Syntax Operator Source Operand Destination Operan...

Page 114: ...1 Description Check if OPERAND1 is in the time format or not If OPERAND1 is in the time format the flag is set to EQ If OPERAND1 is not in the time format the flag is set to NE Operand Data Type OPERA...

Page 115: ...Type OPERAND1 1 2 3 4 5 6 Depends on number of lines on Data Collector unit screen Max may be 4 may be 6 etc Examples Clear line 1 of the LCD display Line No Operator Source Operand Destination Operan...

Page 116: ...e flag is set to LT The operand contents are not changed Operand Data Type OPERAND1 numeric constant numeric variable string constant string variable DATE string TIME string OPERAND2 numeric constant...

Page 117: ...ination Operand DLF Description Delete user form files data Operand Data Type NONE Examples Clear all data and exit process Line No Operator Source Operand Destination Operand 1 DLF 2 EXT 4 3 11 DLY S...

Page 118: ...mples TEMPVAR is defined as a numeric variable TEMPVAR will be divided by 100 if it is greater than 1000 but will be divided by 10 if not Line No Operator Source Operand Destination Operand 1 CMP TEMP...

Page 119: ...AR is defined as a variable then Line No Operator Source Operand Destination Operand 1 SEL ORDER 2 SEK 10 3 GET 3 TEMPVAR 4 3 13 GTO Syntax Operator Source Operand Destination Operand GTO OPERAND1 Des...

Page 120: ...meric variable string variable Field variable field name Examples If TEMPVAR is defined as a numeric variable then Line No Operator Source Operand Destination Op erand 1 INP TEMPVAR 2 CMP TEMPVAR 1000...

Page 121: ...TAX 49 2 INX TEMPVAR 3 CMP TEMPVAR 1 4 JMP EQ 30 5 Computar 15 IM POSTO 6 29 END 30 Computar 5 IM POSTO 31 4 3 16 JMP Syntax Operator Source Operand Destination Operand JMP OPERAND1 OPERAND2 Descripti...

Page 122: ...nconditional jump to line number 25 if not execute macros from line numbers 3 to 14 4 3 17 LEN Syntax Operator Source Operand Destination Operand LEN OPERAND1 OPERAND2 Description Store the length of...

Page 123: ...rator Source Operand Destination Operand 1 LEN TEMPVAR TEMPCNT 2 SUB 1 TEMPCNT 3 LFT TEMPCNT TEMPVAR will truncate the last character of TEMPVAR 4 3 19 MOV Syntax Operator Source Operand Destination O...

Page 124: ...n OPERAND1 at LCD position held in OPERAND2 Character used as new line control character Operand Data Type OPERAND1 numeric variable string constant string variable OPERAND2 numeric constant numeric v...

Page 125: ...AR is defined as numeric variable then Line No Operator Source Operand Destination Operand 1 MUL 10 TEMPVAR will multiply 10 by TEMPVAR and store result in TEMPVAR 4 3 21 NCR Syntax Operator Source Op...

Page 126: ...variable Examples We want to put the string MYGROUP in field 1 of the 10th record of the file CUSTOM Line No Operator Source Operand Destination Operand 1 SEL PERSONALIZADO 2 SEK 10 3 PUT 1 MEUGRUPO...

Page 127: ...e rightmost sub string of n length of OPERAND2 and store the sub string back to OPERAND2 where length n is specified by Operand Data Type OPERAND1 numeric constant numeric variable OPERAND2 string var...

Page 128: ...c variable Examples The following macros Line No Operator Source Operand Destination Operand 1 SEL PERSONALIZADO 2 SEK 10 will select file named CUSTOM and move the record pointer of the selected file...

Page 129: ...No Operator Source Operand Destination Operand 1 SND TEMPVAR 2 will send the content of TEMPVAR and a terminator CRLF from the serial port 2 3 29 SRH Syntax Operator Source Operand Destination Operand...

Page 130: ...and Data Type OPERAND1 numeric constant numeric variable OPERAND2 string variable Examples TEMPVAR is defined as a string variable then Line No Operator Source Operand Destination Operand 1 STR 12345...

Page 131: ...eric variable Examples TEMPVAR is defined a as numeric variable then Line No Operator Source Operand Destination Operand 1 VAL 12345 TEMPVAR will convert the string 12345 to the number 12345 and store...

Page 132: ...1 When TEMPVAR is a variable then a procedure could have Line No Operator Source Operand Destination Operand 1 MOVE DATES TEMPVAR which will move DATES data to TEMPVAR Time Stores time data in the for...

Page 133: ...MOVE RECORDP TEMPVAR 4 5 Demo Program List There are several sample task TSK programs included for instruction These programs typically reside in C program files ZEBEX WinTaskGen Net v5 Demo directory...

Page 134: ......

Reviews: