OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)
description
Transcript of OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)
![Page 1: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/1.jpg)
18/04/2005 OTB CANopen Analog modules configuration
OTB Analog module: Input configurationwith TSX PREMIUM (TSXCPP110)
![Page 2: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/2.jpg)
18/04/2005 OTB CANopen Analog modules configuration
TSX-CPP110
OTB1C0DM9LP+
Ex. :TWDAMI2HT
Ex:
![Page 3: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/3.jpg)
18/04/2005 OTB CANopen Analog modules configuration
![Page 4: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/4.jpg)
18/04/2005 OTB CANopen Analog modules configuration
TWDAMI2HT (informations)
![Page 5: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/5.jpg)
18/04/2005 OTB CANopen Analog modules configuration
N = 0,1,…
N
Pour notre configuration:objet 2100H Index0 = 1 (voies analogiques)
0 , 2 ou 3
![Page 6: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/6.jpg)
18/04/2005 OTB CANopen Analog modules configuration
N = 0,1,…
N
For our configuration:object 2100H Index0 = 1 (analog channels)
0 , 2 ou 3
![Page 7: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/7.jpg)
18/04/2005 OTB CANopen Analog modules configuration
TWDAMI2HT (Configuration example)
![Page 8: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/8.jpg)
18/04/2005 OTB CANopen Analog modules configuration
![Page 9: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/9.jpg)
18/04/2005 OTB CANopen Analog modules configuration
6
6
6
PDO configuration (Objects to be exchanged/Objets à échanger):
![Page 10: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/10.jpg)
18/04/2005 OTB CANopen Analog modules configuration
NODE Configuration:Objects exchanged/Objets échangés
![Page 11: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/11.jpg)
18/04/2005 OTB CANopen Analog modules configuration
6
6
![Page 12: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/12.jpg)
18/04/2005 OTB CANopen Analog modules configuration
6
![Page 13: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/13.jpg)
18/04/2005 OTB CANopen Analog modules configuration
6
![Page 14: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/14.jpg)
18/04/2005 OTB CANopen Analog modules configuration
The analog values are stored in the memorywords. 2 possibilities to update these words:- change in value or event the object 6423H has to configured for it into Syconsoftware (see next pages).
![Page 15: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/15.jpg)
18/04/2005 OTB CANopen Analog modules configuration
Les valeurs analogiques sont stockées dans la mémoire de mots %MW.2 possibilités pour les rafraichir:- sur changement de valeur ou événement L ’objet 6423H doit être configuré dans le logiciel Sycon (voir page suivante).
![Page 16: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/16.jpg)
18/04/2005 OTB CANopen Analog modules configuration
![Page 17: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/17.jpg)
18/04/2005 OTB CANopen Analog modules configuration
(* Request to read one word / Requête de Lecture d’un mot *)
(* Address of exchange manager : ADR#0.1.SYS Address of variable to be read : %MD3220 Adresse de la variable à lire
Address of CANopen slave : 6 Adresse de l’esclave CANopen
Value of variable read : %MW3222:1
Report of exchange : %MW3260:4 Compte rendu d’échange *)
(* Read command AND Service inactive *)IF %M104 AND NOT %MW3260:X0 THEN
%MW3263:=2; (* Time-out = 200ms *)READ_VAR(ADR#0.1.SYS,'SDO',%MD3220,6,%MW3222:1,%MW3260:4);RESET %M104; (* Reset read command *)
END_IF;
%MW3220 = Index = 16#6401 %MW3221 = Sub-Index = 16#0001%MW3220 = Index = 16#6401 %MW3221 = Sub-Index = 16#0001
To read the analog input channel 0 of slave 6:Pour lire la valeur analogique de la voie 0 de l ’esclave 6:
![Page 18: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/18.jpg)
18/04/2005 OTB CANopen Analog modules configuration
A solution to optimize the analog value refreshment:Une solution pour optimiser les rafraichissement d ’une valeur analogique:
The object 6421H defines the event which will trigger a PDO send ( if the object 6423H isTRUE), you can select a delta value between 2 values before sending a new information tp the PLC.If the object 6423H is set to FALSE we have the risk to overload the communication.
L ’objet 6421H défini l'évènement qui déclenchera l'émission du PDO (si le sous-indexcorrespondant dans l'objet 6423H est VRAI), il est possible de sélectionner une valeur de delta entre 2 valeurs avant de transmettre à l ’automate la nouvelle mesure.Si l ’object 6423H est positionné sur FAUX il y a des risques de surcharge de la communication.
Bit 2 = 1(delta)
![Page 19: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/19.jpg)
18/04/2005 OTB CANopen Analog modules configuration
Value of the delta 10HValeur du delta 10H
![Page 20: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/20.jpg)
18/04/2005 OTB CANopen Analog modules configurationPLC / API
debug screen
In this case the analogvalue changed many timesand becomes fixed: 03CFH
Dans cette exemple la valeuranalogique a changée plusieurs fois avant de se stabiliser à lavaleur 03CFH
![Page 21: OTB Analog module: Input configuration with TSX PREMIUM (TSXCPP110)](https://reader036.fdocuments.us/reader036/viewer/2022062323/5681572c550346895dc4c82f/html5/thumbnails/21.jpg)
18/04/2005 OTB CANopen Analog modules configuration
When the analog value is fixed or if the delta is not reached no more T PDO is send by the node.
Lorsque la valeur analogique est fixe ou que le delta n ’est pas atteint, plus aucune T PDO n ’estenvoyée par l ’esclave.