Volume 5 Instruction Manual For Ship Unloader Stacker&Reclaimer Coal Handling System Final
Volume 5 Instruction Manual For Ship Unloader Stacker&Reclaimer Coal Handling System Final
INSTRUCTION MANUAL FOR SHIP UNLOADER, STACKER & RECLAIMER, COAL HANDLING SYSTEM
(FINAL)
VOLUME 5
145236.61.0401
CHINA HUADIAN ENGINEERING CO.,LTD No.91, North Road, Xi San Huan, Beijing, 100048, P.R.China
BLACK VEATCH
IM0401-3.1.3-10 Cable reel Instruction Manual IM0401-3.1.3-11 Vibration feeder Instruction Manual IM0401-3.1.3-12 Scale sensor Instruction Manual IM0401-3.1.3-13 Elevator Instruction Manual IM0401-3.1.3-14 PLC Instruction Manual
2/5
) ) ) ) ) ) * * * * * * , , , , , , , , , ,
-/. ,# ,$ ,$ ,$ ,$ ,$ ,$ ,& ,' ,' ,' ,' ,' ,' ,' ,' ,' ,'
IM0401-3.4.3-10 Cable reel Instruction Manual IM0401-3.4.3-11 Belt scale Instruction Manual IM0401-3.4.3-12 PLC Instruction Manual IM0401-3.4.3-13 Inverter Instruction Manual IM0401-3.4.3-14 Transformer Instruction Manual IM0401-3.4.3-15 MV Switchgear Instruction Manual 3.5 3.6 Vibration Screen Crusher IM0401-3.5 IM0401-3.6-1 IM0401-3.6-2 3.7 3.8 Tripper Others IM0401-3.7-1 IM0401-3.8-1 IM0401-3.8-2 IM0401-3.8-3 IM0401-3.8-4 IM0401-3.8-5 IM0401-3.8-6 IM0401-3.8-7 IM0401-3.8-8 IM0401-3.8-9 IM0401-3.8-10 4 Electrical IM0401-4-1 Vibration Screen Instruction Manual Crusher Instruction Manual Crusher OEM Instruction Manual Tripper Instruction Manual Motor Instruction Manual Gearbox Instruction Manual Hydraulic coupling Instruction Manual Magnetic separator Instruction Manual Coal sampling unit Instruction Manual Belt weigh scale Instruction Manual Electric Hoist Instruction Manual Manual Hoist Instruction Manual Belt cleaner Instruction Manual Vulcanizer Instruction Manual Transformer Instruction Manual
4/5
5/5
2
At a Glance
Overview What's in this Chapter? This chapter discusses memory allocation in a PLC. This chapter contains the following topics:
Topic User Memory State RAM Values State RAM Structure The Configuration Table The I/O Map Table Page 16 18 20 22 26
043505766 4/2006
15
User Memory
Overview User memory is the space provided in the PLC for the logic program and for system overhead. User memory sizes vary from 1K ... 64K words, depending on PLC type and model. Each word in user memory is stored on page 0 in the PLCs memory structure; words may be either 16 or 24 bits long, depending on the CPU size.
page 0 CKSM Diagnostics Configuration Table Loadables I/O Map Segment Scheduler (129 words) STAT Block Tables (up to 277 words) System Diagnostics Configuration Extension Table (optional) ASCII Message area (optional) User Application Program
Overhead
User Logic
User Logic
The amount of space available for application logic is calculated by subtracting the amount of space consumed by system overhead from the total amount of user logic. System overhead in a relatively conservative system configuration can be expected to consume around 1000 words; system configurations with moderate or large I/O maps will require more overhead.
16
043505766 4/2006
User Memory
Ladder logic requires one word of either 16-bit or 24-bit memory to uniquely identify each node in an application program. Contacts and coils each occupy one node, and therefore one word. Instructions, which usually comprise two or three nodes, require two or three words, respectively. Other elements that control program scanning three words, respectively. Other elements that control program scanning start of a network (SON), beginning of a column (BOC), and horizontal shorts use one word of user logic memory as well.
SON
BOC
BOC
8 words
System Overhead
System overhead refers to the contents of a set of tables where the systems size, structure, and status are defined. Some overhead tables have a predetermined amount of memory allocated to them. The configuration table, for example, contains 128 words, and the order-of-solve table (the segment scheduler) contains 129 words. Other tables, such as the I/O map (a.ka. traffic cop), can consume a large amount of memory, but its size is not predetermined. Optional pieces of system overhead e.g., the loadable table, the ASCII message area, the configuration extension table may or may not consume memory depending on the requirements of your application. User memory is stored in CMOS RAM. In the event that power is lost, CMOS RAM is backed up by a long-life (typically 12-month) battery. In many PLC models, the battery is a standard part of the hardware package; in smaller-scale PLCs e.g., the Micro PLCs a battery is available as an option.In the case of the Micro PLCs, where the battery is an option, an area in its Flash memory is available for backing up user logic. (Flash is a standard feature on the Micros.)
Memory Backup
043505766 4/2006
17
Meaning Can be used to drive a real output through an output module or to set one or more internal coils in state RAM. The state of a coil can be used to drive multiple contacts. Can be used to drive contacts in the logic program. Its ON/OFF state is controlled by an input module. Holds numerical inputs from an external sourcefor example, a thumbwheel entry, an analog signal, data from a high speed counter. A 3x register can also be used to store 16 contiguous discrete signals, which may be entered into the register in either binary or binary coded decimal (BCD) format.
1x
discrete input
3x
input register
4x
output holding register Can be used to store numerical (decimal or binary) information in state RAM or to send the information to an output module. extended memory register Stores binary information in extended memory area; available only in PLCs with 24bit CPUs that support extended memory the 984B, the E984-785, and the Quantum Automation Series PLCs
6x
18
043505766 4/2006
State RAM data is stored in 16-bit words on page F in System Memory. The state RAM table is followed by a discrete history table that stores the state of the bits at the end of the previous scan, and by a table of the current ENABLE/DISABLE status of all the discrete (0x and 1x) values in state RAM.
page F
State RAM
EOL Pointers* Crash Codes* Executive ID* Executive Rev #* *Not available in the 984A/B/X PLCs 16 bits
Each 0x or 1x value implemented in user logic is represented by one bit in a word in state RAM, by a bit in a word in the history table, and by a bit in a word in the DISABLE table. In other words, for every discrete word in the state RAM table there is one corresponding word in the history table and one corresponding word in the DISABLE table.Counter input states for the previous scan are represented on page F in an up-counter/down-counter history table. Each counter register is represented by a single bit in a word in the table; a value of 1 indicates that the top input was ON in the last scan, and a value of 0 indicates that the top input was OFF in the last scan.
043505766 4/2006
19
Coil History
Discrete references come before registers, the 0x words first followed by the 1x words. The discrete references are stored in words containing 16 contiguous discrete references.The register values follow the discrete words. Blocks of 3x and 4x register values must each begin at a word that is a multiple of 16. For example, if you allocate five words for eighty 0x references and five words for eighty 1x references, you have used words 0001 ... 0010 in state RAM. Words 0011 ... 0016 are then left empty so that the first 3x reference begins at word 0017.
20
043505766 4/2006
For each word allocated to discrete references, two additional words are allocated in the history/disable tables. These tables follow the state RAM table on page F in system memory. They are generated from the bottom up in the following manner.
Word 0001
Word 2048
043505766 4/2006
21
22
043505766 4/2006
When a 4x holding register assignment is made in the configurator for the time of day (TOD) clock, that register and the next seven consecutive registers (4x ... 4x + 7) are set aside in the configuration to store TOD information. The block of registers is implemented as follows.
Register Definition 4X
The control register:
1 = error 1 = all clock values have been set 1 = clock values are being read 1 = clock values are being set
Day of the week (Sunday = 1, Monday = 2, etc.) Month of the year (Jan. = 1, Feb. = 2, etc.) Day of the month (1... 31) Year (00... 99) Hour in military time (0... 23) Minute (0... 59) Second (0... 59) When a 4x holding register assignment is made in the configurator for the time of day (TOD) clock, that register and the next seven consecutive registers (4x... 4x + 7) are set aside in the configuration to store TOD information.
The block of registers is implemented as follows. For example, if you configured register 40500 for your TOD clock, set the bits appropriately as shown above, then read the clock values at 9:25:30 on Tuesday, July 16, 1991, the register values displayed in decimal format would read:
Register Definition 400500 400501 400502 400503 400504 400505 400506 400507 0110000000000000 3 (decimal) 7 (decimal) 16 (decimal) 91 (decimal) 9 (decimal) 25 (decimal 30 (decimal)
043505766 4/2006
23
Data Type # of coils # of discrete inputs # of register outputs # of register inputs # of I/O drops # of I/O modules
Default Setting 16 16 01 01
Up to 32, depending 01 on PLC type Up to 1024, depending on the PLC type Generally equal to the # of drops Even number from 02 to 32 PLC- dependent 00
Used only when I/O is configured in drops. Not displayed by editor; used by system to calculate I/O map words. Add one additional segment for subroutines. Used only when I/O is configured in channels.
00 02 PLC-dependent
ON/EVEN 2 001 01 (10 ms) Modbus port delay times are implemented only in the 984A/B/X PLCs.
Decimal > 0 < difference 00 between memory size (32K or 64K) and system overhead 00
24
043505766 4/2006
Baud Parity # of stop bits # of data bits per character Presence of a keyboard A 4x value representing the first of 32 registers for simple ASCII input A 4x value representing the first of 32 registers for simple ASCII output
ASCII input
NONE
Only a 984B PLC supports simple ASCII input Only a 984A and 984B PLC supports simple ASCII output
ASCII output)
NONE
Special Functions
Skip Functions Allowed YES/NO Timer Register A 4x register set aside to hold a number of 10 ms clock cycles A 4x register the first of eight reserved for time of day values A 0x reference reflecting the status of battery backup system 00000 No NONE
TOD Clock
NONE
Battery Coil
00000
Loadable Instructions
Install Loadable PROCEED or CANCEL Various controllers support different kinds of loadable instruction sets. Make sure that your loadables and controller are compatible. Various controllers support different kinds of loadable instruction sets. Make sure that your loadables and controller are compatible
043505766 4/2006
25