en:strumenti:qmoveplus:j1p20:mimj1p20fx_base

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:strumenti:qmoveplus:j1p20:mimj1p20fx_base [2016/09/06 09:25] – [8. Accessories] qem103en:strumenti:qmoveplus:j1p20:mimj1p20fx_base [2019/08/29 17:01] (current) – external edit 127.0.0.1
Line 7: Line 7:
 {{page>en:lib:mdl:mdl-g-diritti-010}} {{page>en:lib:mdl:mdl-g-diritti-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ====== Information ====== ====== Information ======
Line 26: Line 26:
 {{page>en:lib:mdl:mdl-h-cemarce-010}} {{page>en:lib:mdl:mdl-h-cemarce-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ====== - Description ====== ====== - Description ======
Line 42: Line 42:
 {{page>en:lib:mdl:mdl-h-mclegeti-010}} {{page>en:lib:mdl:mdl-h-mclegeti-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - Ordering Code ==== ==== - Ordering Code ====
Line 55: Line 55:
  
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - Hardware Versions ==== ==== - Hardware Versions ====
Line 81: Line 81:
 ~~REFNOTES~~ ~~REFNOTES~~
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - Expansion card manuals ==== ==== - Expansion card manuals ====
Line 91: Line 91:
 {{page>en:lib:mdl:mdl-f-firmvers-010}} {{page>en:lib:mdl:mdl-f-firmvers-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Product Configuration ===== ===== - Product Configuration =====
Line 100: Line 100:
 **A)** Function keys and leds\\ **B)** System leds\\ **A)** Function keys and leds\\ **B)** System leds\\
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - Back terminal blocks ==== ==== - Back terminal blocks ====
Line 112: Line 112:
  
  
-<html><pagebreak /></html>+<pagebreak>
  
 ====== - Technical Characteristics ====== ====== - Technical Characteristics ======
Line 141: Line 141:
 ^Flash|  8MB| ^Flash|  8MB|
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Dimensions ===== ===== - Dimensions =====
Line 148: Line 148:
 {{  strumenti:qmoveplus:j1p20:j1p20_dimensioni_01.png?nolink&550  }} {{  strumenti:qmoveplus:j1p20:j1p20_dimensioni_01.png?nolink&550  }}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Hole template ===== ===== - Hole template =====
Line 154: Line 154:
 {{  strumenti:qmoveplus:j1p20:j1p20_dima_01.png?direct&600  }} {{  strumenti:qmoveplus:j1p20:j1p20_dima_01.png?direct&600  }}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Installation ===== ===== - Installation =====
Line 160: Line 160:
 {{page>en:lib:mdl:mdl-h-mcinstal-010}} {{page>en:lib:mdl:mdl-h-mcinstal-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ====== - Base card connections ====== ====== - Base card connections ======
Line 168: Line 168:
 {{  strumenti:qmoveplus:j1p20:j1p20_slot2_02.png?direct&650  }} {{  strumenti:qmoveplus:j1p20:j1p20_slot2_02.png?direct&650  }}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Power supply ===== ===== - Power supply =====
 {{strumenti:qmoveplus:j1p20:j1p20_slot-supply_01.png?150&direct}} {{strumenti:qmoveplus:j1p20:j1p20_slot-supply_01.png?150&direct}}
  
-{{page>en:lib:mdl:mdl-h-cnalim-020}}+{{template>en:lib:tpl:tpl-h-cnalim-010|power=10}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Serial connections ===== ===== - Serial connections =====
Line 188: Line 188:
 |dip=SW2}} |dip=SW2}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - CANbus PORT ==== ==== - CANbus PORT ====
Line 197: Line 197:
 |dipb=JP2}} |dipb=JP2}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - ETHERNET port ==== ==== - ETHERNET port ====
Line 203: Line 203:
 {{page>en:lib:mdl:mdl-h-cneth-010}} {{page>en:lib:mdl:mdl-h-cneth-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ==== - MMC/SD ==== ==== - MMC/SD ====
 {{  strumenti:qmoveplus:j1p20:j1p20_cnn-mmc_01.png?nolink&200  }} Memory card connector (indicated by the arrow) {{  strumenti:qmoveplus:j1p20:j1p20_cnn-mmc_01.png?nolink&200  }} Memory card connector (indicated by the arrow)
  
-<html><pagebreak /></html>+<pagebreak>
  
  
Line 219: Line 219:
 |cnnb=CN5}} |cnnb=CN5}}
  
-<html><pagebreak /></html>+<pagebreak>
  
  
Line 227: Line 227:
 |cnnb=CN10}} |cnnb=CN10}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Digital Outputs ===== ===== - Digital Outputs =====
Line 236: Line 236:
 |cnnb=CN4}} |cnnb=CN4}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Analog Outputs ===== ===== - Analog Outputs =====
Line 245: Line 245:
  
  
-<html><pagebreak /></html>+<pagebreak>
  
 /*-------------------------------------------------- Esempi di collegamento ------------------------*/ /*-------------------------------------------------- Esempi di collegamento ------------------------*/
Line 259: Line 259:
 ^:info:^To activate the internal termination resistance see paragraph  [[#Termination resistor setting]]^ ^:info:^To activate the internal termination resistance see paragraph  [[#Termination resistor setting]]^
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Digital inputs ===== ===== - Digital inputs =====
Line 265: Line 265:
 {{  schemi:cbl_in-standard_02.png?nolink&450  |Esempio di collegamento di ingressi standard, più ingresso veloce PNP}} {{  schemi:cbl_in-standard_02.png?nolink&450  |Esempio di collegamento di ingressi standard, più ingresso veloce PNP}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Line Driver count inputs ===== ===== - Line Driver count inputs =====
Line 271: Line 271:
 {{  schemi:cbl_conteggio-ld_02.png?nolink&400  |Esempio di collegamento di un ingresso di conteggio Line Driver}} {{  schemi:cbl_conteggio-ld_02.png?nolink&400  |Esempio di collegamento di un ingresso di conteggio Line Driver}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - PNP / Push Pull count inputs ===== ===== - PNP / Push Pull count inputs =====
Line 277: Line 277:
 {{  schemi:cbl_conteggio-pp-pnp_02.png?nolink&400  |Esempio di collegamento di un ingresso di conteggio PNP/Push Pull}} {{  schemi:cbl_conteggio-pp-pnp_02.png?nolink&400  |Esempio di collegamento di un ingresso di conteggio PNP/Push Pull}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Digital Outputs ===== ===== - Digital Outputs =====
Line 283: Line 283:
 {{  schemi:cbl_out-protette_03.png?nolink&600  |Esempio di collegamento di uscite protette}} {{  schemi:cbl_out-protette_03.png?nolink&600  |Esempio di collegamento di uscite protette}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Analog Outputs ===== ===== - Analog Outputs =====
Line 289: Line 289:
 {{  schemi:cbl_out-analogic_02.png?nolink&400  |Esempio di collegamento di uscite analogiche}} {{  schemi:cbl_out-analogic_02.png?nolink&400  |Esempio di collegamento di uscite analogiche}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 /*--------------------------------------Electrical Characteristics-----------------------------------------*/ /*--------------------------------------Electrical Characteristics-----------------------------------------*/
Line 302: Line 302:
 {{page>en:lib:mdl:mdl-h-ceprog-010}} {{page>en:lib:mdl:mdl-h-ceprog-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - RS232 ===== ===== - RS232 =====
Line 308: Line 308:
 {{page>en:lib:mdl:mdl-h-cers232-010}} {{page>en:lib:mdl:mdl-h-cers232-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - RS422 ===== ===== - RS422 =====
Line 314: Line 314:
 {{page>en:lib:mdl:mdl-h-cers422-010}} {{page>en:lib:mdl:mdl-h-cers422-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - RS485 ===== ===== - RS485 =====
Line 320: Line 320:
 {{page>en:lib:mdl:mdl-h-cers485-010}} {{page>en:lib:mdl:mdl-h-cers485-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - CAN BUS ===== ===== - CAN BUS =====
Line 326: Line 326:
 {{page>en:lib:mdl:mdl-h-cecan-010}} {{page>en:lib:mdl:mdl-h-cecan-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - ETHERNET ===== ===== - ETHERNET =====
Line 332: Line 332:
 {{page>en:lib:mdl:mdl-h-ceeth-010}} {{page>en:lib:mdl:mdl-h-ceeth-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - MMC/SD ===== ===== - MMC/SD =====
Line 338: Line 338:
 {{page>en:lib:mdl:mdl-h-cemmc-010}} {{page>en:lib:mdl:mdl-h-cemmc-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Digital input ===== ===== - Digital input =====
Line 344: Line 344:
 {{page>en:lib:mdl:mdl-h-cediginp-010}} {{page>en:lib:mdl:mdl-h-cediginp-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Two-way count inputs 200KHz ===== ===== - Two-way count inputs 200KHz =====
Line 350: Line 350:
 {{page>en:lib:mdl:mdl-h-cecount-010}} {{page>en:lib:mdl:mdl-h-cecount-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Protected digital outputs ===== ===== - Protected digital outputs =====
Line 356: Line 356:
 {{page>en:lib:mdl:mdl-h-cedigout-020}} {{page>en:lib:mdl:mdl-h-cedigout-020}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Analog outputs ===== ===== - Analog outputs =====
Line 362: Line 362:
 {{page>en:lib:mdl:mdl-h-ceanout-010}} {{page>en:lib:mdl:mdl-h-ceanout-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
  
Line 375: Line 375:
 {{page>en:lib:mdl:mdl-h-sebaud-020}} {{page>en:lib:mdl:mdl-h-sebaud-020}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - CANbus baud-rate selector ===== ===== - CANbus baud-rate selector =====
Line 381: Line 381:
 {{page>en:lib:mdl:mdl-h-sebaud-010}} {{page>en:lib:mdl:mdl-h-sebaud-010}}
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Led ===== ===== - Led =====
Line 388: Line 388:
  
  
-<html><pagebreak /></html>+<pagebreak>
  
 ===== - Keys ===== ===== - Keys =====
Line 394: Line 394:
 {{template>en:lib:tpl:tpl-h-sepuls-010|prd=j1p20}} {{template>en:lib:tpl:tpl-h-sepuls-010|prd=j1p20}}
  
-<html><pagebreak /></html>+<pagebreak>
  
-====== System functions ======+/*-------------------------------------------------- Generalità di funzionamento ------------------------*/
  
-{{page>en:lib:mdl:mdl-f-funzsis-010}}+====== Operating Overview ====== 
 +===== Foreword ===== 
 +This chapter covers aspects and descriptions of the product functionalities that are often related to the firmware, which enable the functionalities that enable its operation as a QEM Qmove+ programmable system.
  
-===== - System Functions list =====+===== - Data and memories organisation ===== 
 +{{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-010}} 
 + 
 +{{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}} 
 + 
 +==== Access to the System Functions ==== 
 +{{template>en:lib:tpl:tpl-f-fsproced-010|key=F2|page=2}} 
 + 
 +{{page>en:lib:mdl:mdl-f-fsmsgerr-010}} 
 + 
 +==== 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-fsbacres-010}} 
 + 
 +===== - Information of 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 1P20F 10 
 +   2 1MD1F . 
 +</code> 
 +The firmware version must naturally correspond and the specialist card name at slot 3 must be correct. See the right chapter. 
 + 
 +==== Used memories ==== 
 +{{template>en:lib:tpl:tpl-s-ipmemuti-010|mem_qcl=512KB|mem_hmi=1.5MB|mem_dat=400KB}} 
 + 
 +==== Communication ports ==== 
 +{{template>en:lib:tpl:tpl-s-ipcom-010|ports=AUX1 e AUX2|dip=6|page=2}} 
 + 
 +==== Firmware's error message ==== 
 +{{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: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|firmware's error message 
 +|[[en:software:devices:DAC]]|-|-|0| 
 +|[[en:software:devices:DATASTORE]]|1|20|90,5| 
 +|[[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| 
 +|[[en:software:devices:JOINT]][(The effective sampling time is double the actual setting)]|1|250|95,01| 
 +~~REFNOTES~~ 
 + 
 +===Details of devices=== 
 +This section describes additional information about the devices. This information will complement and complete the device of user manual available in the QEM site. Information related to the device in this particular product. 
 + 
 +==CANOPEN== 
 +If the device declaration  [[en:Software:devices:CANOPEN]] indicates the zero speed, then it can be set by SW1 dip's 5 and 7.  
 +The first slot to address resources that reside in Canopen modules is 4. 
 + 
 +==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 "disk size" and "diskfree" parameters are represented in KB. 
 + 
 +==RECDATA== 
 +The device can memorise up to 10000 step. 
 + 
 +==QMOS== 
 +The parameter "frwuvalue01" contains the number value of the product serial number. 
 + 
 +==FREQ== 
 +To define the input associated to the device [[en:Software:devices:FREQ]] use the number field provided in the device declaration. The availability of frequency inputs has to be checked with the hardware version of the product. To ricavare the relation between number and terminal pin, use the information  contained in the "Address" column given in the terminal tables.  
 + 
 +==CAMMING3== 
 +The parameters related to the sectors  (CodeQm, CodeQs…) are not retentive. On startup they always take on the value 0. 
 + 
 +<pagebreak>
  
-{{page>en:lib:mdl:mdl-f-fselenco-010}} 
  
 ====== - Accessories available ====== ====== - Accessories available ======
  • Last modified: 2019/08/29 17:19