The text of a manual · part 11 of 29
AnS(H) CPU User's Manual, pages 78 to 84
Pages 78 to 84 of 242
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 78
4. AnSHCPU 4.3
MELSEC-A
Handling Instructions This section gives handling instructions from unpacking to installation of the AnSHCPU, I/O module, extension base unit, etc. (1)
Since the case, terminal block connector, and pin connector of this PC are made of plastic, do not drop them or subject them to mechanical shock.
(2)
Do not remove the printed circuit board of any module from its case. Removal may cause board damage.
(3)
When wiring, take care to prevent entry of wire offcuts into the module. If any conductive debris enters the module, make sure that it is removed.
(4)
Tighten the module mounting screws and terminal screws as indicated below.
Screw
Tightening torque range N · cm [kg · cm] (lb · in.)
Module mounting screw (M4 screw)
78 to 118 [8 to 12] (45 to 67)
I/O module terminal block terminal screw (M3.5 screw)
59 to 88 [6 to 9] (34 to 50)
4 - 40
Page 79
4. AnSHCPU
Part identification
A1SHCPU
(6)
A1SH/A2SHCPU(-S1) side face
(1) (2) MELSEC A1SHCPU STOP RUN
LCLR
ERROR
RESET
RUN
(8)
RESET
MITSUBISHI
(3)
(9)
(7)
12
(5)
(10)
(4) A2SHCPU
(6)
A2SHCPU-S1
(6)
(1)
(1)
(2)
(2) MELSEC A2SHCPU
MELSEC A2SHCPU-S1 STOP
RUN
LCLR
ERROR
RESET
STOP RUN RESET
MITSUBISHI
(3)
(9)
(8)
RUN
LCLR
ERROR
RESET
RUN RESET
MITSUBISHI
(3)
1 23 45 6 78 910
4.4.1
Part Identification and Setting of AnSHCPU
12345
4.4
MELSEC-A
(9)
(4)
(4)
4 - 41
(8)
Page 80
4. AnSHCPU
MELSEC-A (3) (2)
(12)
MELSEC A1SJHCPU
(11)
(1)
POWER
STOP L.CLR RESET
RUN
(21)
RUN RESET
ERROR
MITSUBISHI
OUT
(13) (14) (15)
INPUT AC100/200V
INPUT 100–120VAC 200–240VAC 100VA 50/60Hz
OUTPUT 5VDC 5A
(20)
(LG)
I/D0
I/D1
I/D2
(FG)
I/D3
I/D4
(19)
PULL
(17)
(16)
(18) (8)
(9)
(5) (7)
(10)
No.
(1)
(2)
Name
RUN/STOP key switch
Function • RUN/STOP • RESET
• ON
:
• OFF
:
"RUN" LED
"ERROR" LED
: :
• LATCH CLEAR : (L.CLR)
• Flashing :
(3)
(4)
• ON
:
• OFF
:
• Flashing :
To start/stop running a sequence program. To reset the hardware. To reset an error occurring during operation to initialize operation. To clear (turn OFF, or clear to "0") the data in the latch range and non-latch range which are set by parameter. For the latch clear operation procedure, see Section 4.4.4
Indicates that a sequence program operation is being executed with the RUN key switch set to the RUN position. The LED remains lit if an error (Section 11.3), which permits sequence operation to continue, occurs. The RUN LED goes out in the following cases : • When the RUN key switch is in the STOP position. • When the remote STOP signal is input. • When the remote PAUSE signal is input. The RUN LED flashes in the following cases : • When an error which causes sequence operation to stop is detected by the selfdiagnosis function. • When the latch clear operation is executed. Indicates that the self-diagnosis function has detected an error. When the detected error is set to "not lit" in the ERROR LED indication priority setting. Indicates that no error has occurred or that a malfunction has been detected by the [CHK] instruction. An annunciator (F) is turned ON by the sequence program.
4 - 42
Page 81
4. AnSHCPU
No.
MELSEC-A
Name
Function
RS-422 connector
• Used to connect a peripheral device to write/read, monitor, or test a program using a peripheral device. • Close with the cover when not connected to a peripheral device.
(5)
Cover
• Protects AnSHCPU printed circuit board, memory cassette, RS-422 connector, battery, etc. • Execute the following operations with the cover open. • Memory cassette connection/disconnection • Setting a dip switch • Connection to battery connector • For mounting the module to the base unit battery replacement
(6)
Module fixing screws
• For mounting the module to the base unit
(7)
Battery
• For retaining data such as programs, device latch ranges, file registers, etc. (See Section 7.2 for battery replacement.)
(8)
DIP switch
• Used for switching the I/O control method and for setting the memory protect function. (See Sections 4.4.2 and 4.4.3)
(9)
Battery connector
• For connection to the battery
(10)
Memory cassette installing connector
• For installing the memory cassette
(11)
"POWER" LED
• 5 V DC power display LED
(12)
Base installation hole
• Hole to install the base unit to a panel such as a control board. (M5 screw)
(13)
Power supply input terminals
• Connect the 100 V AC or 200 V AC power for the power input terminal.
(14)
LG terminals
• Power filter grounding terminal. Has half the voltage level of the input voltage.
(15)
FG terminals
• Grounding terminal connected to the shielding pattern on the print board.
(16)
DIN rail
• DIN rail installation hook (2)
(17)
RS-422 connector cover
• RS-422 connector cover
(18)
Module connector
• Connector to install the I/O module or special module. For the connector not for module installation, install supplied connector cover, or blank cover (A1SG60) to prevent dust entry.
(19)
Extension cable connector
• Connect the extension cable with the signal send/receive connector with the extension base unit.
(20)
Base cover
• Extension connector protective cover. To extend, the area surrounded by the groove below the OUT sign on the base cover must be removed using tools such as a nipper.
(21)
Module fixing screws
• Screws to fix the module to the base. (M4 × 12 screws)
(4)
4 - 43
Page 82
4. AnSHCPU 4.4.2
MELSEC-A
I/O control switch setting The I/O control system uses either the direct mode or the refresh mode. Use the DIP switch (SW1) to switch the I/O control mode.
1
Controls both inputs and outputs in the direct mode
2 1
ON
OFF
ON
1
ON
OFF
2
2
ON
1
2
On shipment from the factory, the direct mode is set for both inputs and outputs (SW1 : ON).
Controls both inputs and outputs in the refresh mode
POINT Make sure that the power is OFF be to reswitching the I/O control mode.
Memory write protect switch setting The memory write protect switch is designed to protect data in the RAM memory from being overwritten due to incorrect operation or malfunction of a peripheral device. It is used to prevent overwriting or deletion of created programs. To modify data in RAM memory, the memory write protect switch must be turned OFF. The memory write protect switch is set to OFF (SW2 : OFF) before shipment from the factory. When the A1SHCPU/A1SJHCPU is used The memory write protect function of the A1SHCPU/A1SJHCPU is set ON/OFF by using a DIP switch (SW2). The memory write protect function protects the first 32 k bytes of the 64 k byte user memory area. (When the CPU is equipped with a memory cassette or operated using a ROM or 2 E PROM, the memory write protect switch setting is invalid.)
1
Memory write protect switch ON
4 - 44
2 OFF
2
1
2
ON
1
ON
OFF
ON
2
By selecting the ON position on this switch, the parameters, the program and a part of extension file register will be write-protected in the memory. (See Section 4.1.9.)
1
(1)
ON
4.4.3
Memory write protect switch OFF
Page 83
4. AnSHCPU
MELSEC-A (2)
When the A2SHCPU(S1) is used The memory write protect range can be changed by changing the settings of the memory write protect DIP switches. For details, see Fig. 4.16. The SW2 may be in the ON or OFF position.
Switch No.
Application I/O select switch setting ON : Direct method OFF : Refresh method
5
A2SHCPU
4
5
2
2
3
Memory write protect setting (RAM and E PROM) ON : With memory write protection *1 OFF : Without memory write protection
1
Memory write protection range
ON
OFF
4
48 to 64 k bytes
3
32 to 48 k bytes
2
16 to 32 k bytes
1
0 to 16 k bytes
*1 When installing the memory cassette, the setting becomes invalid to RAM only.
Switch No. 10
9
10
A2SHCPU-S1
Application I/O select switch setting ON : Direct method OFF : Refresh method 2
7
8
Memory write protect setting (RAM and E PROM) ON : With memory write protection *1 OFF : Without memory write protection
5 4
112 to 144 k bytes
7
96 to 112 k bytes
3
6
80 to 96 k bytes
2 ON
144 to 192 k bytes
8
5
64 to 80 k bytes
1
6
Memory write protection range 9
4
48 to 64 k bytes
3
32 to 48 k bytes
2
16 to 32 k bytes
1
0 to 16 k bytes
OFF
*1 When installing the memory cassette, the setting becomes invalid to RAM only.
Fig. 4.16 Memory write protect DIP switch settings
4 - 45
Page 84
4. AnSHCPU
MELSEC-A POINT (1)
Set the memory write protect range according to the address (step number) of each memory area (sequence program, comment, sampling trace, status latch, file register). Do not use the memory write protect function when executing a sampling trace or status latch since it will make it impossible to store the data in the memory.
(2)
4.4.4
Clearing latched data Follow the procedure described below to clear latched data using the RUN/STOP key switch. The latch clear operation also clears unlatched device data. (1)
Turn the RUN/STOP key switch from the "STOP" position to the "L.CLR" position several times to make the "RUN" LED flash quickly (ON for approximately 0.2 seconds and OFF for approximately 0.2 seconds). The quickly flashing "RUN" LED indicates that the preparation for the latch clear operation is completed.
(2)
Turn the RUN/STOP key switch from the "STOP" position to the "L.CLR" position again while the "RUN" LED is flashing. The latched data will be cleared, and the "RUN" LED will go OFF. To cancel the latch clear operation, turn the RUN/STOP key switch to the "RUN" position to make the AnSCPU start processing, or to the "RESET" position to reset the AnSCPU.
REMARK Latched data can be cleared using the GPP function. The A6GPP, for example, performs latch clear using "DEVICE MEMORYALL CLEAR" of the test functions of the PC mode. See the GPP Operating Manual for details.
4 - 46