资源预览内容
第1页 / 共72页
第2页 / 共72页
第3页 / 共72页
第4页 / 共72页
第5页 / 共72页
第6页 / 共72页
第7页 / 共72页
第8页 / 共72页
第9页 / 共72页
第10页 / 共72页
亲,该文档总共72页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
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. Protected 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 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 technical 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 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 Get 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 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 (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-printable 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: = Carriage 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 equivalent: = = 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 programming 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 Interface (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 parameter: 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 (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 configured 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
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号