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 8 of 12

CM52 Remote I/O Interface Module Operator's Manual, pages 71 to 80

Pages 71 to 80 of 116

The original document is the PDF (886 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 CM52

Page 71

The Command Flags bit map is shown below. The address of Word 0 is O:rrg where O indicates the output file, rr is the CM52 rack address and g is the CM52 group assignment. Word 0

Word

LSB

Used by scanner for block transfers

MSB

Reserved

LSB

7

6

5

1

4

3

Reserved

MSB

17

16

15

14

13

2

1

0

Digital

Digital

Initiate

Out 2

Out 1

12

11

10

Reserved

The CM52 will respond by setting the Ack flag when it sees the Initiate flag to signal receipt of the command buffer. When the command is completed the CM52 will set the Done (and possibly Error or Timeout) flag in the Input file. The Response Flags bit map is shown below. The address of Word 0 is I:rrg where I indicates the input file, rr is the CM52 rack address and g is the CM52 group assignment. Word

LSB

7

6

5

MSB

17

16

15

0

4

2

1

0

Used by scanner for block transfers 14

Reserved

Word

3

LSB

7

1

6 Reserved

MSB

13

12

11

10

Task 3

Task 2

Task 1

Task 0

Done

Done

Done

Done

5

4

3

2

1

0

Error

Timeout

Done

Ack

Digital In

Digital In

2

1

17

16

15

14

13

12

11

10

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

Addr 07

Addr 06

Addr 05

Addr 04

Addr 03

Addr 02

Addr 01

Addr 00

Ready

Ready

Ready

Ready

Ready

Ready

Ready

Ready

If the CM52 is configured as a 1/2 rack device, the remaining MUX32 status bits will be present in word 2 and word 3.

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

65

Page 72

3.6.4 MUX32 Serial Interface Commands These commands allow specification of which device on the MUX32 multidrop to read or write. When a device on the network has a response ready, it sets the corresponding bit in the Data Ready word of the Response Header. Use the Collect command (Opcode 39) for Read commands (only) to retrieve the data from the device. The Data Ready words may have more than one bit set at a time, indicating multiple devices are ready with responses. The MUX32 Serial Interface commands are divided into four groups General , HMS, General Auto-polled, and HMS Auto-polled. They are explained in the following sub-sections. General MUX32 Commands

MUX32 Read, Opcode 30 Instructs the CM52 to read data from the specified MUX32 slave. A Collect command should be issued via a BTW, to retrieve the data and status once the corresponding Data Ready bit is detected in the response header. The Block Write Transfer is formatted as follows: Word

MSB

15

14

13

12

0

11

LSB

7

6

5

4

3

Reserved Word 1

Word 2

10

9

8

2

1

0

OPCODE 30 (1EH)

MSB LSB

Task Number

Reserved

Reserved MUX32 Address of Slave device Timeout Value (given in 100 ms units, 0 = no timeout)

When the command BTW is complete, set the Initiate bit in the output file.

66

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

Page 73

The Command Flags bit map is shown below. The address of Word 0 is O:rrg where O indicates the output file, rr is the CM52 rack address and g is the CM52 group assignment. Word 0

Word

LSB

Used by scanner for block transfers

MSB

Reserved

LSB

7

6

5

1

4

3

Reserved

MSB

17

16

15

14

13

2

1

0

Digital

Digital

Initiate

Out 2

Out 1

12

11

10

Reserved

The CM52 will respond by setting the Ack flag when it sees the Initiate flag to signal receipt of the command buffer. When the command is completed the CM52 will set the Done (and possibly Error or Timeout) flag in the Input file. The Response Flags bit map is shown below. The address of Word 0 is I:rrg where I indicates the input file, rr is the CM52 rack address and g is the CM52 group assignment. Word

LSB

7

6

5

MSB

17

16

15

0

4

2

1

0

Used by scanner for block transfers 14

Reserved

Word

3

LSB

7

1

6 Reserved

MSB

13

12

11

10

Task 3

Task 2

Task 1

Task 0

Done

Done

Done

Done

5

4

3

2

1

0

Error

Timeout

Done

Ack

Digital In

Digital In

2

1

17

16

15

14

13

12

11

10

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

Addr 07

Addr 06

Addr 05

Addr 04

Addr 03

Addr 02

Addr 01

Addr 00

Ready

Ready

Ready

Ready

Ready

Ready

Ready

Ready

If the CM52 is configured as a 1/2 rack device, the remaining MUX32 status bits will be present in word 2 and word 3.

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

67

Page 74

MUX32 Write, Opcode 31 Writes up to 124 bytes of data to the specified MUX32 slave. The Block Transfer Write is formatted as follows: Word

MSB

15

14

13

12

LSB

7

6

5

4

MSB

Length of data in bytes

0

11

1

Word 2

Word 3

9

8

2

1

0

OPCODE 31 (1FH) 3

Reserved Word

10

Task Number

LSB

MUX32 Address of Slave device

MSB

Data byte 0

LSB

Data byte 1

MSB

Data byte 2

LSB

Data byte 3 etc... (124 bytes max.)

Reserved

When the command BTW is complete, set the Initiate bit in the output file. The Command Flags bit map is shown below. The address of Word 0 is O:rrg where O indicates the output file, rr is the CM52 rack address and g is the CM52 group assignment. Word 0

Word

LSB

Used by scanner for block transfers

MSB LSB

Reserved 7

6

1

5

4

3

Reserved

MSB

17

16

15

14

13

2

1

0

Digital

Digital

Initiate

Out 2

Out 1

12

11

10

Reserved

The CM52 will respond by setting the Ack flag when it sees the Initiate flag to signal receipt of the command buffer. When the command is completed the CM52 will set the Done (and possibly Error) flag in the Input file.

68

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

Page 75

The Response Flags bit map is shown below. The address of Word 0 is I:rrg where I indicates the input file, rr is the CM52 rack address and g is the CM52 group assignment. Word

LSB

7

6

5

0

4

MSB

17

16

15

14

Reserved

Word

3

2

1

0

Used by scanner for block transfers

LSB

7

1

6 Reserved

MSB

13

12

11

10

Task 3

Task 2

Task 1

Task 0

Done

Done

Done

Done

1

5

4

3

2

Digital In

Digital In

Error

Reserved Done

Ack

0

2

1

17

16

15

14

13

12

11

10

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

Addr 07

Addr 06

Addr 05

Addr 04

Addr 03

Addr 02

Addr 01

Addr 00

Ready

Ready

Ready

Ready

Ready

Ready

Ready

Ready

If the CM52 is configured as a 1/2 rack device, the remaining MUX32 status bits will be present in word 2 and word 3.

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

69

Page 76

MUX32 Collect, Opcode 39 This command should be issued to a Slave when its Data ready bit is set. The Collect command resets the Data Ready bit and returns status and data for the previously issued 30-series command. The Block Transfer Write is formatted as follows: Word

MSB

15

14

13

12

0

11

LSB

7

6

5

4

3

Reserved Word 1

10

9

8

2

1

0

OPCODE 39 (27H)

Task Number

MSB LSB

Reserved

Reserved MUX32 Address of Slave device

When the command BTW is complete, set the Initiate bit in the output file. The Command Flags bit map is shown below. The address of Word 0 is O:rrg where O indicates the output file, rr is the CM52 rack address and g is the CM52 group assignment. Word 0

Word

LSB

Used by scanner for block transfers

MSB

Reserved

LSB

7

6

1

5

4

3

Reserved

MSB

17

16

15

14

13

2

1

0

Digital

Digital

Initiate

Out 2

Out 1

12

11

10

Reserved

The CM52 will respond by setting the Ack flag when it sees the Initiate flag to signal receipt of the command buffer. When the command is completed the CM52 will set the Done (and possibly Error) flag in the Input file.

70

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

Page 77

The Response Flags bit map is shown below. The address of Word 0 is I:rrg where I indicates the input file, rr is the CM52 rack address and g is the CM52 group assignment. Word

LSB

7

6

5

0

4

MSB

17

16

15

14

Reserved

Word

3

2

1

0

Used by scanner for block transfers

LSB

7

1

6 Reserved

MSB

13

12

11

10

Task 3

Task 2

Task 1

Task 0

Done

Done

Done

Done

1

5

4

3

2

Digital In

Digital In

Error

Reserved Done

Ack

0

2

1

17

16

15

14

13

12

11

10

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

Addr 07

Addr 06

Addr 05

Addr 04

Addr 03

Addr 02

Addr 01

Addr 00

Ready

Ready

Ready

Ready

Ready

Ready

Ready

Ready

If the CM52 is configured as a 1/2 rack device, the remaining MUX32 status bits will be present in word 2 and word 3. When the DONE flag is detected, issue a Block Transfer Read (BTR) to retrieve the data read from the Tag. The number of words requested can either be an exact number or if you use “0" the CM52 will return all the words retrieved from the last read command. The data will appear in the following format with the first word used for overhead. Word

MSB

0

15

14

13

12

Reserved LSB

7

6

5

4

11

10

9

8

Error

Timeout

Done

Reserved

3

2

1

0

Length of data in bytes Word 1

Word n

MSB

Data byte 0

LSB

Data byte 1

MSB

Data byte (n x 2)

LSB

Data byte (n x 2) + 1

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

71

Page 78

HMS MUX32 Commands

HMS MUX32 Tag Read, Opcode 32 Reads data from the HMS Tag (in range of the specified antenna) over the MUX32 bus. Control is returned immediately. When the Slave’s Data Ready bit is set, issue a Collect command (Opcode 39) to retrieve status and data. The Block Transfer Write data is formatted as follows: Word

MSB

15

14

13

12

0

LSB

7

6

5

4 Reserved

Word 1

11

10

9

8

2

1

0

OPCODE 32 (20H)

MSB

Length of data in bytes

LSB

MUX32 Address of Slave device

3

Task Number

Word 2

Start address in RFID tag

Word 3

Timeout Value (given in 100 ms units, 0 = no timeout)

Reserved

When the command BTW is complete, set the Initiate bit in the output file.

72

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

Page 79

The Command Flags bit map is shown below. The address of Word 0 is O:rrg where O indicates the output file, rr is the CM52 rack address and g is the CM52 group assignment. Word 0

Word

LSB

Used by scanner for block transfers

MSB

Reserved

LSB

7

6

5

1

4

3

Reserved

MSB

17

16

15

14

13

2

1

0

Digital

Digital

Initiate

Out 2

Out 1

12

11

10

Reserved

The CM52 will respond by setting the Ack flag when it sees the Initiate flag to signal receipt of the command buffer. When the command is completed the CM52 will set the Done (and possibly Error) flag in the Input file. The Response Flags bit map is shown below. The address of Word 0 is I:rrg where I indicates the input file, rr is the CM52 rack address and g is the CM52 group assignment. Word

LSB

7

6

5

MSB

17

16

15

0

4

2

1

0

Used by scanner for block transfers 14

Reserved

Word

3

LSB

7

1

6 Reserved

MSB

13

12

11

10

Task 3

Task 2

Task 1

Task 0

Done

Done

Done

Done

1

0

5

4

3

2

Error

Reserved Done

Ack

Digital In

Digital In

2

1

17

16

15

14

13

12

11

10

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

MUX32

Addr 07

Addr 06

Addr 05

Addr 04

Addr 03

Addr 02

Addr 01

Addr 00

Ready

Ready

Ready

Ready

Ready

Ready

Ready

Ready

If the CM52 is configured as a 1/2 rack device, the remaining MUX32 status bits will be present in word 2 and word 3.

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module

73

Page 80

HMS MUX32 Tag Write, Opcode 33 Writes up to 58 bytes of data to the HMS tag in range of the specified antenna. Control is returned immediately. When the Slave’s Data Ready Bit is set, issue a Collect command (Opcode 39) to retrieve status. The Block Transfer Write is formatted as follows: Word

MSB

15

14

13

12

0

11

LSB

7

6

5

4 Reserved

Word 1

Word 2

10

9

8

2

1

0

OPCODE 33 (21H)

MSB

Length of data in bytes. 1-58 bytes

LSB

MUX32 Address of Slave device

3

Task Number

Reserved

Start address in RFID tag

Word 3

Timeout Value (given in 100 ms units, 0 = no timeout)

Word 4

Data byte 0

Word 5

Data byte 1

Word n

Data byte 2 etc.

When the command BTW is complete, set the Initiate bit in the output file.

74

Copyright 1998, Escort Memory Systems CM52 Remote I/O Interface Module