Dh+ command set – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 69

Advertising
background image

4–3

Publication 1336 FORCE–5.13 –– September, 1998

The PLC Communications Adapter Board supports a limited set of
PC commands by emulating a section of PLC-5 memory. The
memory area emulated determines what specific request or action the
PLC Communications Adapter Board will take.

The following commands are supported:

Command:

Description:

WHO ACTIVE

The station number of the PLC Communications
Adapter Board as defined by its DIP switch settings
is displayed on the WHO ACTIVE screen of the PLC
software. It will read PLC–5/15 1336T next to the
selected station number.

PLC 5 TYPED READ
(N10:1–493)

Memory area N10:1–493 translates into a read
parameter value from the 1336 FORCE. Any
attempt to read outside of this range results in an
error response. The 1336 FORCE interprets the
values 1 through 493 as parameter numbers. For
example, to read the value of parameter 133, the
MSG instruction would request N10:133 with a size
of one element. A size of 10 would read parameters
133 through 142.

PLC 5 TYPED WRITE
(N10:1–493)

Memory area N10:1–493 translates into one or more
write parameter values to the 1336 FORCE. If you
try to write outside of this range, you will get an
error. The 1336 FORCE interprets the values 1
through 493 as parameter numbers. For example, to
write a value to parameter 119 (Preset Speed 1), the
MSG instruction would specify N10:119 with a size
of one element. A size of 10 will write to parameters
119 through 128.

PLC TYPED READ
(N20:0–493)

This request reads the status of the previous
parameter writes (N10:1–493). If a TYPED READ
is specified with a PLC address of N20:0, the write
status of all parameters from the last TYPED WRITE
request (N10:X–XXX) are OR’ed together. If one
error has occurred during the last write operation,
this address contains the parameter number where the
error occurred. If multiple errors occurred, the value
is –1, and the PLC controller can request a TYPED
READ of N20:1–493 to determine which parameters
have had errors.

DH+ Command Set

Advertising