EasyManua.ls Logo

Omron SYSMAC NX-CIF101 User Manual

Omron SYSMAC NX-CIF101
232 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #132 background imageLoading...
Page #132 background image
7 Serial Communications
7 - 28
NX-series Communications Interface Units User’s Manual (W540)
7-6 User Programming to Receive Data
If the system configuration does not allow you to use serial communications instructions for CIF Units,
you must program processing for the serial communications protocol in the user program.
This section describes the processing that is pe
rformed to receive data in the user program.
Precautions for Correct Use
Refer to 1-4-2 Conditions for Using Serial Communications Instructions for CIF Units on page
1-8 for detailed conditions on using the serial co
mmunications instructions for CIF Units.
User programming must check the contents of the input notification data that was input from the CIF
Unit. If there is input data, the user programming must store it in the receive buffer.
If the receive data size is larger than the divided data size, the receive data is divided into pieces and
sent in multiple input data.
You can also use the input notification data to see if a
communications error has occurred.
User programming must create the output notification data
and output it to the CIF Unit. By outputting
the output notification data, the communications master tells the CIF Unit whether it received the input
notification data normally.
Depending on the communications protocol of the seria
l
communications device that is the source of
the receive data, there may be settings made for the reception start condition and reception completion
condition for the receive data.
The user programming must interpret the contents of th
e re
ceive data and determine when the recep-
tion start condition and reception completion condition are met.
However, if Number of Characters to
Determine the End is set as the reception completion condition,
you can check the End Detected in the Port Status in the input notification data to see if the reception
completion condition is met.
For protocols in which the receive data contains a CRC or other check code, the user programming
must
p
erform processing to confirm the check codes.
Observe the following precautions when you write the user pr
ogramming to receive data from the serial
line.
In each I/O refresh cycle, the CIF Unit sends the receive data in the
receive buffer to the CPU Unit or
communications master. Therefore, even if the size of receive data in the receive buffer is less than the
divided data size, the receive data is sent to the CPU Unit or communications master when I/O is
refreshed.
7-6-1 Checking Input Notification Data
7-6-2 Creating and Outputting Output Notification Data
7-6-3 Determining Conditions to Start Reception and Conditions for the
Completion of the Reception
7-6-4 Precautions for Writing User Programming to Receive Data
Operation When the Size of Receive Data in the Receive Buffer Is
Less Than the Divided Data Size

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC NX-CIF101 and is the answer not in the manual?

Omron SYSMAC NX-CIF101 Specifications

General IconGeneral
Compatible SeriesNX Series
Power Supply24 VDC
Mounting TypeDIN Rail
Communication StandardEthernet
ModelNX-CIF101
ManufacturerOmron
Communication ProtocolEthernet/IP
SeriesNX
CategoryCommunication
FunctionEthernet communication

Summary

Features and System Configuration

Features of Communications Interface Units

Describes the features of Communications Interface Units.

Specifications and Application Procedures

Specifications

Provides general and individual unit specifications for CIF Units.

Part Names and Functions

Installation and Wiring

Connecting the Power Supply and Ground Wires

Guides on wiring power supply and ground for CIF Units.

Wiring the Terminals

Explains how to wire terminals on CIF Units.

Wiring Communications

Details how to wire CIF Units for communications.

I/O Data Specifications

I/O Data Specifications for NX-CIF101 and NX-CIF105

Details I/O data specifications for NX-CIF101 and NX-CIF105.

I/O Data Specifications for NX-CIF210

Details I/O data specifications for NX-CIF210.

Unit Settings

Unit Operation Settings

Covers communications specifications, transmission buffering, and event levels.

Serial Communications

Examples of Communications between CPU Unit or Communications Master and CIF Unit

Provides examples of data transfer between CPU/master and CIF Unit.

Communications Performance

Explains how to calculate and improve communications performance.

Adjusting Divided Data Sizes to Improve Communications Performance

Guides on optimizing divided data sizes for better communication performance.

Serial Line Monitor

Troubleshooting

How to Check for Errors

Methods for checking errors using indicators or support software.

Checking for Errors with the Indicators

Explains how to interpret TS indicator status for errors.

Checking for Errors and Troubleshooting on the Support Software

Details error checking and troubleshooting using support software.

Related product manuals