The text of a manual · part 7 of 13
MELSEC A series Programmable Controller User's Manual, Type A1S(S1)/A1SC24-R2/A2S(S1)/A1SH/A2SHCPU(S1)/A2ASCPU(S1/S30/S60) (Hardware): 3. INSTALLATION, pages 38 to 44
Pages 38 to 44 of 85, from MELSEC A series Programmable Controller User's Manual, Type A1S(S1)/A1SC24-R2/A2S(S1)/A1SH/A2SHCPU(S1)/A2ASCPU(S1/S30/S60) (Hardware)
The original document is the PDF (773 KB). 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 A1S61PN, Mitsubishi A1S63P, Mitsubishi A1SHCPU, Mitsubishi A1SX10, Mitsubishi A1SX40, Mitsubishi A1SX40-S1, Mitsubishi A1SX42, Mitsubishi A1SX42-S2, and 6 more models
Page 38
3. INSTALLATION (3)
MELSEC-A Process signal cables Please be aware of the following points for process signal cable installations. (a) Do not install process signal cables with primary voltage lines. (b) If process cables are installed outside of the cabinet, use of screen cables is effective for EMI noise reduction.
3.7
Precautions When Unfailure Power System (UPS) is Connected When Unfailure Power System (abbreviated as UPS hereafter) is connected to the CPU system, care must be taken on the following matter: Use a UPS of inverter power supply type at all time with 5% or less voltage distortion. Do not use a UPS of commercial power supply type.
3 – 17
Page 39
3. INSTALLATION 3.8
MELSEC-A
Part Identification of the CPU This section gives the names of each part of the CPU. (6)
(2)
(1)
(11)
(8)
(11)
(3)
(7)
(9)
(5)
(10)
(4)
A1SCPU(S1)
A2SCPU(S1)
(1) RUN/STOP key switch
A2ASCPU(S1/S30/S60)
(6) Module fixing screws
RUN/STOP: Used to start/stop sequence program execution. L.CLR: Used to clear the data set in the latch range set in the parameters. (2) “RUN” LED ON: Indicates that the RUN key switch is set to the RUN position and the sequence program is being executed. OFF: The RUN LED is OFF in the following cases: • When the 100/200 VAC power supply is not being supplied to the CPU.
(7) Battery (8) Dip switch Memory write protect switch ...A1SCPU(S1), A1SCPUC24-R2 (OFF: Memory not protected, ON (ON : Memory write protected) I/O control switch (OFF: Refresh mode, ON: Direct mode) (9) Battery connector (10) Memory cassette installing connector (11) Memory write protect Dip switch
• When the RUN/STOP key switch is set to the STOP position. • When a remote STOP/PAUSE is currently effective. Flashing: The RUN LED flashes in the following cases: • When an error that stops sequence program operation has been detected in self-diagnosis. • When a latch clear operation is being executed. (3) “ERROR” LED ON: Indicates that an error has been detected in self-diagnosis. (Note that this LED remains OFF if the setting for the detected error in the ERROR LED indication priority settings is “OFF”.) OFF: Indicates that no error has occurred, or a fault has been detected by the CHK instruction. Flashing: Indicates that the annunciator (F) has been switched ON by the sequence program. (4) RS-422 connector (5) Cover
3 – 18
Memory Write Protect Range (kbytes)
Setting Switch A2SCPU A2ASCPU
A2SCPU-S1 A2ASCPUS1/S30/S60
0 to 16
1: ON
1: ON
16 to 32
2: ON
2: ON
32 to 48
3: ON
3: ON
48 to 64
4: ON
4: ON
64 to 80
Unused
5: ON
80 to 96
Unused
6: ON
96 to 112
Unused
7: ON
112 to 144
Unused
8: ON
144 to 256
Unused
9: ON
Latch clear method 1) Turn the RUN/STOP key switch from the “STOP” position to the “L.CLR” position several times to make the “RUN” LED start flashing. 2) Turn the RUN/STOP switch from the “STOP” position to the “L.CLR” position once more. 3) The latch clear operation is completed when the “RUN” LED goes OFF.
Page 40
3. INSTALLATION
MELSEC-A
MELSEC A1SCPUC24-R2 STOP RUN
L.CLR
ERROR
RESET
RUN
(12)
RESET
MITSUBISHI
ON 1
(13)
2
BC D
4
E 6 7
2
67
5
F0 1
8 9
3
A
34 5
8 9
(14)
(15)
A1SCPUC24-R2 (12) Transmission specification setting switch
(14) Computer link LED
Transmission specification settings (factory setting: all OFF)
LED No.
Pisition of Setting Switch SW
ON 1 2 3 4 5 6 7 8 9
1
0
Setting Items Write during RUN enabled/disabled setting
ON
OFF
Enabled
Disabled
1 2
2 3
Transmission speed setting
0
RUN
1
SD
Transmitting Flashes during data transmission
2
RD
Receiving Flashes during data receive
3
CPU
Communications with PC CPU Flashes during communications with PC CPU
4
NEU
Neutral Transmission sequence initial state (waiting for ENQ): ON ENQ received: OFF
5
ACK
ACK After sending ACK: ON After sending NAK: OFF
6
NAK
NAK After sending NAK: ON After sending ACK: OFF
7
C/N
Result of PC CPU communications Error: ON Normal: OFF
8
P/S
Parity/Sum check error Error: ON Normal: OFF
9
PRO
Protocol error Communications protocol error: ON Normal: OFF
10
SIO
SIO error Normal: OFF
3
See *1
4
4 5
Data bit setting
8 bit
7 bit
6
Parity bit setting
Set
Not set
7
Even/odd parity setting
Even
Odd
8
Stop bit setting
2 bit
1 bit
9
Sum check setting
Set
Not set
5 6 7 8 9
*1 Transmission speed setting Baud rate (BPS)
Description Normal run Normal: ON Error: OFF
10 300
600
1200
2400
4800
9600
19200
SW05
OFF
ON
OFF
ON
OFF
ON
OFF
SW06
OFF
OFF
ON
ON
OFF
OFF
ON
SW07
OFF
OFF
OFF
OFF
ON
ON
ON
(13) Mode setting switch Mode settings (factory setting: 0)
0
Unusable
F0 1
1
Protocol 1
2
67
A
BC D
Setting
2
Protocol 2
3
Protocol 3
4
Protocol 4
(15) RS-232C connector
E
8 9
Mode Setting Switch Number
34 5
MODE
5 6 to E F
No-protocol or printer function Unusable Used for testing the independent module
3 – 19
Page 41
3. INSTALLATION
MELSEC-A MELSEC A1SHCPU STOP RUN
LCLR
ERROR
RESET
RUN RESET
(16)
MITSUBISHI
(10)
A1SHCPU/A2SHCPU(S1) (16) Dip switch A1SHCPU
A2SHCPU
Switch No.
Application
2
Memory write protect setting (RAM and E 2 PROM) ON: With memory write protection *1 OFF: Without memory write protection
1
I/O select switch setting ON: Direct method OFF: Refresh method
Switch No. 5
Application I/O switch setting ON: Direct method OFF: Refresh method I/O select switch setting ON: With memory write protection *1 OFF: Without memory write protection Memory write protection range
1 2 3 4 5 6 7 8 9 10
A2SHCPU-S1
ON
OFF
4
48 to 64k bytes
3
32 to 48k bytes
2
16 to 32k bytes
1
0 to 16k bytes
Switch No. 10
Application I/O select switch setting ON: Direct method OFF:Refresh method Memory write protect setting (RAM and E 2 PROM) ON: With memory write protection *1 OFF:Without memory write protection Memory write protection range
9
144 to 192k bytes
8
112 to 144k bytes
7
96 to 112k bytes
6
80 to 96k bytes
5
64 to 80k bytes
4
48 to 64k bytes
3
32 to 48k bytes
2
16 to 32k bytes
1
0 to 16k bytes
*1 When installing the memory cassette, the setting becomes invalid to RAM only.
3 – 20
Page 42
3. INSTALLATION 3.9
MELSEC-A
RS232C Interface (A1SCPUC24-R2 only) (1)
1 2 3 4 5
RS-232C connector specificatins
Pin Number
Signal Abbreviation
1
CD
2
RD(RXD)
Receive data
3
SD(TXD)
Send data
4
DTR(ER)
Data terminal ready
5
SG
Signal ground
6
DSR(DR)
Data set ready
7
RS(RTS)
Request to send
8
CS(CTS)
Clear to send
6 7 8 9
Signal Name
Signal Direction A1SCPUC24-R2 ↔ External Device
Receive carrier detection
A 9-pin D subconnector is supplied in the same package as the A1SCPUC24R2 body. Product name 9-pin Dsub (male), screw mounted 17JE-23090-02-D8A, made by DDK (2)
RS-232C cable For the RS-232C cable, use a cable that conforms to the RS-232C standard and is no longer than 15 m. (Recommended cable)
(3)
7/0. 127[ ]P HRV-SV............(RS-232C cable made by Oki Densen) Specify the number of wire pairs. For example, if the number of pairs is thirteen: 7/0. 127 13P HRV-SV Connecting the RS-232C connectors The standard method for connecting the RS-232C connectors is shown below. For details on the connection method, refer to the Computer Link Module User’s Manual (Com. link func./Print func.). (a) Example connection to an external device in which the CD signal (pin No.8) can be switched ON and OFF. A1SCPUC24-R2
Cable Connections and Signal Directions
External Device
Signal Names
Pin Number
CD
1
CD
RD(RXD)
2
RD(RXD)
SD(TXD)
3
SD(TXD)
DTR(ER)
4
DTR(ER)
SG
5
SG
DSR(DR)
6
DSR(DR)
RS(RTS)
7
RS(RTS)
CS(CTS)
8
CS(CTS)
3 – 21
Signal Names
Page 43
3. INSTALLATION
MELSEC-A (b) Example connection to an external device in which the CD signal (pin No.8) cannot be switched ON and OFF. In the case of a connection to a device in which the device’s CD signal cannot be switched ON and OFF, set non-execution of the buffer memory address 10BH RS232C CD terminal check. 1) Example connection to an external device in which DC code control or DTR/DSR code control is executed. A1SCPUC24-R2
Cable Connections and Signal Directions
External Device
Signal Names
Pin Number
Signal Names
CD
1
CD
RD(RXD)
2
RD(RXD)
SD(TXD)
3
SD(TXD)
DTR(ER)
4
DTR(ER)
SG
5
SG
DSR(DR)
6
DSR(DR)
RS(RTS)
7
RS(RTS)
CS(CTS)
8
CS(CTS)
2) Example connection to an external device in which DC code control is executed. A1SCPUC24-R2
Cable Connections and Signal Directions
External Device
Signal Names
Pin Number
CD
1
CD
RD(RXD)
2
RD(RXD)
SD(TXD)
3
SD(TXD)
DTR(ER)
4
DTR(ER)
SG
5
SG
DSR(DR)
6
DSR(DR)
RS(RTS)
7
RS(RTS)
CS(CTS)
8
CS(CTS)
3 – 22
Signal Names
Page 44
3. INSTALLATION
MELSEC-A
3.10 Self-Loopback Test (A1SCPUC24-R2 only) The self-loopback test checks whether or not the isolated A1SCPUC24-R2 (not connected to any external devices) will operate correctly. For details on the self-loopback test, refer to the Computer Link Module User’s Manual (Com. link func./Printer func.). Connect the cables • Connect cables to the RS-232C connectors. Pin Signal Number Abbreviation
1 2 3 4 5
6 7 8 9
Signal Name
Cable Connections
Receive carrier detection
1
CD
2
RD(RXD)
Receive data
3
SD(TXD)
Send data
4
DTR(ER)
Data terminal ready
5
SG
Signal ground
6
DSR(DR)
Data set ready
7
RS(RTS)
Request to send
8
CS(CTS)
Clear to send
Set the mode setting switch • Set the mode setting switch to “F”. Execute the self-loopback test • Turn the PC CPU power supply ON or reset the PC CPU. Check the LED display status Check Item
Display When Normal
PC CPU communications check RS-232C communications check
C/N
OFF
CPU
Flicker
SIO
OFF
SD RD
Completed • Turn the power supply OFF.
3 – 23
Flicker
Display in Error Status C/N (LED No.7)
ON
SIO (LED No.10)
ON