Industrial Automation|

New Zealand

Clearance Centre

Sitemap

Contact

OMRON IA Global

 
Ask the Guru

» Send your questions to our experts!


Select Country

 

View frequently asked questions in your country.

Australia Philippines
India Singapore
Indonesia Thailand
Malaysia
New Zealand
Other region

 

Frequently Asked Questions

Digital Panel Meter Topic: No Response to Commands Sent from Host Computer Via Serial Communications

 

FAQ No. FAQ00769

 

Question

There is no response to commands sent from the host computer to the Meter via serial communications. What should I do?


Answer

 

Items to Check

1. Refer to the following diagrams and check the wiring.

RS-232C

• The RS-232C connection configuration is 1:1.

• The maximum cable length is 15 m. To communicate over longer distances, use OMRON Z3RN RS-232C Optical Interfaces or K3SC Interface Converters (use 2 Units).

• Use cable with shielded, twisted-pair wires (28 AWG or thicker).
 
Wiring Diagram

 


RS-422

• The RS-422 connection configuration is 1:1 or 1:N (when using K3SC Interface Converters).

• With the 1:N configuration, up to 32 devices can be connected, including the host computer.

• The maximum total cable length is 500 m.

• Use cable with shielded, twisted-pair wires (28 AWG or thicker).

 

Note: The input power supply is 100 to 240 V for some models and 24 V AC/DC (no polarity) for others.

 


RS-485

• The RS-422 connection configuration is 1:1 or 1:N. With the 1:N configuration, up to 32 devices can be connected, including the host computer.

• The maximum total cable length is 500 m.

• Use cable with shielded, twisted-pair wires (28 AWG or thicker).

 

 

Note 1: RS-485 must be selected as the communications protocol (DIP switch pin 9 OFF). Note 2: The input power supply is 100 to 240 VAC for some models and 24 VAC/DC (no poliarity) for others.

 

2.Verify that the commands are being sent in ASCII, according to the communications format. Refer to the following diagrams for details.

3.Verify that the unit number, baud rate, data bits, stop bits, and parity settings are the same in the host computer and Digital Panel Meter.  For details, refer to the following figures.

Note:
Parameter Example: Unit number, baud rate, data bits, stop bits and parity.


CompoWay/F Communications

If an "H" is added after a number, like (02H) below, the number is expressed in hexadecimal. If the number is shown as a character string in double quotation marks, like "00" below, the number is expressed in ASCII characters.

Command Frame

 

Command Frame

 

Response Frame

 

Response Frame

 

Note: There will be no data if a command frame error occurs (end code other than "00" or "0F").

 

Specifications: STX, Node number, Subaddress, SID, End code, Command text, MRC and SRC, MRES and SRES, ETX and BCC.

 

The BCC result is found by calculating the exclusive OR of the bytes from the node number through ETX.


BCC calculation method: The BCC is the result of an exclusive OR of all bytes from just after STX through ETX.

 


Specialized Communications Protocol
Communications Control Protocol


In the Digital Panel Meter Series, Host Link communications are the conversational type of communications protocol conforming to the PC's host link protocol. The host computer has the transmission right first, and initiates the communications. The transmission right is transferred with each block that is sent. When a command block is sent, a response block is always returned.
 

Host Command Block and Digital Panel Meter Response Block

 

Note 1: The unit number is equivalent to the unit number in the Programmable Controller.

Note 2: When two or more devices are connected, do not duplicate the unit numbers.



Block Formats

The blocks sent from the host computer are called command blocks.

The blocks sent from the Digital Panel Meter are called response blocks.


A block begins with the start character (@) and communications address, and ends with the FCS code and terminator.

 

Block Format

 

The data characters are ASCII. The FCS is the ASCII equivalent of the 8-bit result calculated by performing an exclusive OR on the data from the @ character until the end of the text. Always add the FCS code at the end of the text.

 

Example: FCS Calculation (The following command would actually generate an error and is intended only as a calculation example.):

 

FCS Calculation

 

Applicable models:

K3NX, K3NV, K3NR, K3NP, K3NH, and K3NC Digital Panel Indicators
 

 

 

Other Digital Panel Meter FAQs

 Is it possible to connect two of the K3NR, K3NP, or K3NC Meters to a single open-collector output sensor?

 The sensor is operating normally, but the K3NR’s display is not changing. Why is this happening?

 What is the K3NX Meter’s display accuracy?