The text of a manual · part 2 of 3
SY/MAX Class 8030 Type RIM126 Eight Channel Isolated Analog-Thermocouple Input Module, pages 9 to 16
Pages 9 to 16 of 22
The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Square D 8030-RIM-126 and Schneider 8030-RIM-126
Page 9
Page 3-2 30598-208 CAUTION: DO NOT CHANGE DIP SWITCH SETTINGS WHEN SYSTEM POWER IS APPLIED. sa0 GROUP RANGE GHOUPI GROUP 2 {swe} |swr{ [swe] [swe] {swe} [swe] [swe [sw] ores Se, - __ 1 SWITCH SELECTION PROCEDURE SANPLE SELECT BORDER SELECT ar a a 1. SELECT GROUP BORDER IF DESIRED (SW10, 1-3] ‘Swio sw10__] PE 2, SELECT RANGES FOR EACH GROUP (SW, 1-8). GRP. 1] GAP. 2 is £3 E TYPE 3. SET RANGE SELECTION SWITCHES FOR EACH INPUT CHANNEL (SW1-SW8). Bono 1-0N PE NOTE: SWI THROUGH SWa FOR CHANNELS 1 THROUGH 8 RESPECTIVELY. NUMBER OF 1-0N CHANNEL 0 OFF pra 4. SELECT NUMBER OF SAMPLES FOR EACH GROUP (SW10. 5-8). ‘SAMPLES 0 - OFF ar 5. SELECT READINGS IN DEG. C OR F FOR THERMOCOUPLE RANGES IF REQUIRED (SW10-4)., - PE 6. SELECT FAST UPDATE OR HIGH ACCURACY AS REQUIRED (SW11-2) pe TEMPEDATUNE READINGS SELECT ‘SW10-4 2 TYPE N DEGREES ¢ - ON sony DEGREES F - OFF CHANNEL RANGE SELECT = 0-20 mA ALTERNATE SCAN SELECT oO ne ug rat GROUP 1 STARTS AT CHANNEL TioV AIA, ore BANGE 0- OFF FOP STARTS AT Te sext rezoma - - GROUP 2 SEQUENTIAL » OFF 3450 m V. 0 olodid: CHANNEL AND ENDS AT 2-37 |ALL THERMOCOUPLES} 1 CHANNEL 8, +10 FAST UPDATE/HIGH ACCURACY SELECT DEViswrevtotoritotite IW 1-2 0-20 mA, 4-20 mA. 0 HIGH ACCURACY - ON norusen f°] ° 1p ty! | SWS | | swio] | swit NOTE: SW11, 3-6 = DONT CARE FAST UPDATE - OFF L. 0-10 V /+-10 V 1fop;iftotijo
3.3 DIP Switch Settings
Figure 3.2 - DIP Switch Summary
Removing the large cover plate on the side of the module provides access to eleven DIP switches. Eight of these switches (SW1 through SW8) are six-position (that is, there are six actuators per switch), and are located on the RIM126 module’s lower (larger) circuit board. The upper (smaller) circuit board contains three additional switches: two of the switches (SW9 and SW10) are eight-position, whi | 3.2. pages for appropriate switch settings., le the third (SW11) is a six-position type. See Figure | See Sections 3.3.1 through 3.3.6 on the following
/\ CAUTION
EQUIPMENT DAMAGE module!
in equipment damage.
DIP switch settings should never be changed while power is applied to the
Failure to observe this precaution can result
/\, CAUTION
Failure to o
EQUIPMENT DAMAGE Switches should not be set in any
[Figure 3.3) other than described in bserve this precaution can result in equipment damage.
3.3.1 Channel Range Selection
DIP switches SW1 through SW8 are used to select the gain, current, and voltage_ranges for through 8 respectively. Sed Figure 3.3} input Channels 1
Positions on SW1 Through SW8 Desired
1 2 3 4 5 6 +50 mV DC 0 1 0 0 1 1 All Thermo- 0 1 0 0 1 1 couples Not Used 0 0 1 1 1 0 0-5 VDC 0 0 1 0 1 0 0-20 mA 0 0 1 1 1 0 1-5 VDC 0 0 1 0 1 0 4-20 mA 0 0 1 1 1 0 +5 VDC 6) 0 1 0 1 0 0-10 VDC 1 0 1 0 1 0 +10 VDC 1 ) 1 0 | 1 0
Figure 3.3 - Channel Range Selection (SW1-SW8)
Page 10
3.3.2 Function Group Range Selection
The eight channels of the RIM126 can be divided into two distinct analog function groups. Each function group assumes the analog range (0-SVDC, 4-20mA, Type T, etc.) assigned it by SW9, assuming that the Channel Range Selection DIP switches are correctly set per Figure [3.3,]Refer to Figure 3.5] If settings for DIP switches SW1 through SW8 do not match SW9 the scaled value will be incorrectly reported by module.
3.3.3 Border Selection
Positions 1 - 3 of DIP switch SW10 are used to separate Function Group 1 inputs from Function Group 2 inputs. Group 1 begins with Channel 1, and ends with the channel that is selected by SW10. The ending channel is included in group 1. Group 2 begins with the channel following the one selected by SWLO. Seq Figure 3.4
EXAMPLE: If SW10 is set to Channel 5, then Group 1 will consist of Channels 1 through 5 and Group 2 will consist of Channels 6 through 8.
Positions on SW10 Desired
1 2 3 1 1 1 1 2 0 1 { 3 1 0 1 4 0 0 1 5 1 1 0 6 0 1 0 7 1 0 0 8 0 0 0
(No Group 2)
Figure 3.4 - Border Selection (SW10)
30598-208 Page 3-3
Positions on SW1 Through SW8 Range | ...-- Grouse ° soup 2 ----- Desired
1 2 3 4/;5 6 7 8
NOT USED 1 1 1 1 1 1 1 1 Type J 0 1 1 1)/0 14 { 1 Type K 1 oOo 14 4/]14 +O 14 1 TypeT 0 0 1 1 0 0 1 1 Type E 1 1 0 1 1 1 0 1 Type N 0 0 0 o0]6 oO 0 oO Type R oO 1 0 14)0 14 0 1 Type S 1 0 0) 1 1 0 0 1 Type B 0 0 0 1 0 0 0 1 Type C 1 1 1 0 1 1 1 0 +50VDC 0 1 1 0 0 1 1 0 0-5VDC 1 0 1 0 1 0 1 0 0-20mA 1 0 1 0 1 0 1 0 0-10VDC 0600 1 o|0o0 oO 1 0 1-5VDC 1 1 0 0 1 1 0 0 4-20mA 1 1 0 0 1 1 0 0 +5VDC 0 1 0.600} (0 1 (ne) +10VDC 1 0 0 0 1 0 0 0
NOTE: 4-20mA and 1-5VDC ranges can be mixed within a single function group since their function group switch positions are identical.
Figure 3.5 - Function Group Range Selection (SW9)
3.3.4 Temperature Readings Selection
Position 4 of DIP switch SW10 selects either °C or °F for the thermocouple temperature ranges (i.e., the value stored in the SY/MAX processor’s register):
* For °C, SW10 position 4 is ON * For °F, SW10 position 4 is OFF
3.3.5 Sample Selection
Positions 5-8 of DIP switch SW10 are used to select software averaging of the input signals on Function Groups 1 and 2. Positions 5 and 6 are used for Group 1, while positions 7 and 8 are used for Group 2. Each sample is placed in a stack, the stack’s contents are averaged, and the average for the number of samples selected is given to the processor. Seq Figure 3.6]
Page 11
Page 3-4 30598-208
Positions on SW10 to Depress Numer of (1 = ON, 0= OFF) Samples 5 6 7 8 1 1 1 1 1 4 0 1 0 1 8 1 0 1 0 32 0 0 0 0
Figure 3.6 - Sample Selection
3.3.6 Alternate Scan Selections
The “NOT USED” setting shown in Figure 3.S]allows the user to turn OFF the scanning of either groups of inputs.
For example, setting switches SW5, SW6, SW7, SW8 to the ON position will allow the RIM126 to scan only Channels 1, 2, 3, 4 and improve the overall update time for these four channels.
The RIM126 normally scans Channels 1-8 sequentially, starting with Channel 1. To accommodate high speed requirements, Channel 1 can be updated by the module after every other channel update:
*« In anormal (sequential) scan, the RIM126 scans the channels like this:
1, 2, 3, 4, 5, 6, 7, 8, 1,...
But in a Channel 1 priority scan, the RIM126 scans like this:
1, 2, 1,3, 1,4, 1, 5, 6, 1,7, 1,8, 1,...
Position 1 of DIP switch SW11 activates the Channel | priority feature.
NOTE: This feature does not apply to the thermocouple ranges.
* For Channel | priority, position 1 of SW11 is ON. * For normal scan, position 1 of SW11 is OFF.
The Alternate Scan Selection changes the channel update time as follows:
* Channel 1 will be updated every 7 ms * Channels 2 - 8 will be updated every 16 ms
3.3.7 Update Rate Selection (Series “B1” or Later)
On RIM126 Series B1 Revision 2.0 or later, two update rates are available - FAST mode and HIGH ACCURACY mode. The FAST mode updates eight high level inputs once every 12 milliseconds and eight thermocouple inputs every 260 milliseconds. The HIGH ACCURACY mode updates eight high level inputs every 24 milliseconds and eight thermocouple inputs every 285 milliseconds.
Position 2 of DIP switch SW11 selects the update rate:
¢ For the FAST mode, position 2 of SW11 is OFF.
e For the HIGH ACCURACY mode, position 2 of SW11 is ON.
NOTE: The Update Rate selection affects both function groups.
The remainder of SW11 is unused.
3.4 Field Wiring Terminations
Each analog input signal, either high or low level, is wired to one pair of RIM126 front panel input terminals. The numbered terminal (1-8) accepts the positive input from the analog source. The “C” terminal (1C-8C) is the common analog ground and accepts the negative input from the analog source along with the shield wire.
For connection to high level signals (4-20mA, 0-5VDC, etc.), it is recommended the wiring used be a shielded twisted pair (Belden 8760 or equivalent), and that the shield be connected to the RIM126 module only. Each of the eight “C” terminals is internally isolated from each other.
For connection to thermocouples, shielded thermocouple extension wire must be used. Thermocouple extension wire has the same temperature-EMF characteristics (made of the same material) as the thermocouple itself. This ensures the accuracy of the thermocouple is maintained. The extension wire shield must be connected to the RIM126 module only.
The typical wiring for both high level analog and low vel the ouple connections is shown in Figures[3.7| Isa] and | 3.9] See | Section 5.2| for additional wiring considerations.
Page 12
INPUT DEVICE ,
WIRING + [oN
TRANSMITTER AA ell ic 2-WIRE + TS 2 . x x
[reste ren XL se wx an 2c] 2c
A oO EXTERNAL cll 3c C = WW 4 zwne 1 Sse ls |l8 raatattren [= I) X22 x2 xX ac
USE BELDEN 8760 CABLE U
Figure 3.7 - Typical 2-Wire Analog Input Wiring
INPUT DEVICE WIRING . 4-WIRE ca ede Lraawntrent= x0 x0ox Xx I 4-WIRE aN ty ty Lraaennsren XL OXI XX | USE BELDEN 8760 CABLE 4-WiIRE a LaaktutsreR _X LUX UX Xd
Figure 3.8 - Typical 4-Wire Analog Input Wiring
THERMOCOUPLE WIRING, . Sart i ee 2 {jc 2c SHIELDED THERMOCOUPLE Cols Ils EXTENSION WIRE LC Jpe} 3c a _ YY + ay a 8 || e OT XT, Co XX XX ko
Figure 3.9 - Typical Thermocouple Input Wiring
30598-208 Page 3-5
3.5 RIM126 Start-Up
3.5.1. Processor Requirements
Before inserting the RIM126 into_the rack, confirm that all DIP switches are correctly sel (Section 3.1.1)
With the rack assembly’s power OFF, and with no input signals applied to any terminals of the RIM126, the module can now be inserted into the appropriate slot in the rack.
If system Rack Addressing has been correctly assigned to recognize the RIM126, and the module’s microprocessor is functioning properly, bits 25 through 32 of the status field for the RIM126 - assigned registers will show the following code at system power-up:
1 = ON, 0 = OFF STATUS | 1 1 0 0 0 1 1 1 BIT # 32 | 31 | 30 | 29 | 28 | 27 | 26 | 25
NOTE: The hex value of the above code (C7) is shown in the slot that is rack addressed to the RIM126.
If the above bit pattern is not found in the registers assigned to the RIM126, then either the system has been misaddressed or the RIM126 has failed its initialization sequence and is sending back an alternate bit pattern to describe the failure. Sed Section 4.1.1 for an explanation of the error codes. The module’s RUN light may also remain OFF.
It is possible that non-zero values may appear in the data field of the processor registers which are monitoring the analog input channels, even when those channels have no input signal connected to them. This may occur when operating on any of the voltage range settings, due to the RIM126’s_ high input impedances and CMOS multiplexing circuitry. To prevent this condition, select the current loop resistors for unused channels by turning position 4 of SW1 through SW8 ON for Channels 1 through 8, as needed.
If a more systematic check of the interaction of the RIM126 module with a processor is needed, the following three sample configurations} can be used.
NOTE: The following examples are intended only as samples of possible configurations, to be used for familiarization purposes. Final actual system layout is dependent upon proper understanding of the system definition or rack addressing as outlined in the programmer instruction bulletin.
Page 13
Page 3-6
30598-208
EXAMPLE 1
HARDWARE CONFIGURATION
Rack Type........... CRK, DRK, GRK or HRK In Register Slot (2) .... RIM126 In CPU Slot (1)....... Model 300 Processor SYSTEM ADDRESSING Comments: CPU Slot............ 0 This configuration Channel............. 0 will assign RIM126 Drop Number ........ 0 input Channels 1-8 Slot Number 1........ 100 to processor registers 101-112. Slot Number 2........ 112 EXAMPLE 2
HARDWARE CONFIGURATION
3.5.2
Indicator Light
Illumination of the green RUN light indicates that the RIM126’s microprocessor is functioning properly, but does NOT necessarily mean that incoming analog signals are being properly converted.
If the RUN light is ON, but the RIM126 is not functioning properly, one of the following conditions may exist:
1.
The slot in which the module is inserted may be misaddressed.
. The user-defined border settings may be invalid.
. The RIM126 may be set for a range that is not compatible with the input device.
. The user-defined range settings may be invalid.
. The RIM126 may be experiencing one of several miscellaneous non-fatal errors.
See|Section 4.1 A] for possible error code conditions, and
Rack Type........... RRK100 or RRK200 InSlotl............. Model 300 Processor In Slot 2............. CRM210 In Slot 3............. RIM126
SYSTEM ADDRESSING Comments: CPU Slot............ 0 This configuration Channel............. 0 will assign analog Drop Number ........ 0 input Channels 1-8 Slot Number 1........ -- to processor registers
101-112.
Slot Number 2........ 100 Slot Number 3........ 112
EXAMPLE 3
HARDWARE CONFIGURATION Rack Type........... RRK100 or RRK200 In Slot 1 and Slot 2... . Model 500 Processor See e tenet e tees (Double-width module)
In Slot 3............. RIM126
SYSTEM ADDRESSING Comments: CPU Slot............ 0 This configuration Channel............. 0 will assign analog Drop Number ........ 0 input Channels 1-8 to processor registers
Slot Number 1........ 460 461-472. Slot Number 2........ --
Slot Number 3........ 472
| Section 6 for troubleshooting procedures.
Page 14
30598-208 Page 4-1
4.0 PROGRAMMING
4.1 Register Usage and Rack Addressing
The Type RIM126 can be assigned from 8 to 12 registers in rack addressing (refer to Section 4.3 below for details). These registers must be assigned to the slot in which the RIM 126 is inserted, and wil] be reserved even if some of the eight input channels on the RIM126 remain unused. For more information on rack addressing, refer to the appropriate SY/MAX processor or programmer instruction bulletin.
4.1.1
[Figure 4.1} a table of bit patterns which may appear in positions 25 through 32 of the status field for the registers assigned to the RIM126. These patterns are generated by the RIM126’s microprocessor.
Status and Error Register Table ern ah 08 Je 86 25) CONDITION
11000111 Normal Operation (Registers 1-10) (C7 in hex)
10000001 Normal Operation (Registers 11 & 12) 01100010 EPROM or RAM Failure 01100000 DC--DC Failure 01010011 Watchdog Failure 00010100 No Card Acknowledged in Slot 01101001 Diagnostics in Progress 00000000 Slot not Addressed
* The hex values of these codes are displayed in the programmer's rack addressing mode.
Figure 4.1 - Status and Error Indictors
See | Section 6.2| for a detailed explanation of these conditions.
4.2 Programming Equipment
Any series of the following types of Class 8010 programming devices can be used with the RIM126:
SY/MAX CRT SPR250, SPR260, SPR300, Programmers SPR310 SY/MATE Personal SYM322/422 Computer Software SYM323/423/533 SYM324/424/534
SFW374, SFW472/473/474
4.3 RIM126 Register Allocation
The RIM126 has twelve 16-bit registers to provide analog input, thermocouple status (open input detection, over/under range), and DIP switch control information.
Figure 4.2 describes these 12 registers and their respective bits. Each of the 12 registers is explained in Section{ 4.3.1] and 4.3.2|
BITS
REGISTER 16 1514131211109 8 765 43 2 1
_
--Decimal Value of Channel 1 Analog Input-- --Decimal Value of Channel 2 Analog !nput-- --Decimai Value of Channel 3 Analog Input-- --Decimal Value of Channel 4 Analog Input-- --Decimal Value of Channel 5 Analog Input-- --Decimal Value of Channel 6 Analog Input-- --Deciam! Value of Channel 7 Analog !nput--
--Decimal Value of Channel 8 Analog Input-- o ON OD OH fF W ND a OO 00000000 UUUUUUUU
DIP Switches 9 (8 /east significant bits) & 10 (8 most significant bits) status.
12 DIP Switch 11 Status
_ oO
_ =
+ = Not Used
| = Thermocouple Open Input Detection
U = Thermocouple Under-range Detection (Bit 10 = Channel 1) 0 = Thermocouple Over-range Detection (Bit 10 = Channel 1) 9 = DIP Switch SW9 Status
10 = DIP Switch SW10 Status
11 = DIP Switch SW11 Status
Figure 4.2 - RIM126 Data Registers
NOTE: In addition to slot keying, DIP switch status can be used in the control program to sound an alarm or prevent the programmable control system from operating should an incorrectly configured RIM126 be inserted into a rack.
4.3.1 Analog Input (Registers 1-8)
The information contained in the first eight registers assigned to the RIM126 represent the decimal values of the eight analog input channels, respectively.
The value stored in the analog input registers may be utilized as would any storage register value (that is, in IFs, LETs, COMM statements, and so on). Valid data in the storage registers can range from I to 9995 (in increments of 5), or in °C or °F for the thermocouple ranges. The values stored in each channel’s register (for
Page 15
Page 4-2 30598-208 all input ranges except thermocouple) indicate to two decimal places (0.00) the percent of full-scale range that is selected for that channel.
EXAMPLE: A midrange (half of full-scale) input for all high level ranges will produce a value of 4995, 5000 or 5005 in that input register. These values relate to 49.95%, 50.00% and 50.05% of full-scale, respectively (depending upon the input source).
Thermocouple values represent temperature in degrees C or F, depending on_the setting of DIP switch SW10’s position four (ee| Section 3.3.4} If type J, K, T or E thermocouples are used, the actual temperature (to one decimal place) appears in the input register.
EXAMPLE: A Type K thermocouple sensing 700 degrees F will produce a value of 6995, 7000 or 7005 in that input register. These values relate to 699.5, 700.0 and 700.5 degrees F respectively (depending on the accuracy of the input source).
Type R, S, B and C thermocouples work similarly, but to zero decimal places.
EXAMPLE: A Type R thermocouple sensing 1600 degrees F will produce a register value of 1596, 1600 or 1604 (depending on the accuracy of the input source).
4.3.2 Thermocouple Status (Registers 9 & 10)
Registers 9 and 10 are used to monitor the status of any thermocouples connected to the RIM126. The bits in these registers can be monitored using the contact symbol to annunciate alarm conditions in a programmable controller system.
NOTE: All thermocouple inputs are given to the SY/MAX processor in engineering units only (i.e., degrees C or F). If one or more of these inputs is intended as an input to a PID loop, the value should be scaled to 0-100% (0 to 9999).
REGISTER 9
Bits 1 through 8 of register 9 turn ON for input channels 1 through 8 respectively when an OPEN thermocouple channel is detected. These bits are OFF during normal thermocouple operation.
Bits 9 through 16 of register 9 are not currently used by the RIM126.
REGISTER 10
Bits 1 through 8 of register 10 tum ON for input channels 1 through 8 respectively when an UNDER- RANGE thermocouple condition is detected. An under-range condition is created when the signal level from the thermocouple drops below the range specified for that input channel. The thermocouple reading is locked at the under-range value when this occurs. The under-range bit also turns ON when an open input is detected. When an in-range value is present the module responds normally, and the under-range bit is turned OFF.
Bits 9 through 16 of register 10 tum ON for input channels 1 through 8 respectively when an OVER- RANGE thermocouple condition is detected. An over-range condition is created when the signal level from the thermocouple rises above the range set for that channel. The thermocouple reading is locked at the over-range value when this occurs. When an in-range value is present the module responds normally, and the over-range bit is turned OFF.
4.3.3 DIP Switch Status (Registers 11 & 12) Registers 11 and 12 are used within the RIMI126 to monitor the status of DIP switches SW9, SW10 and SW11. These registers are READ ONLY: a “1” indicates that position is ON, a “0” indicates that position is OFF. This data can be used in the control program to sound an alarm or prevent the programmable controller system from operating should an incorrectly configured RIM126 be inserted into the rack.
REGISTER 11 monitors SW9 and SW10
Bits 1 through 8 of register 11 represent positions 1-8 on SW9. Seg Section 3.3.2 for a definition of SW9.
Bits 9 through 16 of register 11 represent positions 1-8 on SW10. Seg Section 3.3.3]for a definition of SW10. REGISTER 12 monitors SW11.
Bit 1 of register 12 represents position 1 of SW11. See Section 3.3.6 |for a description of this position.
Bit 2 of register 12 represents position 2 of SW11. See Section 3.3.7] for a description of this position. The remainder of register 12 is not used.
Page 16
4.4 Sample Scaling Programs
Incoming analog signals can be scaled to reflect the actual voltage_or current values being received. The following table| (Figure 4.3) indicates the resolution of the various signa] ranges, and demonstrates mathematically how the register values can be scaled or converted to their actual input values.
al Result i Resolu- Input Programming (Read on Unused egister . 100 in:) | (Per bit) +50mVDC | LET S100 = $109-5000 x10uV | S50uV 0-20mA | LET S100 = S109 X 2 pA 10pA LET $100 = S109/5X8 4-20mA + 4000 pA BLA 0-5VDC | LET S100 =$109/2 mV 2.5mV LET $100 = S109/5X2 1-5VDC +1000 mV 2mv 0-10VDC | LET S100 = S109 mV 5mV +5VDC | LET S100 = S109-5000 mV 5mV s1ovpc | LET S100 = $109 X2 mv | 10mvV
Figure 4.3 - Input Scaling Rungs
The same technique is used to convert a register value to engineering units such as PSI or temperature.
The following conditions apply for the examples in Figure 4.3:
« Register $109 contains the signal being received by the analog input channel. Note that a value of 0 or 9999 in register S109 could be flagged as a limit or out-of-range condition.
* Register $100 contains a mathematical result which has been scaled to reflect the actual voltage or current being input. These registers are used strictly for this purpose.
* Register S101 is any unused storage register.
When converting data the user must be aware of the computational limits of the various SY/MAX processors. For example, the Models 300 and 500 processors are restricted to integer math, whereas the Models 400, 450, 600, 650 and 700 processors can do floating point calculations. Furthermore, the intermediate or final results of a Model 300 calculation cannot exceed +32,767, while in the Model 500 the intermediate result may be
30598-208 Page 4-3
+2,147,483,647 but the final result must be within 432,767.
When performing scaling on a register value, it is wise to observe the most stringent limitation of the processor: No intermediate or final result should exceed +32,767. The following example demonstrates this guideline.
EXAMPLE: A 4 to 20 mA input is being monitored, and is producing a register value of 5000. All variables to solve the transfer equation are provided:
INPUT SIGNAL = 5.00016 .4-49mA 0
Since the relatively large units (mA) being used will cost a great deal of precision, it is better to use microamps instead of milliamps. The equation now becomes:
INPUT SIGNAL = 3.000 x 16,000 , 4~ 12,000L.A 10,000
Assuming the value of 5,000 is in register 9 and that register 101 is an unused storage register, the proper ladder rung to solve the transfer equation is:
LET S0101 = SQ009 / 0005 x 0008 + 4000 which would result in S101 = 12,000 in the example. Note how the wise placement of the mathematical operators prevents the generation of an incorrect result. If the operation was first multiplied by 8, followed by the division by 5, an intermediate result greater than 32,767 would be generated and the calculation would fail in a Model 300.
NOTE: All SY/MAX processors execute math operations strictly left-to-right.
4.5 Program Editing
Ladder rung statements containing analog input registers may be edited as would any other statement containing storage registers.