background image

10

ZFV-C

Non-procedural Communication Command Reference

Acquiring/Sending Data

Acquiring/Sending Data

Flow of XMODEM communication

When you capture image data by entering this command, image data is acquired and sent by XMODEM
communication. The communication flow is as follows:

Host device (personal 

computer)

ZFV-C

BANKSAVE/SYSSAVE command

"READY" reply

Switch XMODEM

Switch XMODEM

Receive request

* 1 packet =128 bytes

(check by CRC)

NAK (a)

128-byte data (BK No. 1)

Start of reply to the request
(BK No. 1 sent)
* No reply when "C" is being sent

Data is successfully received.

* Returns "NAK" if data receive

error has occurred.

ACK

128-byte data (BK No. 2)

(BK No. 2 sent)

Data is successfully received.

ACK

128-byte data (BK No. *)

(BK No. * sent)

Data is successfully received.

ACK

EOT

All data has been completely sent.

XMODEM abort

ACK

OK

Completed

Data acquisition to personal computer from ZFV-C
(issue of SYSSAVE command)

Summary of Contents for ZFV-C

Page 1: ...Smart Sensor ZFV C Non procedural Communication Command Reference Cat No Z244 E1 01...

Page 2: ...the ZFV C When using the ZFV C be sure to observe the following The ZFV C must be operated by personnel knowledgeable in electrical engineering To ensure correct use please read this manual thoroughl...

Page 3: ...ocedural Communication Command Reference Contents Contents Setting the Communication Specifications 2 Format 3 List of Non procedural Commands 4 Parameter List ZFV C 5 Acquiring Sending Data 10 Exampl...

Page 4: ...a USB cable or RS 232C cable to connect ZFV C controllers to external devices For the USB cable connection download and install the USB driver beforehand For the USB driver please contact your OMRON...

Page 5: ...SGET DATAGET BANKGET command The returned value consists of left aligned characters indicating the acquired value and a delimiter Example The returned value is 30 mm VERGET command The returned value...

Page 6: ...ach bank BANKSAVE BANKSAVE bank No 1 to 8 delimiter OK delimiter Receives the bank data from the controller by XMODEM protocol BANKLOAD BANKLOAD delimiter OK delimiter Sends the bank data to the contr...

Page 7: ...put range Remarks 0 36 Light brightness left 0 to 5 DATASET DATAGET compatible 0 37 Light brightness up 0 to 5 0 38 Light brightness right 0 to 5 0 39 Light brightness down 0 to 5 Unit No Parameter No...

Page 8: ...36 Area 3 39 Upper limit value 0 to 999 DATASET DATAGET compatible 2 Area 1 2 37 Area 3 40 Lower limit value 0 to 999 Unit No Parameter No Parameter Setting range output range Remarks 2 0 Judgment 2 m...

Page 9: ...5 Measurement result maximum value 0 to 509 2 6 Measurement result minimum value 0 to 509 2 7 Measurement result average value 0 to 509 2 20 Measurement count 0 to 9999999 2 21 NG count 0 to 9999999...

Page 10: ...urement count 0 to 9999999 2 21 NG count 0 to 9999999 2 22 Fault rate 0 to 99 999 2 38 Threshold 0 to 468 DATASET DATAGET compatible Unit No Parameter No Parameter Setting range output range Remarks 2...

Page 11: ...1 Measured value CHARA1 0 to 127 CHARA2 0 to 100 2 2 Measurement result maximum value CHARA1 0 to 127 CHARA2 0 to 100 2 3 Measurement result minimum value CHARA1 0 to 127 CHARA2 0 to 100 2 4 Measurem...

Page 12: ...Y reply Switch XMODEM Switch XMODEM Receive request 1 packet 128 bytes check by CRC NAK a 128 byte data BK No 1 Start of reply to the request BK No 1 sent No reply when C is being sent Data is success...

Page 13: ...reply to the request BK No 1 sent No reply when C is being sent 128 byte data BK No 1 ACK Data is successfully received Returns NAK if data receive error has occurred BK No 2 sent 128 byte data BK No...

Page 14: ...cribes an example procedure to communicate by non procedural commands using Windows standard tool HyperTerminal 1 Start up HyperTerminal HyperTerminal is located under Program Accessory Communication...

Page 15: ...edural Communication Command Reference Example of Usage 3 Set the communication conditions 4 HyperTerminal is started up 2 To facilitate command transactions set echo and other communication condition...

Page 16: ...e Settings tab and then ASCII Setup 3 Mark the following checkboxes and click OK to complete the setting 3 Set the communication conditions for the ZFV C 1 Set System2 Communication to match the above...

Page 17: ...5 ZFV C Non procedural Communication Command Reference Example of Usage 1 Enter a command and then press the return key 2 The returned value corresponding to the command is returned from the controlle...

Page 18: ...16 ZFV C Non procedural Communication Command Reference Example of Usage MEMO...

Page 19: ...17 ZFV C Non procedural Communication Command Reference Example of Usage MEMO...

Page 20: ...18 ZFV C Non procedural Communication Command Reference Example of Usage MEMO...

Page 21: ...rocedural Communication Command Reference Revision History Revision History Revision code Date Revised contents 01 January 2006 Original production 02 May 2006 Function added as per software version u...

Page 22: ...oto 600 8530 Japan Tel 81 75 344 7068 Fax 81 75 344 7107 Regional Headquarters OMRON EUROPE B V Sensor Business Unit Carl Benz Str 4 D 71154 Nufringen Germany Tel 49 7032 811 0 Fax 49 7032 811 199 OMR...

Reviews: