EasyManuals Logo
Home>Omron>Controller>SYSMAC CV1000

Omron SYSMAC CV1000 User Manual

Omron SYSMAC CV1000
147 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 #125 background imageLoading...
Page #125 background image
123
Appendix D
Sample Programs Including Commands for
Host Computer
Program Example 1: Data Transfer to Host Computer (SEND)
In this example, the SEND instruction enables the designated word data of the PC to be displayed on the screen of
the host computer after the word data is transferred to the host computer.
Ladder Program for PC
When bit 0000 is ON, the 10-word data of CIO words 100 to 109 is transferred to the host computer connected to
port 1 of the Host Link Unit of unit address 10, node 0, network address 0.
(030)
MOV #000A D00200
0000
00
(030)
MOV #0100 D00201
(030)
MOV #0010 D00202
(030)
MOV #0000 D00203
(193)
SEND 0100 0000 D0020
(030)
MOV #0000 D00204
Contents of Control Data
Word Data Meaning
D00200 000A No. of words transferred: 10
D00201 0100 Port 1 of Host Link Unit Network address: 0
D00202 0010 Node address: 0 Unit address of Host Link Unit: 10
D00203 0000 With response; communications port: 0 No. of re-transmitting operations: 0
D00204 0000 Response monitor time: 0000 (2 s)
BASIC Program for Host Computer
10 ’*************************************************************
20 ’***** CV Host Link Unit (CV500-LK201) *****
30 ’***** Command (SEND instruction) for Host Computer *****
40 ’***** Sample Reception Program *****
50 ’*************************************************************
60 ’*****************************************
70 ’********** Initial setting **********
80 ’*****************************************
90 CLOSE 1
100 ON ERROR GOTO *EROPE

Table of Contents

Other manuals for Omron SYSMAC CV1000

Questions and Answers:

Question and Answer IconNeed help?

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

Omron SYSMAC CV1000 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CV1000
CategoryController
LanguageEnglish

Related product manuals