《matrix 300通讯手册》由会员分享,可在线阅读,更多相关《matrix 300通讯手册(72页珍藏版)》请在金锄头文库上搜索。
1、 HOST MODE PROGRAMMING HOST MODE PROGRAMMING Matrix 300 Matrix 300 Datalogic Automation Srl Via Lavino, 265 40050 - Monte S. Pietro Bologna - Italy Matrix 300 Host Mode Programming Ed.: 07/2013 This manual refers to software release 6.60. 2013 Datalogic Automation S.r.l. ALL RIGHTS RESERVED. Protect
2、ed to the fullest extent under U.S. and international laws. Copying, or altering of this document is prohibited without express written consent from Datalogic Automation S.r.l. Datalogic and the Datalogic logo are registered trademarks of Datalogic S.p.A. in many countries, including the U.S.A. and
3、the E.U. Matrix 300, ID-NET, VisiSet and X-PRESS are trademarks of Datalogic Automation S.r.l. All other brand and product names mentioned herein are for identification purposes only and may be trademarks or registered trademarks of their respective owners. Datalogic shall not be liable for technica
4、l or editorial errors or omissions contained herein, nor for incidental or consequential damages resulting from the use of this material. 11/07/13 iii CONTENTS 1 HOST MODE PROGRAMMING . 1 2 PROGRAMMING COMMANDS . 2 2.1 Connection To Device 2 2.2 Disconnection From Device 2 2.3 Reader Information . 3
5、 2.4 Programmable Button Functions 3 2.5 Other Functions 4 3 PROGRAMMING STRINGS . 5 3.1 Definitions . 5 3.2 How To Send a Single Parameter To The Reader . 8 3.3 How To Get a Single Parameter From The Reader . 9 3.4 Data Storage Commands . 10 3.5 How To Program An ID-NET Slave Reader 13 3.6 How To G
6、et a Single Parameter From An ID-NET Slave Reader . 14 3.7 Examples 17 4 MATRIX 300 PARAMETERS LIST 20 4.1 Operating Mode 20 4.2 Calibration . 22 4.3 Communication . 23 4.4 Ethernet 25 4.5 CBX Ethernet TCP/IP . 27 4.6 WebSentinel . 29 4.7 Transfer Array Image 29 4.8 Reading System Layout 30 4.9 CBX
7、Gateway . 31 4.10 Image Processing . 34 4.11 2D Codes 34 4.12 1D Codes 36 4.13 Postal Codes 39 4.14 Data Collection . 40 4.15 Digital I/O 46 4.16 LEDs And Keypad 53 4.17 Display 56 4.18 Diagnostics . 56 4.19 Match Code 58 4.20 Symbol Verification . 60 4.21 Miscellaneous . 61 4.22 Data Matrix Setting
8、 (for DPM) . 62 A DIRECT COMMANDS FROM HOST . 64 B CBX GATEWAY FIELDBUS RESET . 66 C ASCII TABLE . 67 iv CONVENTIONS The notation in this manual uses angular brackets (), to represent single byte character values which are equivalent. See ASCII Table in appendix C. For special keys or some non-print
9、able characters, the ASCII symbol for the character name is shown between angular brackets. Example: means the ESC key character byte means the start transmission character byte For non-printable characters, the decimal value of the character byte is shown between angular brackets. Example: = Carria
10、ge Return character byte, Line Feed character byte For special commands, the hexadecimal value of the character byte is shown between angular brackets. These commands show the value with an H subscript. Example: 10 = Parameter depth #10 The following representations using these three methods are equ
11、ivalent: = = and each send character byte 0x1B to the reader The program used to generate the strings for Host Mode Programming must be able to manage them correctly. HOST MODE PROGRAMMING 1 1 1 HOST MODE PROGRAMMING An alternative method of programming the Matrix 300 devices is by sending programmi
12、ng strings over one of the serial interfaces. These strings take the form of ESCAPE sequences and are transmitted from the Host system to the Matrix reader on the following interfaces: Auxiliary RS232 serial interface and Main RS232/RS422 serial interface Ethernet interface Optional CBX500 Host Inte
13、rface (Ethernet TCP/IP, Profibus, DeviceNet, etc.). This is called Host Mode programming. In order to send the programming strings, it is necessary to switch the reader into Host Mode. NOTE Digital Outputs 1, 2, 3 can be used to indicate when the device is in Host Mode by setting the related paramet
14、er: Activation Events = Host Control Mode. WARNING VisiSet must not be connected to the reader through the selected interface before entering in Host Mode. Serial Interfaces The programming commands and strings must be sent to the reader at the programmed baud rate of the selected serial interface (
15、e.g. if the baud rate of the Auxiliary interface is programmed at 9600 bps the command must be sent at 9600 bps). Ethernet Interface The programming commands and strings must be sent to the reader at the programmed baud rate using the dedicated Ethernet System Socket (Port Number: 51235) or the conf
16、igured Data Socket Port Number (configurable Port Number). MATRIX 300 HOST MODE PROGRAMMING 2 2 2 PROGRAMMING COMMANDS 2.1 CONNECTION TO DEVICE DESCRIPTION HOST COMMAND REPLY MESSAGE 1 Enter Host Mode C H After entering this command, the device responds with the first reply message and then waits for the following command. 2 Enter Programming Mode B Q After entering this command, the device responds with the second reply message and or one or more programming strings as