Serial Communications; Host Link Master - Omron R88A-MCW151-DRT-E Operation Manual

Mcw151 series motion control option board
Table of Contents

Advertisement

Serial Communications

4-1

Serial Communications

MC Unit
Serial Ports
MCW151-E
Port 0: RS-232C (See
note 1)
Port 1: RS-232C
Port 2: RS-422A/485
(See note 2)
MCW151-
Port 0: RS-232C (See
DRT-E
note 1)
Port 1: RS-232C
Devices to connect
4-1-1

Host Link Master

60
Both the MCW151-E as the MCW151-DRT-E provide serial ports for commu-
nication with host-computers, PCs, Programmable Terminals (PTs) and other
general-purpose devices. The MC Units are provided with the following proto-
cols.
• Motion Perfect protocol:
For connection to personal computer
• Host Link:
For connection to PCs, Programmable Terminals, other MC Units
• General-purpose:
For connection to general-purpose external devices
Motion Perfect
Protocol
Yes
No
No
Yes
No
Personal Com-
puter
Note
1. The programming port 0 (RS-232C) can only be used for connection to a
personal computer with the Motion Perfect configuration software.
2. A 4-wire RS-422A connection must be used when using Host Link Com-
munication.
3. For connection to a PC (Host Link Slave), configure the MC Unit as a Host
Link Master. For connection to a Programmable Terminal (Host Link Mas-
ter), configure the MC Unit as a Host Link Slave. When using the Host Link
protocol to communicate between two (or more) MCW151, configure one
MC Unit as Host Link Master and the others as Host Link Slave.
In Host Link Master mode, Host Link commands can be sent from the MC Unit
to a Host Link Slave such as a PC by using BASIC commands. The BASIC
task execution will be paused until the response has been received from the
other device. The following BASIC commands can be used:
BASIC Command
SETCOM
HLM_READ
HLM_WRITE
HLM_COMMAND
HLM_STATUS
HLM_TIMEOUT
Host Link Master
Host Link Slave
(note 3)
No
No
Yes
Yes
Yes
Yes
No
No
Yes
Yes
PCs, MCW151s
Programmable
Terminals,
MCW151s
SETCOM configures the serial communication port,
including enabling the Host Link protocols.
HLM_READ reads data from the Host Link Slave to
either VR or Table memory.
HLM_WRITE writes data to the Host Link Slave
from either VR or Table memory.
HLM_COMMAND executes a specific Host Link
command to the Slave.
HLM_STATUS represents the status of the last
Host Link Master command.
HLM_TIMEOUT defines the Host Link Master time-
out time.
Section 4-1
General Purpose
(note 3)
No
Yes
Yes
No
Yes
General-purpose
external devices
Description

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R88a-mcw151-e

Table of Contents