Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:strumenti:qmoveplus:j1p54:mimj1p54fx_base [2017/05/15 15:50] – [6.6.1. Ingresso 1 potenziometrico e ingresso 2 voltmetrico] qem103en:strumenti:qmoveplus:j1p54:mimj1p54fx_base [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== J1-P54-Fx BASIC MANUAL ======
  
 +{{  strumenti:QmovePlus:J1P51:J1P51_3d_01.png?nolink&400  |J1-P54}}
 +
 +----
 +
 +{{page>en:lib:mdl:mdl-g-diritti-010}}
 +
 +<html><pagebreak /></html>
 +
 +====== - Informations ======
 +
 +<WRAP center round box 90%>
 +| {{:varie:logo_qem_documentazione.png?200&direct}}                                                                                                                         |||||
 +^ Document:                                         | **MIMJ1P54FxBASIC**                                                                                                    ||||
 +^ Description:                                       | Installation and Maintenance manual                                                                               ||||
 +^ Editor:                                         | Riccardo Furlato                                                                                                      ||||
 +^ Approver                                        | Giuliano Tognon                                                                                                       ||||
 +^ Link:                                              | http://http://www.qem.eu/doku/doku.php/en/strumenti/qmoveplus/j1p54/mimj1p54fx_base                                      ||||
 +^ Language:                                            | English                                                                                                            ||||
 +|                                                                                                                                                                           |||||
 +^ Document Release                                  ^ Hardware Release                                                                  ^ Description    ^ Note  ^ Date        ^
 +|  01                                                |  01                                                                               | New manual  |       | 13/09/2016  |
 +
 +</WRAP>
 +
 +<html><pagebreak /></html>
 +
 +{{page>en:lib:mdl:mdl-h-cemarce-010}}
 +
 +<html><pagebreak /></html>
 +
 +{{INLINETOC}}
 +
 +====== - Description ======
 +
 +**J1-P54-F** is an integrated controller of Qmove+ family.
 +
 +===== - Product Identification =====
 +
 +^:tip:^The Ordering Code provides the exact product characteristics. Make sure that the product characteristics meet your requirements.^
 +
 +==== - Product Label ====
 +
 +{{strumenti:qmoveplus:j1P54:j1P54_etichetta-prodotto_01.png?nolink&400|}}
 +
 +{{page>en:lib:mdl:mdl-h-mclegeti-010}}
 +
 +<html><pagebreak /></html>
 +
 +==== - Ordering Code ====
 +
 +| Model                                                                                                                                                                                                                                                                            |||    | Features                                                                                                                                                                                                                                                                                                                |||||
 +^ **J1**                             | -  ^ **P54**                                                                                                                                                                                                                                    | -  ^ **FA**                                                     | -  ^ **10**                                             | /  ^ TP01 {{:loghi:column_spacer.png?nolink}}^
 +|                                    |    |                                                                                                                                                                                                                                            |    |                                                            |    |                                                    |    | **TP00** = Keypad code (TP00 = panel with resistive, logo and custom function keys);\\ **TP01** = panel with resistive touch-screen, logo and QEM standard function keys  |
 +|                                    |    |                                                                                                                                                                                                                                            |    |                                                            |    | **10** = Firmware version (00 = not installed)                                                                                                                                                                                                              |||
 +|                                    |    |                                                                                                                                                                                                                                            |    | **F**  = Technology level\\ **A**  = Hardware version                                                                                                                                                                                                                                                                      |||||
 +|                                    |    | **P**  = Basic keypad (only function keys)\\ **5**  = LCD graphic display 10,4” TFT-256 COLOURS-800x600px;  front panel dimensions (216x287mm); keypad 6 keys + 10 led; housing to DIN 43700;\\ **4**  = Firmware-hardware correspondence                                                                                                                                                                                                                                                                                                                                      |||||||
 +| **J1** = Qmove “HMI+PLC” Qmove family                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |||||||||
 +
 +
 +
 +
 +<html><pagebreak /></html>
 +
 +==== - Hardware Versions ====
 +
 +There are following hardware versions:
 +|                                                                                                                                           |^  Hardware Versions                                                                                                                       ||||||||
 +|                                                                                                                                           |^ A                   ^ B                                                                                                  ^ C                                                                                          ^ E          ^ F           ^ H      ^ I   ^ Y        |
 +^ SLOT 2\\ (Base Card)                                       ^ USER PORT (RS232-422-485)                                                   | -                   | -                                                                                                  | -                                                                                          | -           | -           | 1     | -    | 1        |
 +| :::                                                          ^ AUX PORT (RS485)                                                            | 1                   | 1                                                                                                  | 1                                                                                          | 1           | 1           | 1     | 1    | 1        |
 +| :::                                                          ^ CAN1 PORT                                                                   | 1                   | 1                                                                                                  | 1                                                                                          | 1           | 1           | 1     | 1    | 1        |
 +| :::                                                          ^ CAN2 PORT [(option not enable)]                                 | -                   | -                                                                                                  | -                                                                                          | -           | -           | -     | -    | -        |
 +| :::                                                          ^ ETHERNET PORT                                                               | 1                   | 1                                                                                                  | 1                                                                                          | 1           | 1           | 1     | 1    | 1        |
 +| :::                                                          ^ USB PORT                                                                    | 1                   | 1                                                                                                  | 1                                                                                          | 1           | 1           | 1     | 1    | 1        |
 +| :::                                                          ^ Standard digital inputs                                                  | 16                  | 16                                                                                                 | 16                                                                                         | 16          | 16          | 16    | 16   | 16       |
 +| :::                                                          ^ 16bit analog inputs selectable(0-10V, 0-20mA, potentiometer, thermocouple, PT100)  | 2                   | 2                                                                                                  | 2                                                                                          | 2           | 2           | 2     | 2    | 2        |
 +| :::                                                          ^ 200KHz two-way count inputs ABZ (24V-PP, 5V-LD)                           | -                   | 2                                                                                                  | 4[(2 of ZERO pulse "Z", can be used as frequency in the "FREQ" device)]| 2     | 4[(#2)]    | 4[(#2)] | 4[(#2)]  | 4[(#2)]  |
 +| :::                                                          ^ SSI counter inputs                                                    | -                   | -                                                                                                  | -                                                                                          | -           | -           | -     | -    | 2        |
 +| :::                                                          ^ Protected digital outputs                                                    | 16                  | 16                                                                                                 | 16                                                                                         | 16          | 16          | 16    | 16   | 16       |
 +| :::                                                          ^ Stepper outputs                                                              | -                   | -                                                                                                  | -                                                                                          | -           | -           | -     | -    | 2        |
 +| :::                                                          ^ 0-10V, 12bit analog outputs                                               | -                   | -                                                                                                  | -                                                                                          | -           | -           | -     | -    | -        |
 +| :::                                                          ^ +/-10V, 16bit analog outputs                                              | -                   | 2                                                                                                  | 4                                                                                          | 2           | 4           | 4     | 4    | 4        |
 +^ Base Card software code                                                                              ||  1QM4F                                                                                                                                     |||||||         |
 +^ Expansion\\ card                                          ^ Standard digital inputs                                                 | -                   | -   | -   | 16     | 16     | -      | 16     | -      |
 +| :::                                                          ^ 12bit analog inputs                                                    | -                   | -   | -   | -      | -      | -      | -      | -      | 
 +| :::                                                          ^ 16bit selectable (0-10V, 0-20mA, potentiometer, thermocouple, PT100)  analog inputs  | -                   | -   | -   | -      | 2      | -      | 2      | -      | 
 +| :::                                                          ^ Protected digital outputs                                                    | -                   | -   | -   | 16     | 16     | -      | 16     | -      | 
 +| :::                                                          ^ Relais digital outputs                                                      | -                   | -   | -   | -      | -      | -      | -      | -      | 
 +| :::                                                          ^ 0-10V, 12bit analog outputs                                               | -                   | -   | -   | -      | -      | -      | -      | -      |
 +| :::                                                          ^ +/-10V, 16bit analog outputs                                              | -                   | -   | -   | -      | -      | -      | 2      | -      | 
 +| :::                                                          ^ 200kHz two-way count inputs, ABZ (24V-PP, 5V-LD)                           | -                   | -   | -   | -      | -      | -      | 2      | -      | 
 +^ Card software code declared as expansione                                                                                || -                   | -   | -   | 1MG2F  | 1MG2F  | -      | 1MG2F  | -      |
 +~~REFNOTES~~
 +
 +
 +==== - Expansion cards manual ====
 +
 +{{:icone:icona_mim-card.jpg?80}}[[en:strumenti:QmovePlus:MIM1MG2F01|1MG2F rel.01]]
 +
 +==== - Firmware Versions ====
 +
 +{{page>en:lib:mdl:mdl-f-firmvers-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Product Configuration =====
 +==== - Front panel ====
 +
 +{{strumenti:qmoveplus:j1p51:j1p51_front_01.png?nolink&550}}
 +
 +**A)** Function keys and led's\\ **B)** System led's
 +
 +
 +
 +<html><pagebreak /></html>
 +
 +==== - Back terminal blocks ====
 +
 +The J1-P54-F is composed with a "base" card and the "expansion" card.
 +
 +{{  strumenti:qmoveplus:J1P44:J1P44_slots_01.png?nolink&500  }}
 +
 +  * **a** = Base Card
 +  * **b** = Expansion Card
 +
 +<html><pagebreak /></html>
 +
 +====== - Technical Features ======
 +===== - General Features =====
 +
 +{{template>en:lib:tpl:tpl-h-cecargen-010
 +|peso=2.6Kg
 +|mat_contenitore=Metal sheet
 +|mat_pannello=Aluminium
 +|mat_cornice=Self-extinguishing Noryl
 +|display=LCD 10,4'' TFT 256 COLOURS-800 x 600px
 +|touch=4-wire Resistive
 +|dim_display=211.2 x 158.4mm / 10,4"
 +|led_ut=6
 +|led_sys=4
 +|tasti_f=6
 +|tasti_sys=3
 +|temp_ese=0 ÷ 50°C
 +|temp_stoc=-25 ÷ +70   °C
 +|umidita=90% condensate free
 +|altitudine=0 - 2000m s.l.m.
 +|grado_ip=IP64}}
 +
 +===== - CPU (F level technology) =====
 +
 +^RISC microprocessor (32 bit)^^
 +^Work frequency|  200MHz|
 +^RAM|  32MB|
 +^Flash|  16MB|
 +
 +<html><pagebreak /></html>
 +
 +===== - Dimensions=====
 +
 +^:info:^Lengths in mm.^
 +
 +{{  strumenti:qmoveplus:J1P54:J1P54_dimensioni_01.png?direct&600  }}
 +
 +<html><pagebreak /></html>
 +
 +===== - Hole template =====
 +
 +{{strumenti:qmoveplus:j1p51:j1p51_dima.png?nolink&650 |}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Installation =====
 +
 +{{page>en:lib:mdl:mdl-h-mcinstal-010}}
 +
 +<html><pagebreak /></html>
 +
 +====== - Basic card cabling ======
 +
 +^:tip:^For information about the usable cable sections and the Used connectors, See the Application Note [[en:appnote:an021|AN021]]^
 +.
 +^:tip:^The electrical features are referred to in [[#Electrical features]] section.\\ The connection examples are given in the paragraph [[#Connection examples]]^
 +
 +{{  strumenti:qmoveplus:J1P54:j1P54_scheda-base_01.png?direct&700  }}
 +
 +<html><pagebreak /></html>
 +
 +===== - Power supply =====
 +
 +{{ :strumenti:qmoveplus:j1P44:j1P44_power-supply_01.png?direct&300 |}}
 +
 +{{template>en:lib:tpl:tpl-h-cnalim-010|power=10}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Serial Port Connections =====
 +==== - PROG PORT (USB mini-B) ====
 +
 +{{page>en:lib:mdl:mdl-h-cnprogp-010}}
 +
 +==== - USER PORT ====
 +
 +{{template>en:lib:tpl:tpl-h-cnuserp-010|cnn=CN2|dip=SW2}}
 +
 +<html><pagebreak /></html>
 +
 +==== - AUX2 PORT ====
 +
 +{{template>en:lib:tpl:tpl-h-cnauxp-010|cnn=CN3|dip=SW3}}
 +
 +<html><pagebreak /></html>
 +
 +=== - CANbus PORT ===
 +
 +{{template>en:lib:tpl:tpl-h-cncanp-010|cnn=CN5\\ CAN1 PORT|dipa=JP3|dipb=JP4}}
 +
 +{{template>en:lib:tpl:tpl-h-cncanp-010|cnn=CN4\\ CAN2 PORT|dipa=JP1|dipb=JP2}}
 +
 +<html><pagebreak /></html>
 +
 +==== - ETHERNET port ====
 +
 +{{page>en:lib:mdl:mdl-h-cneth-010}}
 +
 +<html><pagebreak /></html>
 +
 +==== - MMC/SD ====
 +
 +{{page>en:lib:mdl:mdl-h-cnmmc-020}}
 +
 +<html><pagebreak /></html>
 +
 +==== - USB ====
 +
 +{{page>en:lib:mdl:mdl-h-cnusb-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Digital inputs =====
 +==== - 16 PNP digital inputs ====
 +
 +{{template>en:lib:tpl:tpl-h-cndiginp-010|cnna=CN7|cnnb=CN6}}
 +
 +<html><pagebreak /></html>
 +
 +
 +==== - 4 200KHz 2-way counters ====
 +
 +{{template>en:lib:tpl:tpl-h-cncount-031
 +|cnna=CN14
 +|cnnb=CN15
 +|cnnc=CN16
 +|cnnd=CN17
 +|slot=2}}
 +
 +<html><pagebreak /></html>
 +
 +==== - 2 SSI absolute counters ====
 +
 +{{template>en:lib:tpl:tpl-h-cncntssi-020|cnn=CN11}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Analog inputs =====
 +==== - 2 multistandard analog inputs ====
 +
 +{{template>en:lib:tpl:tpl-h-cnaninp-032|cnn=CN13|dipa=SW4|dipb=SW5|slot=2}}
 +
 +<html><pagebreak /></html>
 +
 +
 +===== - Digital outputs =====
 +==== - 16 protected digital outputs ====
 +
 +{{template>en:lib:tpl:tpl-h-cndigout-020|cnna=CN9|cnnb=CN8}}
 +
 +<html><pagebreak /></html>
 +
 +==== - 2 STEP-DIRECTION outputs ====
 +
 +{{template>en:lib:tpl:tpl-h-cnstep-020|cnn=CN10|slot=2}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Analog outputs =====
 +==== - 4 +/-10V, 16bit analog outputs ====
 +
 +{{template>en:lib:tpl:tpl-h-cnanout-020|cnn=CN12|slot=2}}
 +
 +
 +<html><pagebreak /></html>
 +
 +
 +/*--------------------------------------Electrical Features-----------------------------------------*/
 +
 +====== - Electrical Features ======
 +The electrical characteristics of the hardware are given below.\\
 +The maximum and minimum frequencies, and real acquisition times, may depend on eventual additional software filters, for example see the system variable "QMOVE:sys004" at paragraph [[#System Variables]].
 +
 +===== - PROG PORT (USB mini-B) =====
 +
 +{{page>en:lib:mdl:mdl-h-ceprog-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - RS232 =====
 +
 +{{page>en:lib:mdl:mdl-h-cers232-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - RS422 =====
 +
 +{{page>en:lib:mdl:mdl-h-cers422-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - RS485 =====
 +
 +{{page>en:lib:mdl:mdl-h-cers485-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - CAN BUS =====
 +
 +{{page>en:lib:mdl:mdl-h-cecan-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - ETHERNET =====
 +
 +{{page>en:lib:mdl:mdl-h-ceeth-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - MMC/SD =====
 +
 +{{page>en:lib:mdl:mdl-h-cemmc-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - USB =====
 +
 +{{page>en:lib:mdl:mdl-h-ceusb-010}}
 +
 +<html><pagebreak /></html>
 +===== - Standard digital inputs =====
 +
 +{{page>en:lib:mdl:mdl-h-cediginp-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - 2-way counters 200KHz =====
 +
 +{{page>en:lib:mdl:mdl-h-cecount-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - SSI absolute counters =====
 +
 +{{page>en:lib:mdl:mdl-h-cessi-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Analog inputs =====
 +==== - Conversion times ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-100}}
 +
 +==== - Analog input in current configuration 0-20mA ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-040}}
 +
 +<html><pagebreak /></html>
 +
 +==== - Analog Input in Potentiometer configuration ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-050}}
 +
 +<html><pagebreak /></html>
 +
 +==== - Analog Input in Volmetric configuration ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-070}}
 +
 +<html><pagebreak /></html>
 +
 +==== - Analog Input in PT100 configuration ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-080}}
 +
 +<html><pagebreak /></html>
 +
 +==== - Analog Input in Thermocouple configuration ====
 +
 +{{page>en:lib:mdl:mdl-h-ceaninp-090}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Protected digital outputs =====
 +
 +{{page>en:lib:mdl:mdl-h-cedigout-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Stepper motor outputs =====
 +
 +{{page>en:lib:mdl:mdl-h-cestep-020}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Analog outputs =====
 +
 +{{page>en:lib:mdl:mdl-h-ceanout-010}}
 +
 +<html><pagebreak /></html>
 +
 +====== - Connection examples ======
 +
 +===== - CANbus =====
 +
 +{{page>en:lib:mdl:mdl-f-eccan-010}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Digital inputs =====
 +
 +{{  schemi:cbl_in-standard_02.png?nolink&450  |Connection example of standard inputs, and PNP speed input}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Line Driver counter inputs =====
 +
 +{{  schemi:cbl_conteggio-ld_02.png?nolink&400  |Connection example of Line Driver counter}}
 +
 +<html><pagebreak /></html>
 +
 +===== - PNP / Push Pull counter inputs =====
 +
 +{{  schemi:cbl_conteggio-pp-pnp_02.png?directk&400  |Connection example of PNP/Push Pull counter input}}
 +
 +<html><pagebreak /></html>
 +
 +===== - SSI absolute counters =====
 +
 +{{  schemi:cbl_in-ssi_01.png?nolink&600  |Connection example of SSI counter input}}
 +
 +<html><pagebreak /></html>
 +===== - Analog inputs =====
 +
 +==== - Potentiometric input 1 and voltmetric input 2  ====
 +
 +{{  schemi:cbl_in-volt-pot_03.png?nolink&400  }}
 +
 +<html><pagebreak /></html>
 +
 +==== - PT100 input 1 and amperometric input 2 ====
 +
 +{{  schemi:cbl_in-amp-pt100_02.png?nolink&400  }}
 +
 +<html><pagebreak /></html>
 +
 +==== - PT100 input 1 and thermocouple input 2 ====
 +
 +{{  schemi:cbl_in-tc-pt100_01.png?nolink&400  }}
 +
 +<html><pagebreak /></html>
 +
 +==== - Thermocouple inputs 1 and 2 ====
 +
 +{{  schemi:cbl_in-tc-tc_01.png?nolink&400  }}
 +
 +<html><pagebreak /></html>
 +
 +==== - PT100 inputs 1 and 2 ====
 +
 +{{  schemi:cbl_in-pt100-pt100_01.png?nolink&400  }}
 +
 +<html><pagebreak /></html>
 +
 +
 +===== - Protected digital outputs =====
 +
 +{{  schemi:cbl_out-protette_04.png?nolink&400  |Connection example of protected outputs}}
 +
 +<html><pagebreak /></html>
 +
 +===== - STEP - DIRECTION outputs =====
 +
 +{{  schemi:cbl_stepper_pp-ld_01.png?nolink&550  |Connection example of stepper motor control outputs}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Analog outputs =====
 +
 +{{ schemi:cbl_out-analogic_03.png?nolink&400 |Connection example of analog outputs}}
 +
 +<html><pagebreak /></html>
 +
 +
 +
 +====== - Settings, procedures and signals ======
 +
 +{{strumenti:qmoveplus:j1P44:j1P44_settaggi_01.png?direct&500|Rear view to indentify the device illustrated in this section}}
 +
 +===== -  PROG PORT and USER PORT baud-rate selector =====
 +
 +{{page>en:lib:mdl:mdl-h-sebaud-030}}
 +
 +
 +===== - Led =====
 +
 +{{template>en:lib:tpl:tpl-h-seled-010|prd=j1P44}}
 +
 +<html><pagebreak /></html>
 +
 +===== - Keys =====
 +
 +{{template>en:lib:tpl:tpl-h-sepuls-010|prd=j1P44}}
 +
 +<html><pagebreak /></html>
 +
 +====== - General Operation ======
 +===== - Introduction =====
 +
 +This chapter introduces some concepts and describes some of the product's operations. These content are partly related and implemented in the firmware. This software implements all the features that allow the product to be a component of the Qem programmable system named Qmove. 
 +
 +===== - Organization of data and memories =====
 +
 +{{page>en:lib:mdl:mdl-f-orgdatmem-010}}
 +
 +===== - CPU status =====
 +{{page>en:lib:mdl:mdl-f-scintr-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scboot-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scautodiagn-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scsysboot-020}}
 +
 +{{page>en:lib:mdl:mdl-f-scfunsis-010}}
 +
 +{{page>en:lib:mdl:mdl-f-screset-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scready-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scrun-010}}
 +
 +{{page>en:lib:mdl:mdl-f-scstop-010}}
 +
 +===== - System Functions =====
 +
 +{{page>en:lib:mdl:mdl-f-fselenco-011}}
 +
 +==== - Accessing to the system functions ====
 +
 +{{template>en:lib:tpl:tpl-f-fsproced-010|key=F2|page=2}}
 +
 +{{page>en:lib:mdl:mdl-f-fsmsgerr-010}}
 +
 +==== - Functions description ====
 +
 +{{page>en:lib:mdl:mdl-f-fsreschk-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsmctona-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsnatomc-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsappdel-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsappupl-010}}
 +
 +=== System Settings ===
 +
 +{{template>en:lib:tpl:tpl-f-fssysset-010|key=F2|page=2}}
 +
 +{{page>en:lib:mdl:mdl-f-fsdatomc-010}}
 +
 +=== Set NEW Password ===
 +
 +{{template>en:lib:tpl:tpl-f-fssetpsw-010|page=2}}
 +
 +{{page>en:lib:mdl:mdl-f-fsremnan-010}}
 +
 +=== Show NAND Flash files ===
 +
 +{{template>en:lib:tpl:tpl-f-fsshonan-010|key=F2|key_vis=F2}}
 +
 +{{page>en:lib:mdl:mdl-f-fstouch-011}}
 +
 +=== Set Ethernet communic. parameter ===
 +
 +{{template>en:lib:tpl:tpl-f-fsseteth-010|key=F2|page=2}}
 +
 +{{page>en:lib:mdl:mdl-f-fsbacnan-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsrstnan-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsfwupg-010}}
 +
 +{{page>en:lib:mdl:mdl-f-fsbacres-010}}
 +
 +===== - Information on programming =====
 +
 +This chapter outlines all product information that is necessary for programming, in other words during the development of a QCL application. 
 +
 +==== - Development Environments ====
 +
 +{{template>en:lib:tpl:tpl-s-ipambsvi-010|hw_slots=3|can_ini=4|can_max=32}}
 +
 +A typical BUS declaration to use in the BUS section of the configuration unit:
 +<code QCL>
 +BUS
 +   1 1P54F 10
 +   2 1QM4F .
 +</code>
 +The firmware version must naturally correspond and the specialist card name at slot 3 must be correct. See the specific section.
 +
 +==== - Memories used ====
 +
 +{{template>en:lib:tpl:tpl-s-ipmemuti-010|mem_qcl=1MB|mem_hmi=10MB|mem_dat=819KB}}
 +
 +==== - Communication ports ====
 +
 +{{template>en:lib:tpl:tpl-s-ipcom-010|ports=AUX2 (se disponibile nell'hardware)|dip=3|page=2}}
 +
 +==== - Firmware error messages ====
 +
 +{{template>en:lib:tpl:tpl-s-ipfirerr-010|slot=3}}
 +
 +{{page>en:lib:mdl:mdl-s-ipvarsis-010}}
 +
 +==== - The devices ====
 +
 +The term device identifies a category of software devices designed to perform more or less complex support and control actions, to solve problems tied to the automation of systems. There are two types of device: internal and external. Internal devices have their codes residing and performed by the firmware of the actual product. External devices have the code residing and executed in the “intelligent” specialist cards that have their own calculation capability. The controller can only manage internal type devices . The list of devices implemented in the firmware depends on the firmware **version**. This paragraph is designed to illustrate the list and characteristics of the devices available.
 +
 +Firmware version **10** implements the following devices: 
 +^Device name^Sampling time\\ minimum (msec)^Sampling time\\ maximum (msec)^Execution time (%)^
 +|[[en:Software:devices:ABSCNT]]|1|250|8,31|
 +|[[en:Software:devices:ANINP]]|1|250|14,25|
 +|[[en:Software:devices:CALENDAR]]|-|-|0|
 +|[[en:Software:devices:CANOPEN]]|1|250|100|
 +|[[en:Software:devices:COUNTER3]]|1|250|5,94|
 +|[[en:Software:devices:DAC]]|-|-|0|
 +|[[en:Software:devices:DATASTORE]]|1|20|8,31|
 +|[[en:Software:devices:FREQ]]|1|250|4,75|
 +|[[en:Software:devices:MMIQ2]]|1|10|90,5|
 +|[[en:Software:devices:MODBUS]]|1|250|32,07|
 +|[[en:Software:devices:QMOS]]|-|-|0|
 +|[[en:Software:devices:RECDATA]]|1|250|5,34|
 +|[[en:Software:devices:SERCOM]]|1|250|9,26|
 +
 +Firmware version **20** implements the following **extra** devices: 
 +^Device name^Sampling time\\ minimum (msec)^Sampling time\\ maximum (msec)^Execution time (%)^
 +|[[en:Software:devices:ANPOS2]]|1|250|8,31|
 +|[[en:Software:devices:EANPOS]]|1|250|55,94|
 +|[[en:Software:devices:HEAD2]]|1|250|23,75|
 +|[[en:Software:devices:OOPOS3]]|1|250|27,91|
 +
 +Firmware version **30** also implements the following devices:
 +^Device name^Sampling time\\ minimum (msec)^Sampling time\\ maximum (msec)^Execution time (%)^
 +|[[en:Software:devices:CAMMING3]]|1|250|55,94|
 +|[[en:Software:devices:INTERP]]|1|250|35,63|
 +
 +=== - Details of devices ===
 +
 +This section describes additional device information. This information complements and completes the user manual of the device available at Qem site. Are information about the device implementation in this particular product.\\
 +
 +== - CANOPEN ==
 +
 +If the device declaration [[en:Software:devices:CANOPEN]] Zero speed is indicated then it becomes settable by dip of SW1.\\ 
 +The first slot to address resources to CANopen modules is the 4.\\ 
 +The firmware manages the capture of the input in interruption even if it is located in a CANopen module.\\ 
 +You can enter the value 2 in the device declaration on the Port field. This setting makes it possible to drive startups DS402 through a QCL request (QDO number 10). This feature makes it necessary to In cases where there are drives without enabling input and with the power of the logic part in common with power supply. If the power is off, the drive does not communicate in CANopen as the logic part is also off.
 +
 +==DATASTORE==
 +
 +The files processed by the device [[en:Software:devices:DATASTORE]] are all contained in the /DS directoty. If this directory does not exist, it is created automatically. 
 +The device [[en:Software:devices:DATASTORE]] can operate both with the MMC/SD card and with the internal NAND memory (not removable). To define which mass memory to operate the priority paramenter is used (0=MMC/SD, 1=NAND).
 +If the application has to access the two supported devices frequently and the physical removal of the MMC/SD card is not required, a special setup can be used for the priority parameter that avoids having to continuously run the memory MOUNT UMOUNT. In pratice, when wanting to change memory, before running the UMOUNT command, set "priority = -1". This avoids the UMOUNT phase is avoided in the device, making the next MOUNT command to the memory very fast.
 +
 +An example of QCL code to change device: : 
 +
 +<code QCL>
 +SUB SETMMC
 +  WAIT NOT data.st_busy
 +  IF data.st_mount
 +    data.priority = -1
 +    data.UMOUNT
 +    WAIT NOT data.st_mount
 +    CALL CHECK_ERR_WRN
 +  ENDIF
 +  data.priority = 0
 +  data.MOUNT
 +  WAIT data.st_mount
 +ENDSUB
 +  
 +SUB SETNAND
 +  WAIT NOT data.st_busy
 +  IF data.st_mount
 +    data.priority = -1
 +    data.UMOUNT
 +    WAIT NOT data.st_mount
 +    CALL CHECK_ERR_WRN
 +  ENDIF
 +  data.priority = 1
 +  data.MOUNT
 +  WAIT data.st_mount
 +  CALL CHECK_ERR_WRN
 +ENDSUB
 +</code>
 +
 +There is a particular setting of the parameters that allows to check the existence of a file in the device. Use the "filenum" parameter set to -1 and with the OPENFILE command the device, instead of opening the file, it searches for the first file in the "/DS/" directory of the selected memory. When it is found, the file name is set by the device in the parameter "filenum" (and its type in the parameter "filetype"). Setting -1 in "filenum" again and running the OPENFILE command, the next file name is found and so on. Every time an OPENFILE operation is run with filenum different to -1, the search loog is closed. When the search has ended and there are no more files present, then the device will set as answer to the command OPENFILE "filenum = -2". The execution of the command is signalled by the flag st_busy = 0. 
 +If the file extension is not HEX or CSV, the file is ignored by the search. If the file name is not compatible with those managed by [[en:Software:devices:DATASTORE]] (numbers 0 to 9999999) then "filenum" will remain set to -1 and a warning is given.
 +
 +The "disksize" and "diskfree" parameters are represented in KB.
 +==RECDATA==
 +
 +The device can store up to 10000 step.
 +
 +== - QMOS ==
 +
 +The parameter "frwuvalue01" contains the number value of the product serial number.
 +The parameter "frwuvalue02" contains the number value of PN (Part Number).\\ 
 +The parameter "frwuvalue03" contains the number value of hardware release.\\ 
 +The parameter "frwuvalue04" contains the number value of VN (Vedi Nota).\\ 
 +The parameter "frwuvalue05" contains the number value of QCL Level.
 +
 +==FREQ==
 +Per definire l'ingresso associato al device [[Software:devices:FREQ]] utilizzare l'apposito campo numerico nella dichiarazione del device. La disponibilità di ingressi in frequenza deve essere verificata con la versione hardware del prodotto. Per ricavare la relazione tra valore numerico e pin del morsetto utilizzare le informazioni contenute nella colonna "Indirizzo" nelle tabelle di illustrazione del morsetto. 
 +
 +==CAMMING3==
 +
 +The parameters related to the sectors (CodeQm, CodeQs…) are not retentive. On startup they always take on the value 0. .
 +
 +<html><pagebreak /></html>
 +
 +====== - Accessories available ======
 +
 +  * [[en:Strumenti:Accessori:IQ009]]
 +  * [[en:Strumenti:Accessori:IQ013]]
 +  * [[en:Strumenti:Accessori:IQ011]]
 +  * [[en:Strumenti:Accessori:IQ016]]
 +  * [[en:Strumenti:Accessori:kit polarizzazione connettori|Connector polarisation kit]]
 +  * [[en:Strumenti:Accessori:kit personalizzazione pannello|Front panel custom decal kit]]