Mitsubishi Electronics C6 Home Safety Product User Manual


 
Appendix 3. PLC Development Environment using GPPQ
3.7 Differences From The M500 PLC Development Environment
- 464 -
3.7 Differences From The M500 PLC Development Environment
3.7.1 PLC Commands
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 C64. Because of this, some commands that can be used
by the C64 cannot be handled with the GPPQ. There are also commands that can be created with
the GPPQ but cannot be used by the C64. When these are arranged, they are classified into the
three following types.
• C64 commands that cannot be handled with the GPPQ
• C64 commands that the format differs from that of the GPPQ
• Commands that can be used with the GPPQ, but cannot be used by the C64
(1) C64 Commands that cannot be Handled with the GPPQ
Commands that cannot be handled with the GPPQ are substituted with alternate commands that
can be handled with the GPPQ. Commands that can be alternated are shown in "Table of alternate
command correspondence".
When some commands described in "Table of alternate command correspondence" as below are
created with the GPPQ with the C64 command sign left as is, an error results and creation cannot
be carried out. Create the commands using the GPPQ command sign described in the
correspondence table.
When PLC programs containing alternate commands are written from the GPPQ to the C64, they
are rewritten to the original MELDAS commands. Consequently, these commands appear in a
different format in the GPPQ and C64 onboard ladder monitor when PLC programs containing
alternate commands are monitored.
Table of alternate command correspondence
C64 command GPPQ command
Classifi-
cation
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 ]-< Mm >
S.TSRH
[ S.TSRH Rm Rn Mn ]
DDBA DDBA
[ DDBA Rn/Dn ]-< Mm >
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 ]