The text of a manual · part 10 of 60
PiC900 Hardware Manual: A.6 - CPU - Central Processing Unit Module 94X Turbo
Pages 67 to 78 of 508, from PiC900 Hardware Manual
The original document is the PDF (3.7 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 Giddings & Lewis 502-03550-02
Page 67
A.6 -
CPU - Central Processing Unit Module 94X Turbo
Introduction
The PiC94X Turbo CPU module controls the PiC900 system and executes the application program. It contains: • A processor IC providing overall control • A math coprocessor • Eight LEDs as shown in Figure A6-1 • RAM (EPROM optional) memory for the application program and for RAMDISK • RAM memory for data storage as the system runs • FLASH memory for the system software • RS232 ports to communicate with the computer workstation and with a serial interface device • Optional communication (ARCNET and I/O expansion) capability • Optional flash memory system (FMS) for storing things like application source modules
The CPU module must always be in the second slot from the left in the system rack. Figure A6-1. PiC94X Turbo CPU Module CPU
Name of module Diagnostic LED I/O expansion LEDs ARCNET LEDs User Port LEDs
TURBO PiC900
ARCNET, local, and block I/O expansion
RS232 port, to computer workstation
RS232 User Port, to serial interface device
Fiber Optic Connections Remote I/O expansion
A.6 -1
Page 68
CPU - Central Processing Unit Module 94X Turbo
Connections
Serial Ports
The PiCPro Port (9-pin D connector) communicates with the workstation serial port and the User Port (10-pin screw terminal connector) communicates with an optional serial interface device. Figure A6-2. Pinouts for the Two RS232 Communications Ports
GRD 5 DTR (output) 4 Transmit Data (output) 3 Receive Data (input) 2 + 5 VDC (output) 1 (50 mA max.)
(50 mA max.) 9 (output) - 12 VDC 8 NC = Not Connected 7 (output) RTS 6 (output) + 12 VDC (50 mA max.)
PiCPro Port
- 12 VDC (50 mA max.) + 12 VDC (50 mA max.) + 5 VDC (50 mA max.) DTR = Data terminal ready RTS = Request to send NC = Not Connected CTS = Clear to send GRD = ground Receive data Transmit data
1 2 3 4 5 6 7 8 9 10 User Port
Outputs
Inputs Output AA27-1390
The PiCPro Port allows the PiC900 to communicate with the workstation. This port is used when downloading an application program from the workstation into RAM memory. It may also be used to exchange data between the workstation and the PiC900 system while the PiC900 system is running. The pinout for the PiCPro Port cable is shown below. PiCPro Cable Pinout 9-pin female 9-pin female (to PC) (to PiCPro Port)
3 to
RD
2
2 to
TD
3
5 to GND 5
NOTE: Other pins may be connected in the cable recieved from Giddings & Lewis, but only pins 2, 3, and 5 are used. The User Port is used to communicate with a touch-screen, a hand-held controller, or other serial interface device. ARCNET and I/O Expansion
ARCNET and I/O Expansion are available on some PiC94X Turbo CPUs. The specification table at the end of this appendix lists the CPU modules that have this communication capability on board. The 7-pin screw terminal connector is used for ARCNET communications and local or block I/O expansion. The fiber optic connectors are used for remote I/O
A.6 -2
Page 69
CPU - Central Processing Unit Module 94X Turbo expansion. NOTE: You can choose to do only one type of expansion at a time: local or block I/O or remote. The top two pins are used for peer-to-peer (ARCNET) communication connections using twisted pair wire*. The next four pins are used for local [up to a 40 feet (12 m) segment] I/O expansion (up to seven expansion racks) or block I/O expansion using twisted pair wire*. The bottom pin is a shield connection. When using shielded wire, connect the shields to it. *Use shielded cables when it is necessary to meet EMC standards. The recommended wire has 100Ω characteristic impedance. Figure A6-3. Pinout for ARCNET, I/O Local Expansion and Block I/O Expansion Port
+ + + -
Peer-to-peer ( 24 or 26 AWG solid twisted pair wire) Local or block I/O expansion out (18 or 20 AWG stranded twisted pair wire) Local or block I/O expansion in (18 or 20 AWG stranded twisted pair wire) Shield
CAUTION The network is polarity dependent. In peer-to-peer communications, always connect the positive (+) of the twisted pair interface of the first PiC to the positive (+) of the twisted pair interface of the second PiC and the negative (-) to the negative (-), etc. In I/O expansion systems, connect the positive (+) of the twisted pair out of the CPU module to the positive (+) of the twisted pair in on the next module and the negative (-) to the negative (-), etc. Connect the positive (+) of the twisted pair in of the CPU module to the positive (+) of the twisted pair out on the next module and the negative (-) to the negative (-), etc.
A.6 -3
Page 70
CPU - Central Processing Unit Module 94X Turbo
Remote I/O Expansion
For remote I/O expansion [from 4 feet (1.2 m) to 2,000 feet (610 m)/segment], fiber optic cable is connected to the two bottom connectors on the CPU module as shown in Figure A6-4. Figure A6-4. Location of Fiber Optic Connections for Remote I/O Expansion
CPU
TURBO PiC900TM
In
Out Fiber Optic Connections
See Appendix N1 Peer-to-Peer Communication Connections for information on connecting PiCs on a network. See Appendix N2 I/O Expansion Connections for more information on local and remote I/O expansion and block I/O expansion.
A.6 -4
Page 71
CPU - Central Processing Unit Module 94X Turbo
LEDs
There are seven communication LEDs on this CPU module in addition to the DIAG LED. They are located directly under the DIAG LED as shown in Figure A6-5. Figure A6-5. Communication LEDs DIAG CONFIG IN OUT
Diagnostic LED I/O expansion LEDs
DATA TX ACT
ARCNET IN OUT
RS232
ARCNET LEDs User Port LEDs
Below is a list of the LEDs and what they mean. DIAG
On Flashing Off
On briefly during startup. Flashes error codes under certain conditions. These codes are listed in Appendix M. Normal operation
CONFIG
On
Communication established with this expansion rack connected in an I/O expansion loop.
I/O expansion rack configured
Off
Communication not established
DATA IN
Dull glow Indicates the line receiving in is active.
I/O expansion line activity in
Off
DATA OUT
Dull glow Indicates the line transmitting out is active.
I/O expansion line activity out
Off
ARCNET TX
On Normal network activity Blinking Network reconfiguration Off Not active part of network
ARCNET transmit status ARCNET ACT ARCNET active status RS232 IN
User Port data IN RS232 OUT
User Port data OUT
No activity in
No activity out
Flash/On Data being transferred to/from ARCNET interface Off No data transfer On Off
Data being received at user port No data being received at user port
On Off
Data being transmitted from user port No data being transmitted at user port
A.6 -5
Page 72
CPU - Central Processing Unit Module 94X Turbo
Theory of Operation
The CPU module performs the following tasks: 1.
It runs diagnostic tests, checks the battery in the CSM, and performs other routine maintenance tasks.
2.
It executes the application program, communicating with the I/O modules.
3.
It maintains communication with the workstation through the PiCPro port. This port is dedicated to the communication functions of PiCPro/PiCServoPro.
4.
It maintains communication with the user interface device through the User port. Details of this communication depend partly on the type of interface device. Refer to the manual that comes with the device.
5.
If ARCNET and I/O expansion communications are on board, it supports peerto-peer, ARCNET and I/O expansion communication capability.
Diagnostics
The CPU runs diagnostic tests on each module in the system rack whenever power is turned on to the PiC94X. The CSM is tested first, then the CPU module, then all the I/O modules in turn. A module's DIAG LED is on while it is being tested, and goes off when its internal circuitry checks out. If a DIAG LED does not go out after the diagnostic tests, a fault has been detected. See the Troubleshooting section of the Hardware chapter. EPROM for the PiC94X
The PiC94X has a socket for a 1 Mbyte EPROM. The recommended EPROM is: Atmel
AT27C080-20DC
This EPROM has three memory areas: 1.
Application
2.
RAMDISK
3.
System
The software manual gives directions for creating a file in a format suitable for an EPROM programmer. This file may be loaded from a workstation into the EPROM using any of a number of commercially available EPROM Programmers. The application file originates at address zero and, therefore, requires no offset. The file uses the 16-bit word format. With the PiC94X processor, when programming an EPROM with RAMDISK information, it is necessary to locate the RAMDISK information in the EPROM memory as follows:
A.6 -6
Page 73
CPU - Central Processing Unit Module 94X Turbo
For the default 256/512 memory configuration, the RAMDISK is located at 80000. For the optional 384/384 memory configuration, the RAMDISK is located at 60000. When a new version of the system software is issued by Giddings & Lewis, it also can be loaded via the EPROM programmer. The CPU will check the time/date stamp of the system in EPROM and compare it with the system in FLASH. If the system in EPROM is newer than the system in FLASH, it will reprogram the FLASH with the new system. PiC900 Memory Organization
The CPU module contains 1 Megabyte of memory. This memory is divided into four groups. The groups are: 1.
System Memory which is used for executive data, bit memory, and user variables. Specific areas of memory are reserved for each of these functions.
2.
RAMDISK which is used to provide extra memory for program data storage. To access the data on the RAMDISK, you use special I/O commands covered in the software manual. May be loaded from an EPROM in which the data has been programmed.
3.
Application Memory which is where the application program is stored. May be loaded from an EPROM in which an application has been programmed.
4.
System FLASH which contains executive code for the system, diagnostics, etc. May be updated from the PC or loaded from an EPROM in which the system has been programmed.
Figure A6-6 shows the location of the EPROM for the PiC94X.
A.6 -7
Page 74
CPU - Central Processing Unit Module 94X Turbo
So ck et for FM SD ISK
Figure A6-6. Position of the EPROM on the PiC94X
DIAG LED Configure LED Communication LEDs (Not all components shown)
System FLASH
Socket for EPROM
Communication Port
EPROM
PiCPro Port
User Port
Fiber Optic Connections
A.6 -8
Page 75
CPU - Central Processing Unit Module 94X Turbo
Procedure for Installing an EPROM into the Socket
1.
Turn off power at the main disconnect switch. If the CPU is installed in the PiC rack, remove it.
2.
Lay the CPU module on a static-free surface, cover side up. Ground yourself using a properly grounded wrist strap before you open the module. These are standard precautions before handling any electronic components
3.
Press the plastic tabs at the top and bottom of the module toward each other and lift off the module cover. CAUTION Do not touch the pins on the EPROM. EPROM circuitry can be easily damaged. Broken or bent pins prevent the EPROM from functioning properly.
4.
Use Figure A6-6 to see where the EPROM should be placed. If an EPROM occupies the socket already, use a removal tool to remove it.
5.
Use an insertion tool to position the new EPROM over the socket being sure to match the notches. CAUTION Make sure the EPROM is oriented correctly. If it is installed backwards, it may be destroyed when power is turned on to the system. Line up the pins and push it in place.
6.
Replace the module cover. Insert the CPU module in the rack next to the CSM. Turn on power at the main disconnect switch and check the LEDs.
A.6 -9
Page 76
CPU - Central Processing Unit Module 94X Turbo
Specification Table Characteristics
CPU 94X module specifications
Function
Executes the application program. Executes Diagnostics on the system and its modules. Communicates through RS232 port to external devices. Can provide ARCNET and I/O expansion from module Number of servo axes available at six update rates**
CPUs Part Number
Speed
App Mem
RAM User .5 Mem Mem 8 ms 4 ms 2 ms 1 ms ms
.25 ms
80486DX2 502-04111-01
16 MHz
512K
256K
64K
24/12
12/6
6/3
3/2
1
0
Turbo2 80486DX2 502-04111-11* 16 MHz
512K
256K
64K
24/12
12/6
6/3
3/2
1
0
943
32 MHz
512K
256K
64K
32
24/12
12/6
6/3
3/2
1
Turbo2 80486DX2 502-04011-11* 32 MHz
512K
256K
64K
32
24/12
12/6
6/3
3/2
1
945
50 MHz
512K
256K
64K
32
32
24/12
12/6
6/3
3/2
Turbo3 80486DX2 502-03994-11* 50 MHz
512K
256K
64K
32
32
24/12
12/6
6/3
3/2
80486DX4 502-04112-01 100MHz 512K
256K
64K
32
32
32
24/12 12/6
6/3
Turbo3 80486DX4 502-04112-11* 100MHz 512K
256K
64K
32
32
32
24/12 12/6
6/3
Model 941
947
CPU
80486DX2 502-04011-01
80486DX2 502-03994-01
*ARCNET and I/O expansion communications are standard on these modules. ** When two numbers are listed (H/L), the High number is typical when running things like RATIO_GR, RATIOCAM, VEL_STRT, POSITION, DISTANCE move types, etc. The Low number is typical when running time axes, servo tasks, RATIO_RL, M_LINCIR, M_SCRVLC move types, etc. The latter place a heavier burden on CPU time than the former. Consult Giddings & Lewis for assistance if you want to exceed the number of axes in this chart. Flash memory system board (optional)
4 Megabyte FMS Board 502-03882-00 8 Megabyte FMS Board 502-03882-20
Memory
1 Megabyte max.
PiCPro Port (to workstation)
RS232 serial port, secured protocol Software selectable baud rate to 115.2K
User Port (to serial interface device)
RS232 serial port Supports RTS/CTS hardware handshaking Software selectable baud rate to 19.2K
A.6 -10
Page 77
CPU - Central Processing Unit Module 94X Turbo
Logic side power requirements (typical)
Part Number
+5 V
+15 V
-15 V
502-04111-01
700 mA
4 mA
10 mA
502-04011-01
800 mA
4 mA
10 mA
502-03994-01
900 mA
4 mA
10 mA
502-04112-01
1200 mA
4 mA
10 mA
502-04111-11*
900 mA
4 mA
39 mA
502-04011-11*
1000 mA
4 mA
39 mA
502-03994-11*
1100 mA
4 mA
39 mA
502-04112-11*
1400 mA
4 mA
39 mA
All CPUs draw 15 µA from the battery during power down. Operating temperature range
7°C to 55°C (45°F to 131°F)
Storage temperature range
-40°C to 85°C (-40°F to 185°F)
Humidity
5 to 95%, non-condensing
CE Marked
Conforms to Directives 73/23/EEC, 89/336/EEC, 92/31/ EEC, 93/68/EEC by conforming to the following standards: EN 50081-2:1993 EMC Generic Industrial Emissions EN 50082-2:1995 EMC Generic Industrial Immunity EN 61131-2:1994/A11:1996 Low voltage directive requirements for programmable controllers Operates with emissions below EN55011/ CISPR 11 Class A limits Immune to: • Electrostatic discharge (4K V contact mode, 8K V air discharge) per EN61000-4-2 • RF electromagnetic fields per EN61000-4-3, ENV 50141, and ENV50204 • Electrical fast transients per EN61000-4-4 • Magnetic fields per EN61000-4-8 Refer to the EMC Guidelines for more information.
UL and C/UL Listed
File No. E126417 NRAQ Programmable Controllers
Physical size
1.6" wide x 12" high x 8.4" deep (including latch) 41 mm x 305 mm x 213 mm
Vibration (per IEC 68-2-6)
10-57 Hz (constant amplitude .15 mm) 57 - 2000 Hz (acceleration 2 g)
Shock (per IEC 68-2-27)
Four shocks per axis (15g/11 msec) A.6 -11
Page 78
CPU - Central Processing Unit Module 94X Turbo
NOTES
A.6 -12