background image

19 

6.4.7. L command 

 

function 

  It can be set with or without latch circuit at the time of data input. 

When the ZS-6822A is powered on, it is set to no latch circuit. 

 

format 

Lx 

CR LF   

: x is a number, "0" if no, "1" if yes. 

 

return value 

OK 

CR LF 

 

: Setting complete 

NG 

CR LF 

 

: Setting error, wrong setting error 

 

6.4.8. U command 

 

function 

  This is used to set the signal setting for data output. 

When the ZS-6822A is turned on, it is set to continuous output. 
The pulse width at the time of pulse output is set by the P command. 

 

format 

Ux 

CR LF   

: x is a number, "0" for continuous output and "1" for pulse output. 

 

return value 

OK 

CR LF 

 

: Setting complete 

NG 

CR LF 

 

: Setting error, wrong setting error 

 

6.4.9. B command 

 

function 

  Positive and negative logic settings for the four ports. 

When the ZS-6822A is powered on, all are set to positive logic. 
This command should be performed when the ports are set to input. 

 

format 

Bx 

CR LF   

: x is a number, "0" for positive logic and "1" for negative logic. 

 

return value 

OK 

CR LF 

 

: Setting complete 

NG 

CR LF 

 

: Setting error, wrong setting error 

Summary of Contents for ZS-6822A Series

Page 1: ...1 ZS 6822A Series LAN DIO Adapter instruction manual 1st edition 2 13 37 Honmachi Fuchu City Tokyo 183 0027 Phone 81 42 368 2126 Fax 81 42 364 0067 URL https www zenisu co jp...

Page 2: ...ce Installer 6 5 How to install COM Port Redirector 9 5 1 Installation of COM Port Redirector 9 5 2 Virtual COM port setting 11 6 Operation 14 6 1 Transfer data method 14 6 2 Control Signals 15 6 3 In...

Page 3: ...on to data a control line is provided to synchronize with an external device 3 Specifications 3 1 Operating environment Equipment with LAN port 3 2 LAN Standard IEEE802 3 Media type 10BASE T or 100BAS...

Page 4: ...Small case low price Data connector 50 core flat cable 50 core flat cable Power supply DC4 75V to 5 25V 100mA or less DC4 75V to 5 25V 100mA or less Usage environment Temperature 0 C to 50 C Humidity...

Page 5: ...5 3 5 Appearance and dimensional drawing ZS 6822AP PC board type ZS 6822AS small case type Dimensional drawing ZS 6822AP ZS 6822AS...

Page 6: ...evice Installer If a warning message is displayed click OK ZS 6822A can be recognized the following screen will be displayed MAC address on the warranty card matches the displayed hardware address If...

Page 7: ...7 Enter the value of the address you wish to set in the IP Address section and click Next When the following screen appears click Assign...

Page 8: ...8 After a while the following screen is displayed and the setting is completed Click Finish It will be successful if the IP address has been changed correctly Quit Device Installer...

Page 9: ...s www lantronix com products com port redirector This chapter is not necessary when writing user application programs in TCP IP or UDP IP 5 1 Installation of COM Port Redirector Downloaded from our HP...

Page 10: ...tion and click the Next button Unless otherwise specified the installation destination can be left as is Click the Next button Installation will start Installation will start If the following screen a...

Page 11: ...11 Close button Click the OK button Installation is now complete 5 2 Virtual COM port setting From the start menu select Lantronix CPR Manager to start it A screen like the one below will appear...

Page 12: ...ill be added in Com Ports on the left side of the screen so select it and click Search For Devices the search is complete double click the item displayed in the Device List at the bottom of the screen...

Page 13: ...13 After completing the settings select Com Port Save Setting The following screen will be displayed so select Yes The settings are now complete Close and exit the application...

Page 14: ...de is used for data transfer and one character is converted to 4 bit binary code 4 bit binary LAN data 8 4 2 1 HEX 0 0 0 0 0 0 0 0 1 1 0 0 1 0 2 0 0 1 1 3 0 1 0 0 4 0 1 0 1 5 0 1 1 0 6 0 1 1 1 7 1 0 0...

Page 15: ...3 to D0 of port 4 6 2 Control Signals A control signal is provided to synchronize with the connected device Signal name signal direction explanation STB OUT The adapter completes receiving all data fr...

Page 16: ...data will remain in the missing area pulse output After receiving the data from the PC send the data to the port set for output Set data in 4 bit units in the order of high order and low order Output...

Page 17: ...ve logic of the port 6 4 1 R command function Data is read from all ports that are set as inputs For example if 4 input ports are set the R command will send 8 bytes of data from the ZS 6822A format R...

Page 18: ...at Dxxxx CR LF After D set port port port and port in this order x writes I for IN for input and O for OUT for output return value OK CR LF Setting complete NG CR LF Input output setting error setting...

Page 19: ...continuous output The pulse width at the time of pulse output is set by the P command format Ux CR LF x is a number 0 for continuous output and 1 for pulse output return value OK CR LF Setting comple...

Page 20: ...D6 29 30 D6 D7 31 32 D7 IN LAH 33 34 5V OUT STB 35 36 5V OUT TRG 37 38 5V OUT CLR 39 40 5V NC 41 42 GND NC 43 44 GND NC 45 46 GND NC 47 48 GND NC 49 50 GND Note PIN 34 36 38 and 40 are NC in the forme...

Page 21: ...nder normal conditions of use in accordance with the instruction manual and other notes In the following cases the product will be repaired for a fee even during the warranty period Malfunction or dam...

Reviews: