Migration tsx m340 or m580

From pl7

  1. -export .fef from pl7

M340

  1. Create m340 project
  2. Menu/Outils/Options du projet/Général/Configuration/Type de données E/S favori M580 (entrées sorties locales) = Topologique (this ensure you modules are topologie when adding)
  3. add new m340 E/S Modules that equals the tsx one and ensure your modules are topologie and not DDT d'équipement
  4. Menu/Outils/Options du projet/Variables/Variables de tableau représentées directement, cocher la case
  5. Menu/Outils/Options du projet/Variables/Autoriser les tableaux dynamiques, cocher la case
  6. Make the taille de champ d'adresse bigger Double click cpu configuration and make the %mw %M .... bigger same as tsx.
  7. Menu/Outils/Convertir partiellement et charger le .FEF du Premium
  8. Les variables 32 bits %MD %MF remove % from the name and then the software will ask you to give it a variable type
  9. %MF : Réel %MD : Dint
  10. Go to variable table and give them all %MW adresse for ihm (if you migrate ihm too bc u dont need adresses if you make the ihm yourself)
  11. If you have analogic modules double click the module and ensure parametres (la gamme , echelle ,....) are the same as in tsx
  12. If you have some other incompatible adressing just remove the adresse it work without it but care if u need it in ihm (if you migrate ihm too bc u dont need adresses if you make the ihm yourself)

M580

  1. Create m340 project
  2. Menu/Outils/Convertir partiellement et charger le .FEF du Premium
  3. Export Type FB Dériver .xdb files that shows in m340 like (pl7_ton.xdb , pl7_tof.xdb , pl7_tp.xdb , pl7_3_timer.xdb , pl7_counter.xdb , pl7_drum.xdb ,pl7_monostable.xdb )
  4. Create m580 project
  5. import Type FB Dériver
  6. Menu/Outils/Options du projet/Général/Configuration/Type de données E/S favori M580 (entrées sorties locales) = Topologique (this ensure you modules are topologie when adding)
  7. add new m580 E/S Modules that equals the tsx one and ensure your modules are topologie and not DDT d'équipement
  8. Menu/Outils/Options du projet/Variables/Variables de tableau représentées directement, cocher la case
  9. Menu/Outils/Options du projet/Variables/Autoriser les tableaux dynamiques, cocher la case
  10. Make the taille de champ d'adresse bigger Double click cpu configuration and make the %mw %M .... bigger same as tsx.
  11. Menu/Outils/Convertir partiellement et charger le .FEF du Premium
  12. Les variables 32 bits %MD %MF remove % from the name and then the software will ask you to give it a variable type for %MF : Réel and for %MD : Dint
  13. then go to variable table and give them all %MW adresse for ihm to connect with it (if you migrate ihm too bc u dont need adresses if you make the ihm yourself)
  14. If you have analogic modules double click the module and ensure parametres (la gamme , echelle ,....) are the same as in tsx
  15. If you have some other incompatible adressing just remove the adresse it work without it but care if u need it in ihm (if you migrate ihm too bc u dont need adresses if you make the ihm yourself)
  16. Sur le M580 afficher le rack , sur le processeur, clic sur sous ensemble RIO DIO et activer le service TFTP et plus bas cocher la case TFTP (then u have to close the window for it take take action or you will get error when generating)

If you wanna keep old modules

  1. m340 or m580 modules have to be in rack 1 not 0
  2. if u move modules when popup says u wanna deplace variable with the modules say yes
  3. Change rack 1 to tsx.
  4. delete m340/m580 modules and put tsx modules.
  5. now the tsx modules in rack 1 will take variables automatiquely

If you wanna change from old modules to new

  1. tsx modules have to be in rack 1 not 0
  2. if u move modules when popup says u wanna deplace variable with the modules say yes
  3. Change rack 1 to m340 or m580.
  4. delete tsx modules and put m340/m580 modules.
  5. ensure your modules are topologie and not DDT d'équipement
  6. now the m340/m580 modules in rack 1 will take variables automatiquely

From Control expert

  1. -export .fef from pl7
  2. open file in control expert or unity pro
  3. maybe u get error check the .txt file u are told in error popup and then open -fef as text file to fix it.
  4. Use umac the software tell you what to do
  5. Do same thing as in the other methode from pl7 convertion

Avoid misttakes

I/O not assigned to Modules Set I/O type to Topologique in project options
%MD / %MF conversion errors Remove % prefix, assign DINT or Réel manually
HMI tags not connecting Ensure %MD &%MF are asigned to %MW addresses In the program.
Modules not ready (TFTP error on M580 ,....) Close window and save after changing modules.
Analog module wrong scaling ensure scaling and range after changing modules