Features of the SMC analyzer
Supported PLC versions
SMC 25
SMC 35
SMC 50
SMC 600
Supported PLC programming workbench
The PLC workbench supported are “VPeSOFT” and “EDIDOS”.
The SMC analyzer uses the original files of the old workbench running under MS-Dos.
The name of the application is indicated by the name of the project directory. In this directory, each file has a name set by the workbench.
Workbench VPe SOFT
NB: VPeSoft doesn't allow comments in the Calculation section
Workbench Edidos
MNEMO.SAV : variables names and comments
COMCAL.SAV : calculation code section comments
PIPC.SAV : sequential code section comments
SMC languages supported
The following SMC languages are analyzed:
Sequential Language :
c.f. document April “automate programmable SMC600 ref: F - AP600 - 09/87” , pages C1 to C32
Calculation Language :
c.f. document April “automate programmable SMC600 ref: F - AP600 - 09/87” , pages C34 to C87
Extension arithmetic calculation :
c.f. document April “Module unité arithmétique et logique ref: F - UAF 600 - 11/86”
Support of objects
Timer, Monostable, Counter, Register, Step by Step
Support of functions
All the SMC functions are understand by the analyzer.
There is three types of code comment. Only the cartridge comment are not translated :
Page comment: associated to one or more sequences or lines, and displayed in top right corner:
my page comment
S5 ----------------|CPT1|----------------------|ACT1|
E0 E1
S6 ----------------|CPT2|----------------------|ACT2|
E3 E4
cartridge comment: comment in the cartridge in footer of the file. This comment generate an automatic page break when printing the file.
example cartridge after S4
______________________
\° °\
\° °\
\° S1 °\
\° S2 °\
\°_S3________________°\
/° °/
/° S4 °/
/° °/
/° ____________ °/
/° / CARTRIDGE / °/
----------------------
line comment: appears in Calculation lines chart.
Specification
The SMC analyzer translates:
The sequential and Calculation programs
The data-base with mnemonics and comments
SMC source Files
BOOL.* - Mandatory File
CALC.* - Optional File
Content: Program with calculation instructions.
When this file is not present : The translation may not function properly. It may happen that some codes have no part calculation. But this is very rare.
How do I get this file? : This file is part of the SMC application directory for either workbench EDIDOS or VPeSoft
MNEMO.CLE - Optional File
Content: Index of mnemonics in the file that contains the mnemonics
When this file is not present : No variables name in the program. The variable name is built from the address. Example : R478 ⇒ R_478
How do I get this file? : This file is part of the SMC application directory for workbench VPeSoft
MNEMO.* - Optional File
Content:
When this file is not present : No variables name in the program. The variable name is built from the address. Example : R478 ⇒ R_478
How do I get this file? : This file is part of the SMC application directory for either workbench EDIDOS or VPeSoft
PIPC.DAT - Optional File
Content: Comments of sequential code
When this file is not present : The translated codes don't have code comments.
How do I get this file? : This file is part of the SMC application directory for workbench VPeSoft
PIPC.IDX - Optional File
Content: Index for sequential code comments
When this file is not present : The translated codes don't have comments.
How do I get this file? : Part of VpeSoft SMC Project
COMCAL.SAV - Optional File
Content: Comments for calculation code.
When this file is not present : The translated codes don't have comments.
How do I get this file? : This file is part of the SMC application directory for workbench EDIDOS
PIPC.SAV - Optional File
Content: Comments for sequential code.
When this file is not present : The translated codes don't have comments
How do I get this file? : This file is part of the SMC application directory for workbench EDIDOS
TC.DAT - Optional File
TC.SAV - Optional File
ADC.SAV - Optional File
Content: Meta-Information (Start_Constant_Memory, Last_Seq_Memory, Last_Calc_Memory) for spare memory calculation
When this file is not present : The translated program doesn't contain this information
How do I get this file? : This file is part of the SMC application directory for workbench EDIDOS
CART.SAV - Optional File
Content: Cartridge of the program documentation
When this file is not present : The translated program doesn't use this information
How do I get this file? : This file is part of the SMC application directory for workbench EDIDOS
Limitations
The automatic converting tools do not replace the expertise of an automatician. Thus, without exception, all the special features, the communications, the trades apps are not translated. In addition, in all cases, full code review is necessary before restarting .
In case of SMC to Unity-Pro conversion, problems that can occur are:
No Import of files containing the initial values of constants.
No management of memory zones with a double addressing bit/word.
Indirect jumps are not taken into account
No resolution of labels declared in double
Indirect addressing is not fully supported
No distinction between different ranges of PLCs and their memories organization: not automatically taken into account the specific characteristics of different memory models (B-flops bits of the SMC 35, etc …).
Conversion report messages
This section lists all the messages that are part of the conversion report.
For each message corresponding to a different number, variants of the error are listed.
Different messages in the conversion ratio for the SMC Analyzer are divided into: