The text of a manual · part 7 of 29
AnS(H) CPU User's Manual, pages 38 to 47
Pages 38 to 47 of 242: 3. SPECIFICATIONS; 4. AnSHCPU
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 38
3. SPECIFICATIONS 3.
MELSEC-A
SPECIFICATIONS Table 3.1 General specification Item
Specifications
Ambient operating temperature
0 to 50 °C
Ambient storage temperature
-20 to 75 °C
Ambient operating humidity
10 to 90 % RH, No-condensing
Ambient storage humidity
10 to 90 % RH, No-condensing Frequency Conforming to JIS B 6501, IEC 1131-2
Vibration resistance
Acceleration
Amplitude
10 to 57 Hz
0.075 mm (0.003 in.)
vibration
57 to 150 Hz
9.8 m/s {1 G}
Under continuous
10 to 57 Hz
00.35 mm (0.001 in.)
vibration
57 to 150 Hz
Under intermittent
2
2
4.9 m/s {1 G}
No. of sweeps 10 times each in X, Y, Z directions (for 80 min.)
2
Shock resistance
Conforming to JIS B 3501, IEC 1131-2 (147 m/s {15G}, 3 times in each of 3 directions X Y Z)
Operating ambience
No corrosive gases
Operating elevation
2000 m (6562 ft.) max.
Installation location
Control panel
Over voltage category *1
II max.
Pollution level *2
2 max. *1 : This indicates the section of the power supply to which the equipment is assumed to be connected between the public electrical power distribution network and the machinery within premises. Category II applies to equipment for which electrical power is supplied from fixed facilities. The surge voltage withstand level for up to the rated voltage of 300 V is 2500 V. *2 : This index indicates the degree to which conductive material is generated in terms of the environment in which the equipment is used. Pollution level 2 is when only non-conductive pollution occurs. A temporary conductivity caused by condensing must be expected occasionally.
IMPORTANT Restrictions for UL standard approved products In order to be recognized as UL listed products, products must be used in compliance with the following restrictions : (1) Operating ambient temperature is limited to 0 to 50 °C. (2) A class 2 power supply recognized by the UL standard must be used.
3-1
Page 39
4. AnSHCPU 4.
MELSEC-A
AnSHCPU
4.1
Performance Specifications The memory capacities of AnSHCPU modules, performances of devices, etc., are presented below. Table 4.1 Performance specifications Type
A1SJHCPU
A1SHCPU
A2SHCPU(S1)
Item Control system
Repeated operation (using stored program)
I/O control method
Refresh mode/Direct mode selectable
Programming language
Language dedicated to sequence control. Relay symbol type and logic symbolic language, MELSAP-II(SFC) Sequence instructions : 26
Number of instructions (types)
Basic instructions : 131 Application instructions : 106 CC-Link dedicated instructions : 11
Processing speed (sequence instruction) (µ sec/step)
Direct : 1.0 to 2.3 Refresh : 1.0
I/O points
2048 *1
Actual I/O number of point
512
Watchdog timer (WDT) (msec)
10 to 2000
Memory capacity *2 (built-in RAM)
64 k bytes
A2SH : 64 k bytes, A2SH-S1 : 192 k bytes
Main sequence
Max. 8 k steps
A2SH : Max. 14 k steps, A2SH-S1 : Max. 30 k steps
Sub sequence
Unavailable
Program capacity
512
A2SH : 512, A2SH-S1 : 1024
Internal relay (M) (points)
100 (M0 to 999)
Latch relay (L) (points)
1048 (L1000 to 2047)
Number of step relays (S) (points)
0 (Defaults to no value)
Link relay (B) (points)
1024 (B0 to 3FF)
Timer (T)
256 points 100 msec timer 10 msec timer 100 msec Retentive timer
Counter (C)
256 points Normal counter : Setting range 1 to 32767 (C0 to 255) Interrupt program counter : Setting range 1 to 32767 Counter to be used in interrupt program
The number of M + L + S = 2048 (set in parameters)
: Setting time 0.1 to 3276.7 sec (T0 to 199) : Setting timer 0.01 to 327.67 sec (T200 to 255) : Depending on setting : (Setting time 0.1 to 3276.7 sec)
Data register (D) (points)
1024 (D0 to D1023)
Link register (W) (points)
1024 (W0 to W3FF)
Annunciator (F) (points)
256 (F0 to F255)
File register (R) (points)
Max. 8191 (R0 to R8191)
Accumulator (A) (points)
2 (A0, A1)
4-1
Set in parameters
Set in parameters
Page 40
4. AnSHCPU
MELSEC-A Table 4.1 Performance specifications (Continued) Type
A1SJHCPU
A1SHCPU
A2SHCPU(S1)
Item Index register (V, Z) (points)
2 (V, Z)
Pointer (P) (points)
256 (P0 to P255)
Interrupt pointer (I) (points)
32 (I0 to I31)
Special relay (M) (points)
256 (M9000 to M9255)
Special register (D) (points)
256 (D9000 to D9255)
Comment (points) (Specify in batches of 64 points)
Max. 3648
Self-diagnostic functions
Watchdog error monitor, Memory error detection, CPU error detection, I/O error detection, Battery error detection, etc.
Operation mode at the time of error
STOP/CONTINUE
STOP → RUN output mode
Output data at time of STOP restored/data output after operation execution
Clock function
Year, month, day, hour, minute, second (Automatically recognizes leap years.) Accuracy -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
Allowable momentary power interruption time
20 msec
Current consumption (5 V DC)
0.3 A
0.3 A
Weight [kg (lb.)]
1.00 (2.20)
0.33 (0.73)
Standard
UL/cUL
0.4 A 0.33 (0.73)
UL/cUL
*1 The I/O device after the actual input points can be used as MELSECNET(/B), MELSECNET/MINI, or C.CLink. *2 The maximum total memory that can be used for parameters, T/C set values, program capacity, file registers, number of comments, sampling trace, and status latch is 32 k/64 k bytes. The memory capacity is fixed. No expansion memory is available. Section 4.1.7 shows how to calculate the memory capacity.
4-2
Page 41
4. AnSHCPU 4.1.1
MELSEC-A
AnSHCPU operation processing This section explains the operation processing which takes place from the time the AnSHCPU power is switched ON until the sequence program is executed. AnSHCPU processing is generally divided into the following four types: (1)
Initial processing This is the pre-processing for executing sequence operations. Initial processing is executed once at power up or after key reset.
(2)
(a)
Resetting the I/O module.
(b)
Initialization of the data memory's unset latch area (bit devices turned OFF, word devices set to 0).
(c)
I/O module addresses are automatically assigned in accordance with the I/O module type and where the module is installed on a base unit.
(d)
Automatic diagnostic check of parameter settings and operation circuits is executed (see Section 4.1.6).
(e)
If the AnSHCPU is used in the master station of an MELSECNET(II) MELSECNET/B, data link operation begins after setting the link parameter data in the data link module.
I/O module refresh processing If the refresh mode for both input and output is set with the I/O control switch, the I/O module is refreshed (see Section 4.1.5).
(3)
Sequence program operation processing The sequence program written in the AnSHCPU is executed from step 0 to the END instruction.
(4)
END processing When sequence program processing reaches the END instruction, the sequence program is returned to step 0. (a)
Self-diagnosis checks for blown fuses, I/O module verification, low battery voltage, etc., are executed (see Section 4.1.6).
(b)
T/C present values are updated and contacts are turned ON/OFF. (The ACPU Programming Manual (Fundmentals) gives details.)
(c)
Data read or write from/to computer link modules (A1SJ71(U)C24, AJ71C24(S8), AD51(S3), etc.)
(d)
Link refresh processing is executed when the link refresh request is given from the MELSECNET data link. Note that the AnSHCPU can enable and disable execution of link refresh by turning M9053 ON/OFF and by issuing DI/EI instructions.
4-3
Page 42
4. AnSHCPU
MELSEC-A
Start up
Initial screen I/O module initialization Data memory initialization I/O module I/O address assignment Self-diagnosis check Link parameter set
I/O module refresh If the refresh mode for I/O control is selected.
Sequence program processing Step 0 to END (FEND) instruction execution
END processing Self-diagnosis check T/C present values updated and contacts turned ON/OFF Communication with conputer link modules Link refresh
Fig.4.1 AnSHCPU operation processing
4-4
Page 43
4. AnSHCPU 4.1.2
MELSEC-A
Operation processing in the RUN, STOP, PAUSE status The PC CPU can be operated in the RUN, STOP and PAUSE status as described below. (1)
RUN operation RUN indicates repeated operations of the sequence program from step 0 to the END (FEND) instruction. When a CPU changes its status to the RUN mode, the CPU restores all output data which was saved when the CPU was stopped, in accordance with the STOP → RUN mode set in the parameters. The PC CPU needs initialization time before starting a sequence program operation. It requires two to three seconds after a power ON or reset, and one to three seconds after the mode is changed from STOP to RUN.
(2)
STOP operation STOP indicates stopping of sequence program operation by executing a STOP instruction or by using the remote STOP function (see Section 4.2.3). When the CPU is set to STOP, the output status is saved and all outputs are switched OFF. Data other than the outputs (Y) is retained.
(3)
PAUSE operation PAUSE indicates stopping of sequence program operation with the output and data memory status retained.
POINT An AnSHCPU executes the following operations at any time in the RUN, STOP or PAUSE mode : • Refresh processing of the I/O module when the refresh mode is set. • Data communications with computer link modules. • Link refresh processing. Therefore, the following operations are possible even when the AnSHCPU is in the STOP or PAUSE status : • Monitoring I/O status and testing using a peripheral device. • Read/write with computer link modules. • Communications with other stations in the MELSECNET data link system.
4-5
Page 44
4. AnSHCPU 4.1.3
MELSEC-A
Watchdog timer (WDT) The watchdog timer is an internal system timer which monitors the scan time of sequence program execution to detect program errors. The WDT also detects PC hardware faults. The default value for the watchdog timer is 200 msec. This value can be changed from 10 to 2000 msec in the parameters. (1)
Normal operation (scan time is within the set value) The watchdog timer is reset after the execution of an END instruction.
(2)
Faulty operation (scan time is not within the set value) (a)
A watchdog timer is detected, then, the CPU stops program processing and flashes the RUN LED on its front face.
(b)
There are two types of error code for the watchdog timer, error codes "22" and "25". Error code 22 signifies that an END instruction is executed after the WDT has exceeded its set value. Error code 25 signifies that the CPU is executing a dead-loop program and never reaches an END instruction. This error could occur if the PC hardware is faulty or branch instructions are used incorrectly in the program. Scan time (WDT count value) Sequence program operation
Step 0
WDT error occurs if the set value is exceeded. END processing time
END instruction execution
Setp 0
WDT reset (WDT is reset when END is executed)
4-6
Page 45
4. AnSHCPU
MELSEC-A (3)
Watchdog timer reset using the sequence program The watchdog timer is reset with a [WDT] instruction in the sequence program. The watchdog timer begins counting again from 0. However, the scan time values registered in D9017 to D9019 are not reset when the WDT instruction is executed.
[WDT] instruction execution
WDT reset
END instruction execution
Step 0 A
Step 0
B Watchdog timer count value reset
If the watchdog timer count value of either A or B exceeds the set value, a watchdog timer error occurs.
Scan time
(4)
When a watchdog timer error occurs, check the error by seeing Chapter 11 (Troubleshooting), then turn the RESET switch to clear the error.
4-7
Page 46
4. AnSHCPU 4.1.4
MELSEC-A
Operation processing when a momentary power interruption occurs When voltage supplied to the power supply module is below the specified range, the AnSHCPU detects a momentary power interruption. When the AnSHCPU detects a momentary power interruption, the following operations are executed : (1)
(2)
Momentary power interruption within 20 msec (a)
Program processing is stopped and the output is retained.
(b)
Program processing is resumed when the power is restored.
(c)
The watchdog timer (WDT) continues counting even while the operation is stopped. For example, if a momentary power interrutption of 20 msec occurs when the scan time is 190 msec, a watchdog timer error (200 msec) occurs.
Momentary power interruption over 20 msec The AnSHCPU is reset and returns to the initial start status. The necessary operations are the same as when the CPU power is turned ON or when the CPU is reset.
Momentary power interruption occurrence
END 0
Power supply
END 0
END
The AnSHCPU stops operating.
Fig. 4.2 Operation processing when a momentary power interruption occurs
4-8
Page 47
4. AnSHCPU 4.1.5
MELSEC-A
I/O control method The I/O control method for the AnSHCPU can be selected as either of the following two modes using the I/O control switch : (1)
Direct mode for both input and output
(2)
Refresh mode for both input and output
The direct and refresh modes are explained below. Processing in the direct and refresh modes differs only for inputs (X) and outputs (Y). Processing for other devices and for special function modules (FROM/TO instruction) is the same in both modes. (1)
Direct mode I/O modules are accessed whenever a CPU executes an instruction with an input (X) or output (Y). One scan time at most is necessary from the input status change to the change in the output status which corresponds to the input.
(2)
Refresh mode I/O modules are batch accessed before executing step 0 of the sequence program. This is called I/O module refresh processing. Input module status are read to the data memory input (X). Data memory output (Y) status are output to output modules. When a CPU executes an instruction with an input (X) or output (Y), it only accesses the data memory of the input (X) or output (Y).Two scan times at most is necessary from the input status change to the output status change which corresponds to the input.
POINT When the refresh mode has been selected, use the SEG instruction when accessing one segment of an I/O module in the same way as with the direct mode. The ACPU Programming Manual (Common Instructions) gives details.
4-9