background image

SNAP PID MODULE REFERENCE

SNAP PID Module User’s Guide

19

4

PID Inverse

Sets PID output to use an inverted or non-inverted signal.
0 = PID output is not inverted.
1 = PID output is inverted. Inversion occurs only after the PID 
calculation has occurred. For the PID module, output limits and 
outputs made in Manual mode are absolute values and are not 
inverted.

0
(not 
inverted)

Manual

5

(not used)

n/a

n/a

6

(not used)

n/a

n/a

7

PID Mode

Sets SNAP-PID-V module’s calculation mode (Auto/On or 
Manual/Off).
0 = Manual mode (Off). The PID scan timer is stopped and reset. 
Any current PID calculations are cancelled, and all PID variables 
are reinitialized. PID output value is sent to either current or voltage 
outputs. Changes to all PID variables and control bits are allowed, 
as well as direct writes to PID output.

Note:

 If the Process Quality status flag bit is set, Auto mode cannot 

be used until the flag is cleared.
1= Auto mode (On). The PID scan timer is active, and PID values 
are calculated and executed. PID output value is sent 
simultaneously to both current and voltage outputs as a percent of 
the output scale. Changes to scantime variables are ignored, and 
will result in an error. Changes to control bits are allowed except 
where noted. Direct writes to PID output is not allowed.

Note:

 If the Process Quality status flag bit is set, PID output stops 

and PID mode is forced to Manual.

0
(Manual/
Off)

n/a

0*

Setpoint Source

Sets an internal or external source for the setpoint value.
0 = Setpoint obtained from external analog source connected to 
SNAP-PID-V channel 0.
1 = Setpoint obtained from internal value.

0
(external 
source)

Manual or Auto

1*

(not used)

n/a

n/a

2*

(not used)

n/a

n/a

3*

(not used)

n/a

n/a

4*

(not used)

n/a

n/a

5*

(not used)

n/a

n/a

6*

(not used)

n/a

n/a

7*

(not used)

n/a

n/a

* Second 8-bit byte in control word

Bit

Bit Name and Description

Default

To Modify, 
Use Mode...

Summary of Contents for SNAP-PID-V

Page 1: ...3614 Phone 800 321 OPTO 6786 or 951 695 3000 Fax 800 832 OPTO 6786 or 951 695 2712 www opto22 com Product Support Services 800 TEK OPTO 835 6786 or 951 695 3080 Fax 951 695 3017 Email support opto22 c...

Page 2: ...heet for specific warranty information Refer to Opto 22 form number 1042 for complete warranty information Opto 22 FactoryFloor Cyrano Optomux and Pamux are registered trademarks of Opto 22 Generation...

Page 3: ...ioManager Utility Software 7 Entering PID Values 7 Using OptoENET PID Module Tuner Software 8 System Requirements 8 Installing the Software 8 Tuning a PID Loop 9 Step 1 Connect to the SNAP Ethernet B...

Page 4: ...d Bits 18 PID Variables 20 Variables Requiring Calculation 20 Variables Not Requiring Calculation 22 Read Only Variables 23 Status Flag Word 24 Reading a Status Flag 24 Status Flag Bits 24 Binary Hexa...

Page 5: ...troller or other processor SNAP PID V Applications Typical applications for the SNAP PID V module include temperature pressure level flow and process control The SNAP PID V is ideal for remote install...

Page 6: ...n the Opto 22 Web site www opto22 com This software plots PID values against time to provide visual feedback when tuning PID loops Additionally the SNAP PID V can be accessed using OptoControl Opto 22...

Page 7: ...model types of I O units installed third party devices installed for example barcode readers Specific error messages seen Quick Start Check Brain Compatibility The SNAP PID V module can be used with...

Page 8: ...AP PID V modules on the same rack NOTE SNAP PID modules draw considerably more power than a standard SNAP analog or digital module A SNAP B16M SNAP B16MC or SNAP B16MC P rack can handle a maximum of t...

Page 9: ...alog inputs share a common reference and are not isolated from each other 2 Connect PID output wiring to the module as shown in the diagram on the following page PID output can be 4 20 mA current and...

Page 10: ...tails Apply Power to the Rack When you apply power to the rack the top two LEDs on the SNAP PID V blink once See LED Indicators on page 28 for more information on LED functions Configure the SNAP PID...

Page 11: ...variable formulas on page 20 After calculating these values enter them in the appropriate fields on the PID Module screen ioManager utility software was installed on your computer when the SNAP Ethern...

Page 12: ...software works with only one SNAP PID module at a time Up to twelve SNAP PID V modules can be used on a 16 module SNAP rack however and you can use OptoENET PID Module Tuner with different individual...

Page 13: ...ier in this guide Step 1 Connect to the SNAP Ethernet Brain Step 2 Configure PID Parameters Step 3 Run PID Calculations Step 4 Optimize PID Loop Step 1 Connect to the SNAP Ethernet Brain 1 To start Op...

Page 14: ...ue fields will display zero values 6 Enter a scan rate for communicating with the SNAP Ethernet brain This rate determines how often OptoENET PID Module Tuner communicates with the SNAP Ethernet brain...

Page 15: ...the Process Source checkbox Deselect the checkbox to use an external analog input for the process variable c To have PID output use a time proportional TPO signal select the TPO Output checkbox Desel...

Page 16: ...vative SP Setpoint If you need to calculate starting P I D and SP values use the PID velocity algorithm shown on page 17 You can also start PID calculations using the default P I D and SP values that...

Page 17: ...ll appear near the cursor Examples of viewing coordinate values and measuring distances appear below 3 Enter new P I D and SP values in the Tuning Parameters section if necessary and then click Apply...

Page 18: ...cation where you want to save it and then click Save Whenever PID values are graphed in the main window OptoENET PID Module Tuner will record the data listed below in an ASCII text file that you can o...

Page 19: ...I O Memory Map Write Numeric Variable to I O Memory Map Read Numeric Table from I O Memory Map Write Numeric Table to I O Memory Map Finding a PID Module Memory Map Address To determine the hexadecim...

Page 20: ...s to common problems If this information does not solve your problem contact Opto 22 Product Support Contact information is found on page 2 of this guide Ethernet Brain Communications If you are havin...

Page 21: ...algorithm PID Control Word The SNAP PID V module s control settings are configured by modifying a single hexadecimal control word When using ioManager software you need to use the control word to con...

Page 22: ...ple entering 80 in the Control Word field is sufficient See Binary Hexadecimal Conversion Chart on page 25 for a table of 4 bit binary data and equivalent hexadecimal values Control Word Bits Control...

Page 23: ...y status flag bit is set Auto mode cannot be used until the flag is cleared 1 Auto mode On The PID scan timer is active and PID values are calculated and executed PID output value is sent simultaneous...

Page 24: ...ng equation Scantime Base Basetime 01 1 Enter the result in the Scantime Base field in ioManager s PID Module window Range 0 255 10 ms to 2 6 sec 100 ms Manual Scantime Mult also called Scantime Multi...

Page 25: ...antime values you want to use for your PID loop and then solve for DerivRatio Enter the result in the Tune DerivRatio field in ioManager s PID Module window Range 0 000 to 0 9992 0 000 Manual or Auto...

Page 26: ...Variable value used in the PID calculation You can specify a process variable value or select an external source for the value using OptoENET PID Module Tuner software or ioManager s PID Module windo...

Page 27: ...ID is calculated This variable can be used to minimize PID overshoot when there is a large change in a setpoint step Changes to this limit take effect the next time the PID is calculated Range 0 to 40...

Page 28: ...s flag bit The table below illustrates an example of these steps Read the table from right to left to see how you might interpret a status flag word This status flag word shows that bit 4 the Output L...

Page 29: ...he output will not change After the condition is fixed you must change back to Auto Mode The flag will clear when the PID output is calculated 4 Output Lo 1 Output is clamped to the Output Lo clamp va...

Page 30: ...55 996 default 4 000 Derivative range 0 0000 to 0 9999 default 0 000 PID output Resolution Deadband range High Low limits 12 bits 0 to 100 default 0 Low 0 VDC or 4 mA default 0 High 10 VDC or 20 mA de...

Page 31: ...nt 20 ppm C Loop voltage with 250 loop resistance 8 VDC min to 32 VDC max Formula for max loop resistance Loop resistance loop voltage 3 02 Max loop resistance vs loop supply 250 8 VDC min 450 12 VDC...

Page 32: ...me proportional output TPO PID output signals When LED 3 is lit TPO PID output is being used When not lit analog PID output is being used Accuracy full scale 0 05 Drift Gain temperature coefficient Of...

Reviews: