Page 2
OMRON proprietary communication protocol, Compoway/F. 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 thoroughly to deepen your understanding of the product.
List of Parameter Area Writing Commands Commands and Responses Reading Controller Information Operation Instructions 2-10 List of Operation Instruction Commands 2-10 Commands and Responses 2-10 Section 3 Unit Nos. and Parameter Nos. Setting Value Acquisition/Change Commands ZFV-C CompoWay/F Communication Command Reference...
S e c t i o n 1 About Communication Commands How Communication Works Setting the Communication Specifications Command Formats Response Formats Examples of Abnormal End ZFV-C CompoWay/F Communication Command Reference...
ZFV-C controllers have a function for communicating with external devices. Use this function to read the data in ZFV-C controllers from the host and to write the setting data. Communication is achieved via the Command and Response Method based on CompoWay/F, OMRON's proprietary communication protocol.
Change the settings of the controller communication specifications for communicating with the external device by CompoWay/F protocol. Use 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.
* About node No. This node No. indicates the connection group No. as seen from the host device (PLC). Not only ZFV-C but also two or more devices can be connected to the programmable controller. The No. assigned to devices connected to a PLC such as this is referred to as a node No.
Page 8
Command text "0" "0" "00" "0" "30053001" 02Hex 03Hex 37Hex (30Hex) (30Hex) (3030Hex) (30Hex) (3330303533303031Hex) Set the result of calculation, "37Hex," to the BCC section. <Calculation> BCC=30Hex+30Hex+30Hex+30Hex+30Hex+33Hex+30Hex+30Hex+35Hex+33Hex+ 30Hex+30Hex+31Hex+03Hex=37Hex "+" indicates the exclusive OR (XOR) operation. ZFV-C CompoWay/F Communication Command Reference...
End code Refer to the next page. Command text This is the response text section of the command. "Section 2 - Details of Commands" describes these sections by each individual command. Command Format, page 1-4 ZFV-C CompoWay/F Communication Command Reference...
Page 10
Noise may cause response errors or no response. Be sure to retry from the host. It may take three seconds at longest from sending a command to receiving a response. If no response is returned, be sure to send another command after waiting for at least three seconds. ZFV-C CompoWay/F Communication Command Reference...
No subaddress exists, and an invalid BCC is used Command Node No. 02Hex 03Hex Response Node No. Subaddress End code 02Hex "0" "0" "1" "3" 03Hex The subaddress is "00" and the end code is "13" (BCC error). ZFV-C CompoWay/F Communication Command Reference...
List of Parameter Area Read Commands Commands and Responses Writing Parameter Areas List of Parameter Area Writing Commands Commands and Responses Reading Controller Information Operation Instructions 2-10 List of Operation Instruction Commands 2-10 Commands and Responses 2-10 ZFV-C CompoWay/F Communication Command Reference...
•Negative values are expressed as 2's complement. For example, "-100" should be expressed as "FFFFFF9Ch." (*1) •When measured values are abnormal values, the data section is expressed as "7FFFFFFXh" ("X" varies depending on the case). (*1) *1: This is an example of eight characters per element. ZFV-C CompoWay/F Communication Command Reference...
0002h 8001h Example 2: To read the judgment result from a 1CH controller, assign a command as follows: [Data No.]=00h, [Unit No.]=02h, [Machine No.]=0001h Number of Parameter type Read start address elements C000h 0201h 8001h ZFV-C CompoWay/F Communication Command Reference...
Note that the format in the case of a "processing unit data read" command is XXYYh (where, XX: unit No., YY: machine No.) Unit Nos. and Parameter Nos., p.3-1 Number of elements Specify the number of elements corresponding to the parameter type. List of Parameter Area Read Commands, p.2-3 ZFV-C CompoWay/F Communication Command Reference...
Page 16
The specified number of elements is out of range. range error "2203" Operating error This is a read error. "2204" Operating error The sensor's operating mode is other than RUN. "2205" Operating error This is an invalid command. ZFV-C CompoWay/F Communication Command Reference...
Example 2: To set the threshold value of a 1CH controller (ITEM=match), assign a command as follows: [Data No.]=28h, [Unit No.]=02h, [Machine No.]=01h, [Data to be written]=00000050h Number of Data to be Parameter type Read start address elements written C028h 0201h 8001h 00000050h ZFV-C CompoWay/F Communication Command Reference...
List of Parameter Area Write Commands, p.2-6 • Do not issue commands other than specified parameter types. Issuing wrong commands may rewrite internal parameters. If the internal parameters of connected sensors are rewritten, execute the operation instruction command "EEPROM initialization." ZFV-C CompoWay/F Communication Command Reference...
Page 19
Specified number of elements is other than "8001." range error "2203" Operating error Setting is abnormal. Refer to the User's Manual of the ZFV-C for setting error conditions of thresholds and the hysteresis width. "2204" Operating error Operating mode of sensor is other than RUN.
"0000" Normal end No errors occurred. Response codes when an error occurs Response code Error name Cause "1001" Long command length The command is too long. "1002" Short command length The command is too short. ZFV-C CompoWay/F Communication Command Reference...
Related information 1 Specify the channel No. of the controller targeted by the command. Example: In the case of 2CH, specify "02." Related information 2 Normally, a setting other than "0000" is not accepted. ZFV-C 2-10 CompoWay/F Communication Command Reference...
Page 22
The related information specifies the sensor of an error unconnected machine No. "2203" Operating error The setting is abnormal. For details on error conditions, refer to the ZFV-C User's Manual. "2204" Operating error The sensor's operating mode is other than RUN. "2205" Operating error This is an invalid command.
S e c t i o n 3 Unit Nos. and Parameter Nos. Setting Value Acquisition/Change Commands Parameter List (ZFV-C) ZFV-C CompoWay/F Communication Command Reference...
Section 3 Setting Value Acquisition/Change Commands Setting Value Acquisition/Change Commands ■ Parameter List (ZFV-C) "Common" parameters are common regardless of the currently selected item. Also, the parameters under "common" parameters differ according to the currently selected item. ● Common Setting range/output Unit No.
Page 25
0 to 99.999 Average density upper limit value 0 to 255 Read/write Average density lower limit value 0 to 255 Density deviation upper limit value 0 to 127 Density deviation lower limit value 0 to 127 ZFV-C CompoWay/F Communication Command Reference...
Page 26
Measurement result 0 to 999 average value Measurement count 0 to 9999999 NG count 0 to 9999999 Fault rate 0 to 99.999 Upper limit value 0 to 999 Read/write Lower limit value 0 to 999 ZFV-C CompoWay/F Communication Command Reference...
Page 27
Measurement result 0 to 128 average value Measurement count 0 to 9999999 NG count 0 to 9999999 Fault rate 0 to 99.999 Upper limit value 0 to 255 Read/write Lower limit value 0 to 255 ZFV-C CompoWay/F Communication Command Reference...
Page 28
(CHARA1) 0 to 127 average value (CHARA2) 0 to 100 Measurement count 0 to 9999999 NG count 0 to 9999999 Fault rate 0 to 99.999 (CHARA1) Threshold 0 to 100 DATASET/DATAGET compatible (CHARA2) Threshold 0 to 100 ZFV-C CompoWay/F Communication Command Reference...
Page 29
Revision History Revision code Date Revised contents January 2006 Original production May 2006 Function added as per software version upgrade (Ver1.30) July 2007 Page 2-7: Response information added.