Mitsubishi Electric Artisan MELSEC-Q Series Manual page 139

General-purpose programmable controllers, large/small
Table of Contents

Advertisement

7.1 Replace instructions with different QCPU instruction format (excluding AnACPU/AnUCPU dedicated instructions)
(2) Occupied device points
The "ASC" instruction in ACPU occupies 4 words. The number of device points occupied by the "$MOV"
instruction in QCPU may change according to the number of characters+1 byte.
When replacing an "ASC" instruction that specifies 8 characters with the "$MOV" instruction in QCPU, the
number of occupied points increases because the stored ASCII code occupies 4 devices + 1 word (delimiter
"00H"). If the additional device was being used for other purposes, its content will clear to "0000H".
Modification is necessary when the devices used by the "ASC" instruction +1 are used for other operations.
(Example of stored data)
(1) 5 characters
ACPU: (ASC 1234A D0)
QCPU: ($MOV "1234A" D0)
Device
D0
D1
D2
D3
D4
(2) 8 characters
ACPU: (ASC 1234ABCD D0)
QCPU: ($MOV "1234ABCD" D0)
Device
D0
D1
D2
D3
D4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
ACPU
3231 (H)
3433 (H)
2041 (H)
2020 (H)
No change
ACPU
3231 (H)
3433 (H)
4241 (H)
4443 (H)
No change
136
QCPU
3231 (H)
3433 (H)
0041 (H)
No change
No change
QCPU
3231 (H)
3433 (H)
4241 (H)
4443 (H)
0000 (H)

Advertisement

Table of Contents
loading

Table of Contents