Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 27 of 29

AnS(H) CPU User's Manual: APPENDICES, pages 217 to 226

Pages 217 to 226 of 242, from AnS(H) CPU User's Manual

The original document is the PDF (3.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Mitsubishi A1S38

Page 217

APPENDICES

MELSEC-A

Appendix 3.2 Dissimilarities between A2SHCPU(-S1) and A2SCPU The dissimilarities between the A2SHCPU(-S1) and A2SCPU are as follows : Item 1

CPU processing speed *1

2

I/O points

3

File register capacity (R)

A2SHCPU(-S1)

A2SCPU

0.25 µs

1 µs

2048 points *2

512 points

Max. 8192 points (R0 to 8191)

Max. 4096 points (R0 to 4095) None

4

CC-Link dedicated instruction

11

5

Startup model

A3

A2

6

Microcomputer program

There are some restrictions.

There is no restrictions.

7

Conventional memory cassette A2SMCA-14KE/14KP

×

ϒ

New-type memory cassette A2SNMCA-30KE

ϒ

ϒ

Year, month, day, hour, minute, day of week (Automatic leap year calculation) 8

Precision -3.1 to +5.3 s(TYP. +1.7 s)/d at 0 °C -1.6 to +5.3 s(TYP. +2.4 s)/d at 25 °C -9.6 to +3.6 s(TYP. -2.1 s)/d at 55 °C

Clock precision

Precision -2.3 to +4.4 s(TYP. +1.8 s)/d at 0 °C -1.1 to +4.4 s(TYP. +2.2 s)/d at 25 °C -9.6 to +2.7 s(TYP. -2.4 s)/d at 55 °C

*1 : I/O processing : during refresh and LD instruction execution *2 : Actual I/O points are the same as the AnS series, but this model has 2048 points of I/O device for each CPU (X/Y0 to 7FF). The added I/O device can be used for MELSECNET (/B), MELSECNET/MINI, or CC-Link.

Appendix 3.3 Precautions when Switching the Model Appendix 3.3.1

PC type setting The PC type becomes "A3" to enable the use of 2048 input device points X/Y, file register R8192 points and LEAD/LEDB instructions.

Appendix 3.3.2

The precaution when performing the ROM cutoff When performing the ROM cutoff of A1SJHCPU and A1SHCPU with SW4GPGPPA, the startup model must be changed as following. Startup model Before software version Q

A0J2H

Aafter software version R

A1S

APP - 61

Page 218

APPENDICES Appendix 3.3.3

MELSEC-A

The precaution when utilizing the sequence program In case of utilizing the sequence program, the parameter must be set again as the parameter goes back to the initial setting when performing the change of the PC type.

Appendix 3.3.4

System comfirmation by high-speed instruction processing Comfirm effects on the user system by the instruction processing speed and the reduction of the scan time.

Appendix 3.3.5

Handling conventional memory cassettes Conventional memory cassettes A1SMCA-2KE/8KE/8KP (for A1SCPU) and A2SMCA-14KE (for A2SCPU) cannot be used for A1SHCPU and A2SHCPU. (Used only for A1SJHCPU) The new type memory cassettes A1SNMCA-2KE/8KE/8KP (for A1SJHCPU/A1SHCPU) and A2SNMCA-3KE (for A2SHCPU) should be used.

Appendix 3.3.6

Switching from the A2SMCA-14KP (when A2SCPU + A2SMCA-14KP has been used) When A2SHCPU + A2SNMCA-30KE was switched, *1 area cannot be used as the extension file register. When *1 area has been used as the extension file register, the system of A2USCPU(-S1) + A2SMCA-14KP should be used.

(a) In RAM operation

(b) In E2PROM operation Parameter area T/C set values area

ROM memory capacity (max. 64 k bytes)

Sequence program are (required min. 1 k step)

Not usable Stored in ROM 1 k byte

Parameter area T/C set values area

1 to 14 k steps (2 to 28 k bytes)

Sequence program are (required min. 1 k step)

3 k bytes Memory write protect range (32 k bytes)

Internal RAM memory area (64 k bytes)

Microcomputer program area

Unused *1 Not usable (used by system)

Microcomputer program area

Unused

Unused

Extension file register area

Extension file register area

Sampling trace area Status latch area File register area Comment area

Sampling trace area Status latch area File register area Comment area

APP - 62

Usable with SW0GHPULTP-FN1.

Page 219

APPENDICES Appendix 3.3.7

MELSEC-A

Restrictions in microcomputer programs When a customer used the microcomputer mode, the following changes are made in the microcomputer instructions.

Change points by switching to AnSHCPU from AnSCPU When REP LODSW and REP LODSB instructions are used

AnSCPUThe ................ contents of a memory shown by the S1 register for the number of times specified in CX register,, are transfered to the register of AL (8 bits operation) or AX (16 bits operation). Aafter the instructions have been executed, the CX register value becomes 0. AnSHCPU.................... The contents of a memory shown only once by the S1 register regardless of the value of the CX register,, are transfered to the register of AL (8 bits operation) or AX (16 bits operation). After the instructions have been executed, the CX register value does not change.

Corrective action method The following example for the program should be revered.

Program example

STD MOV CX.3 REP LODSB

→

A:

STD MOV CX.3 LODSB Loop A

Appendix 4 CE Marking Compatible Module for Compact PC

Function

CPU module

Power supply module

Input module

Output module

Specification

A1SHCPU

See the performance specification in Section 4.4.1. Number of I/O points : 256,, memory capacity : 64 k bytes

A1SJHCPU

See the performance specification in Section 4.4.1. Number of I/O points: 256,, memory capacity : 64 k bytes

A2SHCPU

See the performance specification in Section 4.4.1. Number of I/O points : 512,, memory capacity : 64 k bytes

A2SHCPU-S1

See the performance specification in Section 4.4.1. Number of I/O points : 1024,, memory capacity : 192 k bytes

A1S61PEU

200 to 240 V AC input, 5 V DC 5 A output

A1S62PEU

200 to 240 V AC input,, 5 V DC 3 A 24 V DC 0.6 A output

A1S61PN

100 to 240 V AC input,, 5 V DC 5 A output

A1S62PN

100 to 240 V AC input,, 5 V DC 3 A 24 V DC 0.6 A output

A1SX10EU

16 points,, 100 to 120 V AC input

A1SX20EU

16 points,, 200 to 240 V AC input

A1SY10EU

16 points, 120 V AC output (relay)

A1SY14EU

16 points, 240 V AC output (relay)

A1SY18AEU

8 points, 240 V AC output,, independent common (relay)

A1SY28EU

8 points, 100 to 240 V AC output (triac)

APP - 63

Page 220

APPENDICES

MELSEC-A

Appendix 5 Instruction Processing Time processing time (µs) Instruction

Condition (device)

A1SHCPU

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

X

0.33

2.1

0.25

1.9

Y, M, L, S, B, F, T, C

0.33

0.33

0.25

0.25

LD LDI AND ANI OR ORI ANB, ORB, 0.33

0.33

0.25

0.25

When not changed (OFF→OFF, ON→ON)

0.33

2.2

0.25

1.9

When changed (OFF→OFF, ON→ON)

0.33

2.2

0.25

1.9

When not changed (OFF→OFF, ON→ON)

0.33

0.33

0.25

0.25

When changed (OFF→OFF, ON→ON)

0.33

0.33

0.25

0.25

9.6

9.5

7.2

7.2

Not in execution

16.5

16.7

12.3

12.3

During execution

69.5

84.4

52.2

52.2

0.33

0.33

0.25

0.25

Non-execution time

0

0

0

0

After time is up

7.2

9.6

20.0

18.0

Y

M (excluding special M L, S, B) Special M F

OUT

During execution

T

Processing time at END

Instruction execution time

When

K

12.0

12.8

22.0

22.0 counting

D

21.6

24.0

24.0

23.6

0.33

0.33

0.25

0.25

0

0

0

0

When not counted

0

0

0

0

After count is up

0

0

0

0

Instruction execution time

During execution

C

Processing time at END

Non-execution time

When

K

0.8

0.8

12.0

12.8 counting

D

7.2

10.4

15.2

12.0

APP - 64

Page 221

APPENDICES

MELSEC-A processing time (µs)

Instruction

Condition (device)

A1SHCPU Direct method

Refresh method

Direct method

0.33

2.1

0.25

1.9

When not changed (ON→ON)

0.33

2.1

0.25

1.9

When changed (OFF→ON)

0.33

2.1

0.25

1.9

0.33

0.33

0.25

0.25

When not changed (ON→ON)

0.33

0.33

0.25

0.25

When changed (OFF→ON)

0.33

0.33

0.25

0.25

Not in execution Y

During execution

Not in execution

SET

M, L S, B

During execution

Special M Not in execution B During execution

0.9

1.0

1.0

1.0

7.9

8.3

6.2

6.2

Not in execution

0.9

1.4

1.0

1.0

During execution

62.0

61.5

46.1

46.1

Not in execution

0.33

0.33

0.32

1.9

When not changed (OFF→OFF)

0.33

2.0

0.32

1.9

When changed (ON→OFF)

0.33

2.0

0.32

1.9

0.33

0.33

0.32

0.25

When not changed (OFF→OFF)

0.33

0.33

0.32

0.25

When changed (ON→OFF)

0.33

0.33

0.32

0.25

1.4

1.4

1.0

1.0

During execution

8.4

8.4

6.2

6.2

Not in execution

1.4

1.4

1.0

1.0

During execution

73.2

75.3

Not in execution

1.4

1.4

During execution

11.0

11.0

Not in execution

1.4

1.4

1.0

1.0

During execution

7.0

7.0

5.2

5.3

Not in execution

1.4

1.6

1.0

1.0

During execution

36.4

36.2

6.7

6.7

0.33

0.33

0.25

0.25

F

Y

During execution

Not in execution M, L S, B

RST

A2SHCPU

Refresh method

During execution

Special M Not in execution B

F

T,C

D, W A0, A1 V, Z R

NOP, APP - 65

OFF →OFF 8.5

ON →OFF 57.1

1.0 OFF →OFF 8.3

ON →OFF 9.0

OFF →OFF 8.4

ON →OFF 57.1

1.0 OFF →OFF 8.3

ON →OFF 9.0

Page 222

APPENDICES

MELSEC-A processing time (µs)

Instruction

Condition (device)

A1SHCPU

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

OFF Y0 ON OFF 432.6 451.7 412.3

FEND

M9084 OFF

663.2

628.0

Y0 ON 466.6

END

M9084 ON

636.0

602.4

Y0 ON OFF Y0 ON OFF 451.3 415.3 436.1 403.9

Not n execution

15.0

13.0

8.8

10.5

During execution

14.0

11.9

8.0

9.7

M, L, S

Not in execution

13.4

11.4

8.8

8.5

B, F

During execution

12.2

10.3

8.0

7.7

5.4

7.3

5.2

6.8

Not in execution

16.8

16.8

11.7

13.7

During

When ON

17.2

17.2

11.6

13.7 execution

When OFF

17.2

17.2

11.7

13.7

Y

MC, MCR

Y

PLS PLF

M, L

Not in execution

15.2

15.2

11.7

11.7

B, F

During

When ON

15.6

15.6

11.6

11.6 execution

When OFF

15.6

15.6

11.7

11.6

Not in execution

1.4

1.4

1.0

1.0

During execution

12.4

12.4

8.1

10.1

M, L

Not in execution

1.4

1.4

1.0

1.0

B, F

During execution

10.8

10.8

8.1

8.1

Y

SFT SFTP

MPS, 0.33

0.33

0.25

0.25

MRD, 0.33

0.33

0.25

0.25

MPP, 0.33

0.33

0.25

0.25

No index modification

10.2

10.2

7.6

10.0

Index modification

12.6

12.6

9.5

11.9

No index modification

17.8

17.7

13.3

13.3

Index modification

20.2

20.5

15.1

15.1

10.2

10.3

7.6

7.6

No index modification

17.8

17.9

13.3

13.3

Index modification

20.2

20.3

15.1

15.1

No index modification

17.8

17.9

13.2

13.2

Index modification

20.2

20.3

15.1

15.1

RET

10.4

10.3

9.3

9.6

EI

9.6

9.2

7.1

7.1

DI

6.8

7.0

6.5

6.5

IRET

58.4

57.6

43.2

45.1

CJ

SCJ JMP CALL

CALLP

APP - 66

Page 223

APPENDICES

MELSEC-A processing time (µs)

Instruction

Condition (device)

A1SHCPU

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

No index modification

39.8

17.6

19.0

13.0

Index modification

41.4

19.2

20.0

15.0

No index modification

39.8

17.6

19.0

13.0

Index modification

41.4

19.2

20.0

15.0

FOR

11.4

11.6

10.1

10.1

NEXT

8.0

8.1

7.5

8.2

SUB

SUBP

APP - 67

Page 224

APPENDICES

MELSEC-A S

Instruction

Processing time (µs)

D

Condition

A1SHCPU (S1)

(S2)

(D1)

(D2)

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

LD=

D0

D1

19.2

19.6

14.7

14.6

AND=

D0

D1

17.0

17.0

12.9

12.8

OR=

D1

D0

18.0

18.2

13.7

13.6

LDD=

D0

D2

36.4

37.1

27.5

27.5

ANDD=

D0

D2

33.6

34.3

25.3

25.5

ORD=

D0

D2

36.2

36.9

27.3

27.5

LD<>

D0

D1

19.4

19.2

14.5

14.5

AND<

D0

D1

16.2

16.2

12.3

12.3

OR<>

D0

D1

17.4

17.6

13.1

13.0

LD<=

D0

D1

19.8

19.6

14.9

14.7

AND<

D0

D1

17.9

16.7

12.3

12.3

OR<=

D0

D1

18.6

18.9

13.9

13.9

LDD<=

D0

D2

37.8

37.8

28.5

28.3

ANDD<=

D0

D2

34.8

34.8

26.3

26.1

ORD<=

D0

D2

37.4

37.6

28.3

28.1

LD<

D0

D1

19.4

19.4

14.7

14.5

AND<

D0

D1

16.6

16.4

12.5

12.3

OR<

D0

D1

17.2

17.2

13.1

13.0

LDD<>

D0

D2

35.6

35.6

26.9

26.7

ANDD<>

D0

D2

35.2

35.4

26.7

26.7

ORD<>

D0

D2

34.4

34.6

25.9

25.9

LD>

D0

D1

18.8

19.0

14.3

14.3

AND>

D0

D1

17.0

17.4

12.7

12.9

OR>

D0

D1

17.2

17.6

12.9

12.9

LDD>

D0

D2

36.4

36.2

27.5

27.3

ANDD>

D0

D2

38.5

36.4

27.1

27.1

ORD>

D0

D2

35.2

35.2

26.5

26.5

LDD<

D0

D2

36.2

36.6

27.3

27.5

ANDD<

D0

D2

36.0

36.4

27.1

27.1

ORD<

D0

D2

35.4

35.4

26.5

26.4

LD>=

D0

D1

19.6

19.6

14.9

14.8

AND>

D0

D1

16.6

16.8

12.5

12.4

OR>=

D0

D1

18.6

19.0

14.1

13.8

LDD>=

D0

D2

37.8

38.0

28.3

28.2

APP - 68

Page 225

APPENDICES

MELSEC-A S

Instruction

Processing time (µs)

D

Condition

A1SHCPU (S1)

(S2)

(D1)

(D2)

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

ANDD>=

D0

D2

35.0

35.0

26.1

26.1

ORD>=

D0

D2

37.6

37.8

28.3

28.0

+

D0

D1

11.6

11.9

8.7

8.6

+P

D0

D1

11.4

12.1

8.6

8.6

D+

D0

D2

18.2

18.5

13.7

13.6

D+P

D0

D2

18.0

18.3

13.6

13.2

+

D0

D1

D2

20.2

20.7

15.3

15.2

+P

D0

D1

D2

20.2

20.5

15.2

14.8

D+

D0

D1

D4

25.6

25.9

19.3

19.2

D+P

D0

D1

D4

25.8

26.3

19.4

19.2

-

D0

D1

11.6

12.1

8.7

8.6

-P

D0

D1

11.8

12.1

8.6

8.6

D-

D0

D2

18.0

18.5

13.7

13.6

D-P

D0

D2

18.0

18.7

13.6

13.2

-

D0

D1

D2

20.8

21.3

15.7

15.6

-P

D0

D2

D2

20.8

21.3

15.8

15.6

D-

D0

D2

D4

27.0

25.7

20.3

20.4

D-P

D0

D2

D4

26.8

27.3

20.4

20.2

*

D0

D1

D2

22.0

22.7

16.5

16.4

*P

D0

D1

D2

21.8

22.7

16.6

16.6

D*

D0

D2

D4

98.2

98.3

73.7

73.6

D*P

D0

D2

D4

98.2

98.5

73.6

73.8

/

D0

K1

D2

23.2

23.9

17.7

17.4

/P

D0

K1

D2

23.2

23.9

17.4

17.4

D/

D0

K1

D4

106.8

107.5

80.1

80.2

D/P

D0

K1

D4

106.6

107.3

80.2

80.2

INC

D0

7.2

7.5

5.7

5.4

INCP

D1

7.4

7.7

5.4

5.4

DINC

D0

10.6

11.3

8.1

8.0

DINCP

D0

10.6

11.1

7.9

7.8

DEC

D0

7.8

8.5

6.1

5.8

DECP

D0

7.8

8.3

5.9

5.8

DDEC

D0

10.6

11.1

8.1

8.0

DDECP

D0

2.7

1.9

8.1

7.8

APP - 69

Page 226

APPENDICES

MELSEC-A S

Instruction

Processing time (µs)

D

Condition

A1SHCPU (S1)

(S2)

(D1)

(D2)

A2SHCPU

Refresh method

Direct method

Refresh method

Direct method

B+

D0

D1

33.6

34.1

25.3

25.2

B+P

D1

D1

34.0

34.3

25.2

25.0

DB+

D0

D2

47.0

47.5

35.2

35.2

DB+P

D0

D2

46.8

47.7

35.4

35.0

B+

D0

D1

D2

35.2

35.7

26.5

26.4

B+P

D0

D1

D2

35.2

35.5

26.6

26.2

DB+

D0

D2

D4

50.2

50.9

37.7

37.8

DB+P

D0

D2

D4

50.2

50.5

37.5

37.8

B-

D0

D1

33.2

33.7

24.9

24.8

B-P

D0

D1

33.0

33.7

24.9

24.6

DB-

D0

D2

46.8

47.3

35.3

35.0

DB-P

D0

D2

46.8

47.3

35.1

35.0

B-

D0

D1

D2

36.2

36.9

27.3

27.0

B-P

D0

D1

D2

36.2

36.7

27.1

27.0

DB-

D0

D2

D4

50.4

50.6

38.1

37.8

DB-P

D0

D2

D4

50.4

51.1

37.9

37.4

B*

D0

D1

D2

79.8

80.1

60.1

59.4

B*P

D0

D1

D2

80.0

80.1

59.7

59.8

DB*

D0

D2

D4

245.6

246.3

184.3

184.2

DB*P

D0

D2

D4

246.8

246.1

184.3

184.2

B/

D0

K1

D1

61.4

61.7

46.2

46.6

B/P

D0

K1

D2

61.2

61.7

46.1

46.6

DB/

D0

K1

D2

246.4

246.9

185.1

184.8

DB/P

D0

K1

D4

246.0

186.5

184.5

184.8

BCD

D0

D1

22.0

22.3

16.3

16.5

BCDP

D0

D1

22.0

22.5

16.7

16.6

DBCD

D0

D2

59.2

59.7

44.3

44.4

DBCDP

D0

D2

59.2

59.7

44.5

44.8

BIN

D0

D1

20.8

21.5

15.7

16.0

BINP

D0

D1

20.8

21.3

15.7

15.8

DBIN

D0

D2

58.2

58.9

43.9

43.8

DBINP

D0

D2

58.2

58.9

43.7

43.8

MOV

D0

D2

11.8

12.3

9.1

9.0

MOVP

D0

D2

11.8

12.5

8.9

9.0

APP - 70