Example Of A Write Data Program - Omron CS1W-NC113 Manual

Hide thumbs Also See for CS1W-NC113:
Table of Contents

Advertisement

Writing Data with the WRITE DATA Bit

5-2-5 Example of a Write Data Program

Allocation of Areas
Speeds to be Transferred
CIO Area Operating memory Area
A sample program is given below for writing the following speed data to the PCU.
The PCU to be used will be a CS1W-NC413 designated unit number 0.
The common parameter area is from D20000 to D20002.
The operating memory area is from CIO 2000 to CIO 2019.
The beginning word of the operating data area is D00400.
The beginning word address for the data transfer area is D00500, and the data to
be sent is as follows:
Data
Address (transfer
destination)
Speed #0
112C
112D
Speed #1
112E
112F
CPU Unit
WRITE DATA (200012)
Common parameter area
Operating data area
C
DM (transfer source)
00500
00501
00502
00503
PCU (unit number = 0)
Data area
Data transfer
Section
5-2
Setting
03E8
0000 (1,000 pps)
157C
0000 (5,500 pps)
Speed #0
Speed #1
107

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-nc213Cs1w-nc433Cs1w-nc233Cs1w-nc413Cs1w-nc133

Table of Contents