Omron CP1H CPU Operation Manual page 391

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Serial Communications
Procedure
Set the PLC Setup from the CX-
(Set the communications mode to
Host Link and set the parameters.)
Connect the CPU Unit and external device
via RS-232C. (Mount the RS-232C Option
Board in option slot 1 or 2.)
Set the DIP switch on the front of
Host computer to PLC
Send FINS
Send Host Link
commands from
commands from
the host computer.
the host computer.
Host Link Commands
Type
Header
code
I/O mem-
RR
CIO AREA READ
ory read
commands
RL
LINK AREA READ
RH
HR AREA READ
RC
PV READ
RG
T/C STATUS READ Reads the status of the Completion Flags of the specified number of timers/
RD
DM AREA READ
RJ
AR AREA READ
Programmer.
Power OFF
Turn pin 4 OFF when suing serial port 1.
the CPU Unit.
Turn pin 5 OFF when suing serial port 2.
Power ON
Execute SEND/RECV/CMND
instructions in the PLC's program.
Return a response from the host
computer. (A program is required in
the host computer.)
The following table lists the host link commands. Refer to the SYSMAC CS/
CJ-series Communications Commands Reference Manual (W342) 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 starting 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.
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-1
357

Advertisement

Table of Contents
loading

Table of Contents