Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 2 of 5

Operator's Manual CM900 AutoID Interface Module, pages 11 to 20

Pages 11 to 20 of 50

The original document is the PDF (852 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.

For the Datalogic CM900

Page 11

3.2

Indicators

Seven LEDs are mounted on the front of the CM900 module for status indication as shown in Figure 4. The LEDs function as follows: POWER, GREEN when CM900 is fully powered.

ERROR, RED when CM900 has faulted.

COM1 RX, GREEN when receiving on COM1.

COM1 TX, GREEN when transmitting on COM1.

COM2 RX, GREEN when receiving on COM2.

COM2 TX, GREEN when transmitting on COM2.

ANT, YELLOW when the antenna is active.

NOTE: If all serial communication LEDs are on, the CM900 is not connected to 24 VDC power. Refer to Section 3.3 for power connections and specifications.

Figure 4, CM900 LEDs and Connector Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

7

Page 12

3.3 Power Requirements The CM900 backplane is powered directly from the Modicon 984 Compact rack +5VDC supply. The front end must be powered from a user-supplied power supply according to the following specifications: Supply Voltage Min. Current Max. Ripple, - - 24 VDC, +/- 15% 250 mA (750 mA with antenna) 2% of DC voltage

The power supply connects to the two eleven-position terminal strips as shown in the pinout listing in Table 1. EMS recommends the following power supply, or an equivalent: Panasonic Switching Series ETU-24K13 24 VDC at 1.3 Amps Max. Closed Frame FCC Class B radiated noise Ripple 1% of output Load regulation to within 0.8%, 0-100% of rated current If the RFID port is being used, the RFID antenna may also be powered from the same power supply by connecting to the spare power and ground pins on the terminal strips as given in the pinout. If you are powering the RF antenna from the same power supply, a supply capable of 750 mA will be required. Alternatively, the RFID antenna may be powered from a local 24 VDC supply. Voltages between the antennas and the CM900 must conform to RS485 limits; however, it is usually not necessary to maintain a common ground with the CM900 module. See your specific RFID antenna manual or instruction sheet for power and ground pinouts.

8

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

Page 13

3.4 RS232 Serial Interface The connections for the RS232 interface are RS232 TX (data from the CM900), RS232 RX (data to the CM900), and Signal Ground, as shown in Figure 5. The signals and electrical loads from the RS232 TX and RS232 RX pins should conform to the electrical specifications of EIA Standard RS232. The maximum cable length specified under this standard is 50 feet. High quality shielded cable should be used for these connections.

7 8 9

14 15 16

Figure 5, RS232 Connections

Both COM1 and COM2 can be configured for RS232 serial communications.

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

9

Page 14

3.5 RS422 Serial Interface RS422 is recommended for electrically noisy environments. The connections are RS422 TX+ and RS422 TX- (data from the CM900) and RS422 RX+ and RS422 RX- (data to the CM900), as shown in Figure 6. For maximum margin at very long line lengths (over 1000 feet), a 1⁄4 watt, 180 ohm terminating resistor should be provided by the user across the RS422 RX+ and RS422 RX- lines at the CM900, and across the RS422 TX+ and RS422 TXlines at the device being connected. The signals and electrical loads on the pins, as well as the characteristics of the shielded twisted pair cable must conform to the electrical specifications of EIA Standard RS422. The maximum recommended length of an RS422 connection is 4000 feet. High quality shielded cable should be used for these connections.

3 4

5 6

Figure 6, RS422 Connections

Please note that only COM1 supports RS422 serial communications.

10

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

Page 15

3.6 RFID Port Interface Connections to a EMS Read/Write RF antenna are shown in Figure 7. High quality shielded cable (such as Belden 9829 with two wire pairs or Belden 9830 with three pairs) should be used for this connection. The cable shield should be connected to ground at one end only. See your specific antenna manual or instruction sheet for antenna pinouts.

Figure 7 - Connections to Datalogic Antenna

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

11

Page 16

4 TECHNICAL OVERVIEW 4.1 Standard Program & Custom Loadable The CM900 Standard Program supplied with the unit allows the CM900 to perform register transfers to and from the host PLC, manages transfers of up to 100 registers, examines the command register for commands, and executes appropriate tasks. In order to function, the Standard Program requires that the SP1004 Loadable from EMS be installed on the PLC. The custom software loadable can also be used as a starting point when writing custom software.

Figure 8, CM900 and PLC Information Flow

Included on the CM900 Standard Program diskette is a file containing the personality for the CM900 (DL.DAT). The personality is essential to installing the CM900 whether or not you intend to use the SP1004 Loadable or the CM900 Standard Program. See section 5.2 for more information on the CM900 personality.

4.2 C Language Development Package In the event that the user needs different functionality than is provided by the Standard Program, EMS offers the SP1011 C Language Development Package to allow the development of custom C-language application programs. The SP1011 includes source code for the Standard Program, Franklin 8051 Development Tools (Compiler, Assembler, Linker, Librarian, Object-to-HEX file converter), the CM900.LIB custom interface library, and appropriate header files and download utilities.

12

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

Page 17

5 CM900 STANDARD PROGRAM 5.1 Introduction EMS’s CM900 offers the user an unprecedented degree of flexibility in data gathering through its C-programming option. Although this is a key feature, many PLC users will neither want nor need to program the CM900 themselves. It was for this reason that the Standard Application program was developed. The Standard Application Program allows the user to read and write from the CM900’s serial and RFID ports entirely from within the PLC programming environment. In doing so it performs the following tasks: 1) Effects register transfers to and from the PLC via the Compact backplane 2) Manages up to 100 register transfers 3) Scans incoming registers for commands and executes appropriate tasks The Standard Program utilizes a simple command set protocol to communicate back and forth with the PLC. This manual outlines that protocol and provides examples in order to aid the new user in PLC program development.

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

13

Page 18

5.2 Configuring the PLC Before attempting to run the CM900 you must download the SP1004 Loadable and the CM900 personality, modify the GCNFA120.SYS file and traffic-cop the CM900 for 6-register bi-directional binary transfers. CM900 Personality The CM900’s personality must be downloaded to the PLC before it can be traffic-copped. The personality can be found on the standard program diskette supplied with the CM900 under the file name DL.DAT. For help in downloading the personality, refer to the appropriate Modicon manual. Modifying the GCNFA120.SYS File The CM900’s personality must be listed in the GCNFA120.SYS file for it to be recognized by the PLC. Using a standard text editor, add the following line to the list of personalities in the GCNFA120.SYS file: CM900 , 119 , 0 , 12 , 12 , AUTOID INTERFACE, 0, Traffic-Copping Traffic-cop the CM900 for 6-register bi-directional binary transfers. Once the CM900 has been traffic-copped, connections between all components have been properly made, and power is applied, the unit will be ready to accept commands from the PLC. The CM900 accepts new programs through its RS232 programming/debug port (COM2). See the SP1011 Software Manual for details on developing and downloading custom C programs.

14

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

Page 19

5.3 Communication Overview Data is passed back and forth between the CM900 Standard Program and the PLC via the SP1004 Loadable (function block) in blocks of 1 to 100 registers, In the following text Send Data is defined as passing a command from the PLC to the CM900 (PLC ⇒ CM900), and Receive Data as the response from the CM900 to the PLC (CM900 ⇒ PLC). The upper byte of the first register passed to the CM900 is commonly used as a port designator, while the lower byte is reserved for commands. The following example illustrates this base register transfer format. Response from CM900

Command from PLC MSB

LSB

MSB

(Port Address)

(Command #)

(Echo Port Address) (Echo Command #)

(Data)

(Data)

(Data)

(Data)

.

.

.

.

.

.

.

Message Terminator

Message Terminator

Message Terminator

Message Terminator

.

LSB

When the command is sent successfully the CM900 will echo the port address and command. If the command encounters an error the CM900 will echo the port address but will return FFH in the LSB instead of echoing the command. Should this occur, check that all connections have been properly made. The CM900 Standard Program will also pass an error code in the second register passed to the PLC. For a list of the error codes and explanation, please refer to Section 5.7 on page 38. Error response from CM900 MSB

LSB

(Echo Port Address)

FFH

ERROR CODE FFH

FFH

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module

15

Page 20

5.4 Port Addressing The CM900 has one RFID and two serial communication ports. The CM900 Standard Program protocol assigns each port a unique number which is used by the PLC to direct read and write requests. Table 2 provides a complete listing of these numbers, which are encoded in the most significant byte (MSB) of the first register passed to the module in the predefined command set. Table 2 - Standard Program Port Assignments PORT NAME

PORT ADDRESS

ANT

00 Hex

RFID Port Antenna

COM1

01 Hex

Serial Port COM1

COM2

02 Hex

Serial Port COM2

16

DESCRIPTION

Copyright © 2001, Escort Memory Systems Inc. CM900 AutoID Interface Module