Allen-Bradley MicroLogix 1400 Instruction Manual page 212

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
210
Math Instructions
SCP Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 92.
Parameter
Input (x)
Input Min. (x
)
0
Input Max. (x
)
1
Scaled Min. (y
)
0
Scaled Max. (y
)
1
Output (y)
(1) PTOX and PWMX files are only for use with MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.
Publication 1766-RM001A-EN-P - October 2008
Data Files
You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX,
IMPORTANT
PWMX, STI, EII, BHI, MMI, CS, IOS, and DLS files.
Do not use the High Speed Counter Accumulator (HSC.ACC) for the Scaled
IMPORTANT
Output parameter in the SCP instruction.
Special Considerations when Using Floating Point Parameters
If any of the parameters (except Output) are NAN (not a number),
Infinity, or De-normalized; then the result is -NAN.
If y
- y
or x
- x
1
0
1
Other Considerations
If y
- y
= 0, the Result becomes the Scaled Start value
1
0
If x
- x
= 0 and x = x
1
0
If x
- x
= 0 and x does not equal x
1
0
overflow (for integer values) or a negative NAN (for floating point values)
(1)
Function Files
result in an overflow, then the result is -NAN
0
, the Result becomes the Scaled Start value
0
, The Result becomes a negative
0
Address
Address Level
(2)
Mode

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents