Omron SYSMAC CS Series Programming Manual page 242

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Serial Communications
Procedure
Set the DIP switch on the front
Set the PC Setup from a Program-
(Settings such as the communica-
Turn ON the Port Restart Bit.
Host computer →PC
Issue host link
commands from
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 PC with a host link header and
terminator attached. A program must be prepared in the host computer to
analyze the FINS commands and return the proper responses.
Power OFF
Connect the host computer
and CPU Unit.
of the CPU Unit.
Power ON
ming Device.
tions mode and parameters.)
Issue FINS com-
mands from 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.
• Turn pin 4 ON when using the peripheral port.
• Turn pin 5 OFF when using the RS-232C port.
• Peripheral port: Addresses 144 to 147
• RS-232C port: Addresses 160 to 163
• Be sure to set the communications mode to host link.
• Peripheral port: A52601
• RS-232C port: A52600
PC → Host computer
Execute SEND/RECV/CMND
instructions in the PC's program.
Receive responses in the host
computer. (A program is re-
quired in the host computer.)
Function
Section 6-3
223

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents