Modbus support, For more information – Rockwell Automation 1794-L34 FlexLogix Controller System User Manual User Manual

Page 38

Advertising
background image

Publication 1794-UM001G-EN-P - January 2007

38 Communicate over Networks

Convert data to or from ASCII characters

For more information...

The Logix5000 Controllers General Instructions Reference Manual,
1756-RM003 defines the instructions you can use to manipulate ASCII
characters.

The Logix5000 Controllers Common Procedures Manual, 1756-PM001
provides information on how to:

• communicate with an ASCII device
• transmit/receive ASCII characters

Modbus support

To use Logix5000 controllers on Modbus, you connect through the
serial port and execute specific ladder logic routines. A sample
controller project is available with RSLogix 5000 Enterprise
programming software. From RSLogix 5000 software, select Help

Vendor Sample Projects to display a list of available, sample projects.

If you want to:

Use this instruction:

convert the ASCII representation of an integer value to a SINT,
INT, DINT, or REAL value

STOD

convert the ASCII representation of a floating-point value to a
REAL value

STOR

convert a SINT, INT, DINT, or REAL value to a string of ASCII
characters

DTOS

convert a REAL value to a string of ASCII characters

RTOS

convert the letters in a string of ASCII characters to upper case

UPPER

convert the letters in a string of ASCII characters to lower case

LOWER

See:

Logix5000 Controllers as Masters

or Slaves on Modbus Application
Solution
, CIG-AP129

Advertising