The text of a spec sheet · part 2 of 2
Series 90 PLC Serial Communications User's Manual, Chapter 2: The Communications Coprocessor Modules, pages 9 to 15
Pages 9 to 15 of 15
The original document is the PDF (211 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.
Filed in the catalog under the GE Fanuc IC693CPU311X
Page 9
CCM Modules
2
Installing the CMM in the Rack To install the CMM in the rack, follow these steps: 1.
Set the PLC CPU to STOP. This will prevent the local PLC application program, if any, from initiating any command that may affect the operation of the module.
2.
Power down the Series 90 PLC system.
3.
Locate the desired rack and slot.
4.
Slide the CMM completely into the slot. The three LEDs will be at the top of the board.
5.
Press down firmly to lock the board in place, but do not use excessive force.
6.
Power up the PLC rack. The top LED (MODULE OK) of the Series 90-70 CMM will flash during power-up diagnostics. It continues to flash while waiting for configuration data from the CPU. If no signal is received across the backplane for 30 seconds, the Series 90-70 CMM will assume the CPU is not there and continue to power up without it. Once the CMM is ready, this LED should stop flashing and remain ON.
Note The top LED (MODULE OK) of the Series 90-30 CMM will not light if the PLC is not present, or if the CMM fails its power-up diagnostics. 7.
Repeat this procedure for each CMM.
Troubleshooting After completing the above steps to install the CMM, the MODULE OK (BD OK) LED should be on continuously. If it is not, the problem may be either that the LED is burned out, or the board has not passed diagnostics. Follow this procedure to determine the cause of the problem:
GFK-0582D
1.
Make sure that power to the rack is on, the PLC is okay, and that the CMM is seated properly.
2.
Check the PLC fault table using the programming software. If there is a bad or missing module fault, the board may be defective; otherwise, contact the GE Fanuc Technical Support Hotline for assistance. The GE Fanuc PLC Technical Support Hotline can be reached at 1-800-GE FANUC (1-800-433-2682), or International direct dial 804-978-6036.
3.
Change the CMM config to SNP (RS-232 is needed), and run the programming software through the CMM using either the IC690CBL702 (9-pin AT) or IC690CBL705 (25-pin PS-2) cable.
Chapter 2 The Communications Coprocessor Modules
2–9
Page 10
2
Configuring the CMM Configuring the CMM through the programming software is a two-part procedure: !
I/O Rack Configuration
!
Module Configuration (Soft Switch Data)
I/O Rack Configuration The Series 90 I/O Rack Configuration software is used to define the type and location of all modules present in the PLC racks. This is done by completing setup screens which represent the modules in a rack. Specific configuration settings for individual modules can then be selected. The configuration data is saved in a configuration file which is then stored to the Series 90 PLC.
Series 90-70 PLCs A rack in the Series 90-70 PLC can be used as a main CPU rack or as an expansion rack. Racks are available that have either 5 or 9 slots for modules, plus provision for a power supply or power supply connection in the leftmost slot. The rack shown in the previous illustration has 9 slots for modules. The rack in which the CPU resides requires a power supply in slot PS and a CPU module in slot 1. Slot 1 in the CPU rack is reserved for the CPU module; in an expansion rack, slot 1 is reserved for the Bus Receiver Module (BRM). A Bus Transmitter Module must be installed in slot 2 of rack 0 if it is a version B (or later) module; version A of the BTM must be located to the right of all other GE Fanuc boards. The BTM is required for parallel communications with the programmer, or if multiple racks are to be in a system. The remaining slots can contain combinations of I/O or intelligent modules to suit the application program. The CMM can be installed in any slot, except for slot 1, in any rack in the system. There can be no empty slots to the left of option modules or I/O modules using interrupts (unless a Blank Slot Interrupt Jumper is installed in the empty slot) in a Series 90-70 PLC system. If more I/O is required in the system than can be contained in a single rack, additional racks can be added to the system, up to a maximum of eight racks (including the CPU rack).
Series 90-30 PLCs For Series 90-30 PLCs, the CMM must reside in the CPU rack (baseplate). There is a slot for the power supply and slot 1 is reserved for the CPU module; the CMM can reside in any other slot. There are no Bus Expansion Modules as there are for the Series 90-70 PLCs.
CMM Configuration Modes The CMM configuration mode selects the communication protocol for each serial port on the module. There are nine possible configuration modes for the CMM module:
2–10
!
CCM ONLY - CCM protocol on both ports
!
CCM/RTU - CCM protocol on port 1, RTU protocol on port 2
!
RTU/CCM - RTU protocol on port 1, CCM protocol on port 2
Series 90 PLC Serial Communications User’s Manual – November 2000
GFK-0582D
Page 11
CCM Modules
!
RTU ONLY - RTU protocol on both ports
!
SNP ONLY - SNP and SNP-X protocols on both ports
!
SNP/CCM - SNP and SNP-X protocols on port 1, CCM protocol on port 2
!
CCM/SNP - CCM protocol on port 1, SNP and SNP-X protocols on port 2
!
SNP/RTU - SNP and SNP-X protocols on port 1, RTU protocol on port 2
!
RTU/SNP - RTU protocol on port 1, SNP and SNP-X protocols on port 2
2
A different Soft Switch Data Screen is displayed for each configuration mode. The factory default is CCM protocol on both ports. Make sure that the proper protocol is selected. If you are using SNP multidrop, make sure that the proper SNP ID has been stored to the PLC CPU. Note: If you change the CMM’s SNP ID via the programming software, it is necessary to reset the CMM in order for the new SNP ID to take effect. Resetting the CMM can be done by either pressing the CMM’s “Restart” pushbutton, or by power–cycling the PLC rack that contains the CMM.
GFK-0582D
Chapter 2 The Communications Coprocessor Modules
2–11
Page 12
2 Description of Communications Parameters The tables below describe the communications parameters available for each serial protocol on the CMM module:
Table 2-1. CCM Communications Parameters Field CCM Enable CCM Mode Interface1 Data Rate Flow Control Parity Retry Count Timeout Modem Turnaround Delay CCM CPU ID
Range YES, NO SLAVE, MASTER, PEER RS232, RS485 300, 600, 1200, 2400, 4800, 9600, 19200 NONE, HARDWARE ODD, NONE NORMAL, SHORT LONG, MEDIUM, SHORT, NONE NONE, 10 ms, 100 ms, 500 ms 1-254
Default YES SLAVE RS232 19200 NONE ODD NORMAL LONG NONE 1
Table 2-2. RTU Communications Parameters Field RTU Enable Interface1 Data Rate Flow Control Parity Station Address
Range YES, NO RS232, RS485 300, 600, 1200, 2400, 4800, 9600, 19200 NONE, HARDWARE ODD, EVEN, NONE 1 - 247
Default YES RS232 19200 NONE ODD 1
Table 2-3. SNP Communications Parameters Field SNP Enable SNP Mode Interface1 Data Rate Flow Control Parity Stop Bits Timeout Modem Turnaround Delay
Range YES, NO SLAVE, MASTER RS485, RS232 300, 600, 1200, 2400, 4800, 9600, 19200 NONE, HARDWARE ODD, EVEN, NONE 1, 2 LONG, MEDIUM, SHORT, NONE NONE, 10 ms, 100 ms, 500 ms
Default YES SLAVE RS485 19200 NONE ODD 1 LONG NONE
1 For the CMM311 module, port 1 is RS-232 only.
2–12
Series 90 PLC Serial Communications User’s Manual – November 2000
GFK-0582D
Page 13
CCM Modules
2
Notes on Communication Parameters Interface. (CCM, RTU, and SNP) The Interface field specifies the type of electrical interface used at this serial port. Valid selections are RS-485 or RS-232. Note that for the CMM311 module, port 1 operates as RS-232 only. Flow Control. (CCM, RTU, and SNP) The Flow Control field specifies the method of flow control to use at this serial port. Valid selections are NONE or HARDWARE. The timing diagrams below illustrate the state of the flow control lines for flow control = NONE and HARDWARE. Note: The CMM modules do not support harware flow control when used with an RS–485 interface. The NONE selection makes use of the signals Transmit Data (TD) and Receive Data (RD) only. The signal Request to Send (RTS), however, is used as a modem keying signal. The RTS signal is energized for the Modem Turnaround Delay interval and during the character transmission; the RTS signal is then immediately de-energized.
RTS (from CMM)
TD (from CMM)
Figure 2-7. Flow Control = NONE, MODEM TURNAROUND DELAY=0
RTS (from CMM)
100 ms
TD (from CMM)
Figure 2-8. Flow Control = NONE, MODEM TURNAROUND DELAY=100 ms The HARDWARE selection makes use of the Transmit Data (TD), Receive Data (RD), Request to Send (RTS, Clear to Send (CTS), Data Carrier Detect (DCD), and Data Terminal Ready (DTR). The signals are used in the manner specified by the RS-232 and RS-422/RS-485 electrical standards; these signals are described below: GFK-0582D
Chapter 2 The Communications Coprocessor Modules
2–13
Page 14
2
RTS (from CMM)
Max. of 2 sec.
CTS (to CMM)
TD (from CMM)
Figure 2-9. Flow Control = HARDWARE Request to Send (RTS) and Clear to Send (CTS). These signals are used to control the transmission of data to the remote device. The RTS signal is asserted at the beginning of each transmission by the CMM. The actual characters are not transmitted, however, until the CTS signal is returned. Once the characters are transmitted, the RTS signal is immediately removed. As in the case of NONE flow control, a nonzero Modem Turnaround Delay is NOT used to control the operation of the RTS signal. It is simply used to adjust the appropriate protocol timers for any delay in receiving the CTS signal once the RTS signal is asserted. Data Carrier Detect (DCD) and Data Terminal Ready (DTR). These signals are used to control the reception of data from the remote device. The DCD signal, when received from the remote device, essentially forms a request to the CMM to prepare for reception of data. The CMM, in turn, asserts the DTR signal when it is prepared to receive the data. In the CMM, DTR is always asserted; it is never turned off. Timeout. (CCM) The Timeout field displays the length of timeouts used for CCM on the target port. Valid selections are LONG, MEDIUM, SHORT, or NONE. Timeout. (SNP) The Timeout field specifies a set of values for each of the SNP timers. Valid selections include LONG, MEDIUM, SHORT, or NONE. The SNP Timeout selections and the related timer values are specified in the following table. The timers in the second half of the table are derived from earlier timer values via the specified equation. Modem Turnaround Delay. (CCM and SNP Only) The Modem Turnaround Delay field specifies the length of time required by the intervening modems to turn the link around. In the case that NONE flow control is selected, the Modem Turnaround Delay also specifies the length of time that the Request to Send (RTS) signal is asserted before any characters are transmitted. Valid selections are NONE, 10 ms, 100 ms, or 500 ms.
Note Timeout values used by Logicmaster 90 software and the Series 90-70 and 90-30 CPUs are also listed for comparison. 2–14
Series 90 PLC Serial Communications User’s Manual – November 2000
GFK-0582D
Page 15
CCM Modules
2
Table 2-4. SNP Timer Values for Timeout Selections SNP Timer T1 T2 T3’ T4 T5 Transmission Delay1 COMMREQ timeout2 T3 T3’’ T5’ T5’’
None
Short
Medium
Long
LM90
90-30
5 ms 5 ms 5 ms 5 ms 10 ms 5 ms 2 sec 500 ms 1 sec 2 sec 3 sec 1 sec Disabled 5 sec 10 sec 10 sec 10 sec 10 sec 50 ms 50 ms 50 ms 50 ms 100 ms N/A Disabled 2 sec 5 sec Disabled 10 sec 10 sec 0 sec 0 sec 0 sec 0 sec 0 sec 0 sec 30 sec 30 sec 30 sec 30 sec N/A N/A T3’ - 80 character times T3 + 65 seconds T5 + 80 character times T5 + Transmission Delay + twice next message transmission time.
90-70 5 ms 500 ms 10 sec N/A 10 sec 0 sec N/A
1 The Transmission Delay specifies the length of time required for the data to transfer from the initiating device to the responding device. This duration is also referred to as the wire time. Examples where this value may be changed to a non-zero value include instances where satellite links are used to transfer data. 2 The COMMREQ Timeout specifies the maximum length of time that a COMMREQ can remain in process.
If the COMMREQ command cannot be completed before this time interval, the COMMREQ processing is terminated, and an error code is returned in the COMMREQ Status Word indicating that a COMMREQ timeout has occurred.
See the “SNP Timers” section of Chapter 7, Protocol Definition, for a complete description of the SNP timers.
GFK-0582D
Chapter 2 The Communications Coprocessor Modules
2–15