Mitsubishi Electronics C6 Home Safety Product User Manual


 
1. PLC Development Environment Using GX Developer
1.6 PLC4B PLC Development Environment (M500) and Differences
- 47 -
1.6.2 PLC Commands
Some commands have been changed because the user PLC development environment using the
MELSEC PLC development tool has been supported in C64 series.
The command range that can be used in the MELSEC-QnA Series PLC program differs from the
command range that can be used by the MELDAS Series. Because of this, some commands that
can be used by the C64 series cannot be handled with the GX Developer. There are also
commands that can be used by the GX Developer but cannot be used by the C64 series.
When these are arranged, they are classified into the three following types.
• C64 series commands that cannot be handled with the GX Developer
• C64 series commands that the format differs from that of the GX Developer
• Commands that can be used by the GX Developer, but cannot be used by the C64 series
(1) Commands that cannot be Handled with the GX Developer
Commands that cannot be handled with the GX Developer are substituted with alternate commands
that can be handled with the GX Developer. Commands that can be alternated are shown in "Table
of alternate command correspondence" as below.
When some commands described in "Table of alternate command correspondence" are created
with the GX Developer with the C64 series command sign left as is, an error results and creation
cannot be carried out. Create the commands using the GX Developer command sign described in
the correspondence table.
When PLC programs containing alternate commands are written from the GX Developer to the C64
series, they are rewritten to the original MELDAS Series commands.
Table of alternate command correspondence
Original MELDAS Series command GX Developer command
Classification
Command
sign
Symbol
Command
sign
Symbol
Bit DEFR
[ DEFR D ]
ANDP
D
Average value AVE
[ AVE S D n ]
S.AVE
[ S.AVE S D n ]
Carry flag set STC
[ STC ]
S.STC
[ S.STC ]
Carry flag reset CLC
[ CLC ]
S.CLC
[ S.CLC ]
ATC ATC
[ ATC Kn Rn Rm ]-< Mm >
S.ATC
[ S.ATC Kn Rn Rm Mm ]
ROT ROT
[ ROT Kn Rn Rm ]-< Mm >
S.ROT
[ S.ROT Kn Rn Rm Mm ]
TSRH TSRH
[ TSRH Rm Rn ]-< Mn >
S.TSRH
[ S.TSRH Rm Rn Mn ]
DDBA DDBA
[ DDBA Rn / Dn ]
S.DDBA
[ S.DDBA Rn / Dn ]
DDBS DDBS
[ DDBS Rn ]
S.DDBS
[ S.DDBS Rn ]
LDBIT
[ BIT S1 n ]
LD<=
[ < = S1 n ]
ANDBIT
[ BIT S1 n ]
AND<=
[ < = S1 n ]
ORBIT [ BIT S1 n ] OR<= [ < = S1 n ]
LDBII
[ BII S1 n ]
LD<>
[ < > S1 n ]
ANDBII
[ BII S1 n ]
AND<>
[ < > S1 n ]
BIT
ORBII [ BII S1 n ] OR<> [ < > S1 n ]
BCD decode BDECO
[ BDECO S D n ]
S.BDECO
[ S.BDECO S D n ]