EasyManua.ls Logo

Emerson Unidrive M700 - Page 143

Emerson Unidrive M700
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SI-Ethernet User Guide 143
Issue: 1
Safety
information
Introduction
Mechanical
installation
Electrical
installation
Getting started Parameters
Key features
and Protocols
PC Applications Security Diagnostics
Glossary of
terms
Index
As an example, the following code may be used in the user program:
// Read complete
// Get the LSW value
Address% = BaseAddress% + 5
LSW% = #Address%
// Get the MSW value
Address% = BaseAddress% + 6
MSW% = #Address%
Value% = (LSW% & 0x0000FFFF) | ((MSW% << 16) & 0xFFFF0000)
// Correct for 16bit -ive values
IF Bit32% = 0 THEN
// 16 bit
IF Value%.15 = 1 THEN
// Correct for negative number
Value% = Value% - 65536
ENDIF
ENDIF
BaseAddress% is the parameter specified in S.02.036.
Bit32% specifies the source parameter as 16-bit or 32-bit (0 = 16-bit. 1 = 32-bit).
NOTE

Table of Contents

Other manuals for Emerson Unidrive M700

Related product manuals