![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243164.webp)
149
Command, function and parameter description
Section 6-3
pc_area
The PC memory selection for the Host Link command.
pc_offset
The address of the specified PC memory area to write to. Range: [0, 9999].
length
The number of words of data to be transfered. Range: [1, 29].
mc_area
The MC Unit’s memory selection to read the send data from.
mc_offset
The address of the specified MC Unit memory area to read from. Range for
VR variables: [0, 250]. Range for Table variables: [0, 7999].
See also:
HLM_COMMAND, HLM_READ, HLM_STATUS, HLM_TIMEOUT, SETCOM
Example:
The following example shows how to write 25 words from MC Unit’s VR
addresses 200-224 to the PC EM area addresses 50-74. The PC has Slave
node address 28 and is connected to the RS-232C port.
HLM_WRITE(1,28,PLC_EM,50,25,MC_VR,200)
6-3-95
HLS_MODEL
Type:
Host Link Parameter
Description:
The HLS_MODEL parameter defines the MC Unit model code for the Host
Link Slave protocol. When a Host Link Master gives a PC MODEL READ
(MM) command, the MC Unit will return the code as defined by this parame-
ter.
The MCW151 has been assigned the model code value FA Hex, which is the
default of this parameter. If this model code gives compatibility problems for
the Master, another model code can be assigned. The valid range for this
parameter is [00, FF] Hex.
See also:
HLS_NODE
6-3-96
HLS_NODE
Type:
Host Link Parameter
pc_area
Data area
Host Link
command
PLC_DM
(or value 0)
DM area
RD
PLC_IR
(or value 1)
CIO/IR area
RR
PLC_LR
(or value 2)
LR area
RL
PLC_HR
(or value 3)
HR area
RH
PLC_AR
(or value 4)
AR area
RJ
PLC_EM
(or value 6)
EM area
RE
MC_area
Data area
MC_TABLE
(or value 8)
Table variable array
MC_VR
(or value 9)
Global (VR) variable array