Omron CS1G/H-CPUxx-EV1 Programming Manual page 323

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Serial Communications
Procedure
Set the PLC Setup from a Pro-
gramming Device.
(Settings such as the communica-
tions mode and parameters.)
Power OFF
Connect the host computer and
Set the DIP switch on the front of
Host computer to PLC
Issue host link
Issue FINS
commands from
commands from
the host computer.
the host computer.
Host Link Commands
Header
code
RR
CIO AREA READ
RL
LINK AREA READ
RH
HR AREA READ
RC
PV READ
RG
T/C STATUS READ
RD
DM AREA READ
RJ
AR AREA READ
2. The FINS command is transmitted from the PLC with a host link header
and terminator attached. A program must be prepared in the host comput-
er to analyze the FINS commands and return the proper responses.
Programming Console
Peripheral port: Addresses 144, 145, and 147
RS-232C port: Addresses 160 to 163
Be sure to set the communications mode to host link.
(Refer to CX-Programmer User Manual for CX-Programmer procedures.)
CPU Unit.
Turn pin 4 ON when using the peripheral port.
Turn pin 5 OFF when using the RS-232C port.
the CPU Unit.
Power ON
Execute SEND/RECV/CMND
instructions in the PLC's program.
Receive responses in the host
computer. (A program is required in
the host computer.)
The following table lists the host link commands. Refer to the C-series Host
Link Units System Manual (W143) for more details.
Name
Reads the contents of the specified number of CIO Area words, starting
from the specified word.
Reads the contents of the specified number of Link Area words, start-
ing from the specified word.
Reads the contents of the specified number of Holding Area words,
starting from the specified word.
Reads the contents of the specified number of timer/counter PVs
(present values), starting from the specified timer/counter.
Reads the status of the Completion Flags of the specified number of
timers/counters, starting from the specified timer/counter.
Reads the contents of the specified number of DM Area words, starting
from the specified word.
Reads the contents of the specified number of Auxiliary Area words,
starting from the specified word.
PLC to Host computer
Function
Section 6-3
287

Advertisement

Table of Contents
loading

Table of Contents