background image

Limit Switch Functionality

ADVANCED MICRO CONTROLS INC.

2

18

Global Machine Position  (continued)

Advanced Parameter Use

If your transducer completes less than one rotation for every part cycle on the machine, the Counts per Cycle 
parameter can be used to force the Global Machine Position to return to zero before the transducer completes 
a full rotation.  Table 2.1 shows how the Counts per Cycle parameter affects the roll over position for a 
resolver transducer.

Table 2.1  Roll Over Example 1: 4096 Count Transducer

The resolver will remain an absolute sensor if the Counts per Cycle parameter is programmed 
to be a power of 2.  (2, 4, 8, ... 1024, 2048, 4096).  If any other value is used, the machine posi-
tion may be incorrect if the resolver shaft is rotated while power is removed from the machine.

Table 2.2 shows how the Counts per Cycle parameter affects the roll over position for a 2,000 count (500 line) 
encoder.

Table 2.2  Roll Over Example 2: 2000 Count Encoder

Global Machine Speed

Global Machine Speed is the shaft speed in RPM.  Global Machine Speed is updated every 14.6 milliseconds 
and is averaged using an exponentially weighted moving average.  A single parameter sets the smoothing fac-
tor for the filter.

RPM Filter: 

[Range of 0 to 65,535, Default of 40,960] The smoothing factor (

k

 below) is a value that is 

equal to the RPM Filter / 65,536.  The formula below shows how the smoothing factor is used when cal-
culating the Global Machine Speed: 

Where:

S

t

 = Next Global Machine Speed to be reported

S

t-1

 = Last reported Global Machine Speed

k

 = RPM FIlter / 65,536

X

t

 = Measured RPM Value

When the RPM Filter value, and therefore 

k,

 is near zero, the last reported Global Machine Speed is almost 

completely eliminated and the latest Measured RPM Value is primarily what is reported.  This is a signal 
without much filtering and it quickly responds to changes in the machine speed.

As the RPM Filter approaches its maximum value, and 

k

 approaches 1, the latest Measured RPM Value is  

attenuated more and more.  The Global Machine Speed in more heavily filtered and more slowly responds to 
changes in machine speed.

The default RPM Filter value yields a smoothing factor of 0.625.  

Counts per Cycle

Full Scale Count

Results

4096

360

360 counts (0 to 359) over one turn of the transducer

3072

2700

2700 counts (0 to 3699) over 3/4 of a turn of the transducer

2048

360

360 counts (0 to 359) over 1/2 of a turn of the transducer

1024

90

90 counts (0 to 89) over 1/4 of a turn of the transducer

Counts per Cycle

Full Scale Count

Results

2000

1440

1440 counts (0 to 1439) over one turn of the transducer

1500

810

810 counts (0 to 809) over 3/4 of a turn of the transducer

1000

360

360 counts (0 to 359) over 1/2 of a turn of the transducer

500

90

90 counts (0 to 89) over 1/4 of a turn of the transducer

S

t

k S

t

1

1

k

X

t

+

=

Summary of Contents for ANS1 ANYNET-I/O

Page 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0A090...

Page 2: ...ce free of charge any equipment covered by this warranty which is returned shipping charges prepaid within eighteen months from date of invoice and which upon examination proves to be defective in mat...

Page 3: ...ch Functionality Global Machine Position 17 Advanced Parameter Use 18 Global Machine Speed 18 Chapter 2 Limit Switch Functionality continued Limit Switch Outputs 19 Limit Switch Offset 19 Stitch Progr...

Page 4: ...ng 52 HTTP Interface 52 Chapter 5 Output Data Format Command Word 53 Command Block 0 Clear Errors Only 53 Command Block 1 Define Return Data and I O Forces 54 Command Word Bits 54 Return Data Attribut...

Page 5: ...Attribute 2 LS Output Adjustments Data 77 Data Attribute 3 Enabling Input Programming Data 78 Data Attribute 4 Die Monitor Setup Data 79 Data Attribute 5 Brake Monitor Setup Data 80 Data Attribute 6...

Page 6: ...Table of Contents ADVANCED MICRO CONTROLS INC 6 Notes...

Page 7: ...0A090 is the first revision of this manual It was released December 18th 2014 Navigating this Manual This manual is designed to be used in both printed and on line formats Its on line form is a PDF d...

Page 8: ...text jumps you to referenced section HTML Reference When viewing the PDF version of the manual clicking on the HTML reference text will open your default web browser to the referenced web page CHP Nu...

Page 9: ...accepts 12 to 24 Vdc as its power source The ANS1 offers the following functionality A total of forty programs that can be stored on the ANS1 If the ANS1 is attached to a host controller additional pr...

Page 10: ...allows you to run the ANS1 as an independent product without the need of a host controller If slaving multiple modules together each module has to be programmed separately The IP address of the web se...

Page 11: ...9 16 States are off or solid orange The LED reflects the logical state of the output including whether or not the output is forced on or off As shown in figure 1 3 on page 10 and figure 1 6 on page 12...

Page 12: ...ation of the Web Interface Connector This RJ45 Ethernet connector accepts any standard CAT5 or CAT6 network cable and allows you to monitor and program the ANS1 over its built in web server This allow...

Page 13: ...AMCI resolver All members of the HT 20 family of single turn transducers with the standard AMCI resolver All members of the HT 20 x family of multi turn transducers with the standard AMCI resolver All...

Page 14: ...characters and can be up to twelve characters in length Web Page Access Levels If you attempt to use a function that is not allowed for your access level the ANS1 will bring you to the User Log In scr...

Page 15: ...Input must be active Pulse Enable Input must pulse within output s setpoint pairs Window Enable Input must pulse within programmable window s setpoint pairs Shift Register Associated bit position in s...

Page 16: ...0 5 Adc 60 C Current Limit for 2 4A Overload condition Short Circuit Protection Electronic Cycle power to restore Inductive Spike Current Limited Relay Outputs KD 6 3 to 60 Vdc 3 Adc KA 3 120 Vac 3 A...

Page 17: ...urns to machine cycles see the Advanced Parameter Use section below Full Scale Count Range of 1 to Counts per Cycle Default of 360 Used to scale the Counts per Cycle value to engineering units The sca...

Page 18: ...s a value that is equal to the RPM Filter 65 536 The formula below shows how the smoothing factor is used when cal culating the Global Machine Speed Where St Next Global Machine Speed to be reported S...

Page 19: ...ffset that allows you to offset where the limit switch fires in relation to the Global Machine Position You can program this offset directly or through a Limit Position Preset Value Figure 2 2 below s...

Page 20: ...mming error if the four programmed parameters do not allow the On Distance to occur at least twice and the Off Distance to occur at least once Figure 2 3 shows Stitch ON and Stitch OFF distances that...

Page 21: ...whose activation time is different from their release time If the Trail Advance Time is greater than the Lead Advance Time then it is possible for the Trailing Setpoint to be advanced to a point where...

Page 22: ...microseconds per RPM and has a range of 0 to 9999 This advance only affects the From Setpoint The variable advance is calculated as follows Timed Limits The ANS1 supports two types of timed limits Tim...

Page 23: ...e an output can have Simple ANDing with input 1 and Windowing ANDing with input 5 Each input can have multiple outputs associated with it Machine Speed Enabling Each output can have a speed based limi...

Page 24: ...led the output remains enabled until the Enabling Window is reached again Figure 2 9 Window ANDing Example Unpredictable operation will occur if the Enabling Window overlaps or is contained within one...

Page 25: ...Limit Switch Programming Once the shift register is programmed a single additional parameter the Shift Register Bit Number defines which bit in the register is used to enable the limit switch output A...

Page 26: ...Limit Switch Functionality ADVANCED MICRO CONTROLS INC 2 26 Notes...

Page 27: ...an additional sixteen milliseconds thirty two milliseconds total the stored states of the input are checked If the Brake Input is not in its brake applied inactive state for twelve of the last sixteen...

Page 28: ...ounter associated with it This counter is used to count the number fault con ditions that have occurred Counters count from 0 to 255 and roll over to zero if more than 255 events occur Counters can be...

Page 29: ...previous check win dow and leading edge of this check window b No Fault The input was high for at least 500 microseconds between leading and falling edges of this check window c A fault occurs becaus...

Page 30: ...put was low for at least 500 microseconds between the falling edge of previous check window and leading edge of this check window e The fault counter clears and the fault output energizes because a fa...

Page 31: ...roseconds between the falling edge of previous check window and the leading edge of this check window b No Fault The input was high during the entire check window c A fault occurs because the input wa...

Page 32: ...ements because the input was not low for at least 500 microseconds between the fall ing edge of previous check window and the leading edge of this check window e The fault count does not increment bec...

Page 33: ...consecu tive check windows Figure 3 6 shows how the Quick Check operates when the counter is set to continuously count Figure 3 6 Quick Check Continuous Count Mode a No Fault The input was low between...

Page 34: ...ow and the leading edge of this check window g The fault count clears and fault output energizes because a fault did not occur between falling edges of consecutive check windows Production Counters A...

Page 35: ...his counter tracks the number of revolutions the machine has made while running the active program It increments as the position passed through zero This value can be preset to any value in its range...

Page 36: ...Additional Functionality ADVANCED MICRO CONTROLS INC 3 36 Notes...

Page 37: ...damage an AnyNET I O module if you touch the rear bus con nector pins Follow these guidelines when handling the module 1 Touch a grounded object to discharge static potential before handling the modul...

Page 38: ...tiple AnyNET I O mod ules as a stack The IC 5 connector that is used to interconnect the modules requires the EN 05 022 35 x 7 5 DIN rail for proper operation The DIN Rail must be securely mounted to...

Page 39: ...These end caps prevent the module from sliding along the DIN rail if it is subjected to shock or vibration during machine operation Stack Addressing Each module is a stack needs to be given an address...

Page 40: ...d to the pins marked Vdc In and DC Return The Chassis GND pin is used to attach the ANS1 to earth ground 1 AnyNET I O modules are electrically isolated from the DIN rail by their mounting but the Chas...

Page 41: ...ratings are maximums and you should always strive to keep shaft loading to a minimum The inverse relationship between shaft loading and bearing life is not linear it s exponential This means that dec...

Page 42: ...cables can be purchased for most of the AMCI transducers that are com patible with the ANS1 The part number for the cable is CTL x where x is the length in feet The follow ing diagram shows how to wir...

Page 43: ...ce Modules available from AMCI the TR of the resolvers they are designed for and the manufacturers that typically use these resolvers Some manufacturers including AMCI allow you to specify the resolve...

Page 44: ...esolver signals are ignored when the Quad Direction pin is tied to ground AMCI Compatible Encoders AMCI has a complete line of resolver based transducers with quadrature outputs Additional information...

Page 45: ...the outputs of your encoder are greater than 5Vdc Appro priate current limiting resistors are shown in the figure below Figure 4 8 Single Ended Encoder Wiring Relay Board Installation AMCI offers the...

Page 46: ...RB 7 Outline Drawing 1 Remove the two hex head screws that hold the panel mount bracket in place 2 Remove the DIN rail adapter bracket 3 Reverse the panel mount bracket and re install it with the two...

Page 47: ...crew and indicator LED AC and DC relays are available from AMCI under the following part numbers Figure 4 12 Compatible Relays AMCI Part Opto 22 Part WRC Part Output Voltage Rated Current KD 6 G4ODC24...

Page 48: ...ctor Figure 4 13 CRP x Installation The RB 8 has two IDC connectors When attaching the RB 8 to an ANS1 the CN1 connector must be used The CN2 connector is an expansion connector that allows you to dai...

Page 49: ...ower the sensors Figure 4 15 below shows how to wire sinking and sourcing sensors to the RB 8 relay board inputs Figure 4 15 Wiring RB 8 Inputs Relay Board Outputs Outputs on the RB 7 and RB 8 can be...

Page 50: ...Can use the same supply to power all inputs 12 Vdc to 24 Vdc Isolated Power Supply Can use the same supply to power all inputs RPU Supply RPU 12 Vdc 600 to 660 ohm 15 Vdc 1 74 to 1 80 Kohm 11 10 9 8...

Page 51: ...be used to connect this pin to the power supply 2 Overloading any of the outputs will trip the internal resettable fuse which will temporarily disable all eight outputs 3 All inductive loads must hav...

Page 52: ...connector on the main left board See figure 4 4 on page 40 for the location of the connector Connection is made with a standard Ether net cable to a computer laptop or industrial PC The ANS1 contains...

Page 53: ...hange is needed Bits 14 5 The use of these bits changes based on the command block that is written to the ANS1 Generally these bits are used to tell the ANS1 what programming data should be used in th...

Page 54: ...is bit is set to 1 force the outputs on or off based on the bit pattern in words 4 and 5 When this bit is reset to 0 keep the present output force states The use of the out put force words is describe...

Page 55: ...sted LS Output number in word 2 page 76 2 LS Output Adjustment Programming Requested LS Output number in word 2 page 77 3 LS Enable Programming Requested LS Output number in word 2 page 78 4 Die Monit...

Page 56: ...ory default settings This will restore all parameters to their default settings and erase all stored programming data Use this bit with caution All programming is erased when this bit is set and param...

Page 57: ...for additional information Bit 2 Slave Mode When reset to 0 the ANS1 uses the resolver or quadrature encoder as the position sensor When set to 1 the ANS1 is slaved to another ANS1 and accepts positio...

Page 58: ...9 Apply Words 12 15 Apply Words 8 11 Apply Words 4 7 Apply Words 2 3 Apply Word 2 0 Delete Setpoints Delete All Clear Error 0 0 1 1 1 1025 Output Point to be programmed 1 to 16 2 1026 Limit Switch Off...

Page 59: ...iated with the output point designated by word 1 of the command block Note that you do not have to program four setpoint pairs on each output The number of setpoint pairs programmed for the output is...

Page 60: ...tion Figure 5 7 Command Block 4 Command Word Bits Bits 6 13 Adjust Setpoint When the bit is reset to 0 the corresponding setpoint will not be adjusted When the bit is set to 1 the corresponding setpoi...

Page 61: ...9 8 Program LS Advances EtherNet IP Address Modbus Address Bit Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1024 Transmit Bit 0 0 0 Apply Word 4 Description Below Apply Words 2 3 Description Below 0...

Page 62: ...of the limit switch enabling data asso ciated with the Limit Switch output given in word 1 Limit Switch Setpoint values and the parame ters associated with output advances and timers will be left unc...

Page 63: ...1 is not used for Enable ANDing with the LS output 1 Simple ANDing 2 Pulse ANDing 3 Window ANDing 3 Input 2 ANDing Range of 0 to 3 See definition in Word 2 above 4 Input 3 ANDing Range of 0 to 3 See...

Page 64: ...ister Position When reset to 0 the Shift Register Bit Number parameter is left at its current value When set to 1 word 4 programs the Shift Register Bit Number which define the bit position in the shi...

Page 65: ...ue of zero no output will be associated with this Die protection monitor EtherNet IP Address Modbus Address Bit Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1024 Transmit Bit 0 0 0 0 Apply Words 2 1...

Page 66: ...the val ues in words 2 and 12 Check Mode Word 3 Value Result 0 Disable Die Protection Monitoring on the input given in word 2 1 Normally True Check Setpoints in words 4 11 are not used 2 Normally Fal...

Page 67: ...ducer move ment that can occur without a fault indication Bit 11 Program Start Time Overrun Output If this bit is reset to 0 the value in word 4 is ignored If this bit is set to 1 word 4 sets the outp...

Page 68: ...it 5 Delete All Shift Register Data Setting this bit to 1 will delete all of the parameter values associated with the Shift Register and disable it Bit 8 Program Shift Register Parameters If this bit...

Page 69: ...to the value contained in word 1 Bit 9 Program Production Cycle Multiplier Divisor Parameters If this bit is reset to 0 the Production Cycle Multiplier and Production Cycle Divisor parameters are left...

Page 70: ...1 1 1025 Counter Number Range of 0 to 5 See description below 2 1026 Counter Overflow Output Range of 0 1 16 If 0 no overflow output is assigned to the counter 3 1027 Counter Overflow Mode Range of 0...

Page 71: ...imit Value parameter is left at its previous value If this bit is set to 1 the Counter Limit Value parameter is set to the 32 bit value contained in words 4 and 5 This bit must equal 0 when the counte...

Page 72: ...same time Bit 10 Save Global Parameters Setting this bit to 1 will save the Global Machine Configuration and Brake Monitor Setup parameters to FLASH memory The Global Machine Configuration parameters...

Page 73: ...tpoint Programming Requested LS Output number in word 2 page 76 2 LS Output Adjustment Programming Requested LS Output number in word 2 page 77 3 LS Enable Programming Requested LS Output number in wo...

Page 74: ...ramming errors in the last Command Block sent to the ANS1 with its Transmit Bit set to 1 Table 6 2 Command Error Bits Bit 7 RPM Clamped This bit is set when one of the calculated advances exceeds one...

Page 75: ...15 Input 16 If bit is 1 input is forced on If bit 0 input is not forced on Word 0x0000 when no inputs are force on 4 4 Inputs Forced Low Bit 0 Input 1 Bit 15 Input 16 If bit is 1 input is not forced...

Page 76: ...1 Selected Output Point Number See Word 2 Command Block 1 page 54 2 2 Programmed FROM Setpoint 1 3 3 Programmed TO Setpoint 1 4 4 ON Stitch Distance 1 5 5 OFF Stitch Distance 1 6 6 Programmed FROM Se...

Page 77: ...RPM Clamped Output Forced 0 0 0 0 1 0 1 1 Selected Output Point Number See Word 2 Command Block 1 page 54 2 2 Programmed Limit Switch Offset 3 3 Programmed LS Preset Input Number 4 4 Programmed LS Pre...

Page 78: ...ndition 0 Input not used for Enable ANDing 1 Simple ANDing 2 Pulse ANDing 3 Window ANDing 3 3 Input 2 Enabling Condition 4 4 Input 3 Enabling Condition 5 5 Input 4 Enabling Condition 6 6 Input 5 Enabl...

Page 79: ...tection monitor 2 2 Selected Input Point Number See Word 3 Command Block 1 page 54 3 3 Check Mode See description below 4 4 Check Window 1 Leading Edge 5 5 Check Window 1 Trailing Edge 6 6 Check Windo...

Page 80: ...ult Counter will continuously count Associated output is disconnected from the monitor and is always active 3 Die Protection Fault Counter will reset to zero when cycle completes without a die protect...

Page 81: ...2 1 0 0 0 Acknowledge Heartbeat Hardware Fault Resolver Fault Program Fault Bits RPM Clamped Output Forced 0 0 0 1 1 0 1 1 Shift Register Input Number If 0 the shift register function is disabled 2 2...

Page 82: ...active 2 Output toggles state 6 6 Increment Mode for Batch Counter 1 0 Increment every cycle 1 Increment on cycle without Die Protection Fault 7 7 Programmed Count Limit for Batch Counter 1 32 bit int...

Page 83: ...Command Block 1 page 54 7 7 Rising Position of Selected Input Last position where the input made an inactive to active transition 8 8 Falling Position of Selected Input Last position where the input...

Page 84: ...Expired Outputs Bit 0 Input 1 Bit 15 Input 16 These bits are normally 1 A bit is reset to 0 if the output is off because its programmed timer value has expired 17 17 User Defined Outputs Bit 0 Input 1...

Page 85: ...alue of Good Parts Counter 32 bit integer Lower 16 bits in word 3 13 13 14 14 Counter Overrun Assignment Bit 0 Input 1 Bit 15 Input 16 These bits are normally 0 A bit is set to 1 if the output is prog...

Page 86: ...s Bit 0 Input 1 Bit 15 Input 16 Bit equals 0 if the input is not assigned as a D P Input Bit shows actual state of the input if it is assigned as a D P Input 4 4 First Input to Fault Bit 0 Input 1 Bit...

Page 87: ...e reported in milliseconds Time between when the brake was released and a position change greater than 2 Complete Stop Count value If the time exceeds 32 767 milliseconds a value of 32 768 is recorded...

Page 88: ...0 Shift Register Bit 33 Bit 15 Shift Register Bit 48 7 7 Shift Register Bit Pattern Word 4 Bit 0 Shift Register Bit 49 Bit 15 Shift Register Bit 64 8 8 Shift Register Bit Pattern Word 5 Bit 0 Shift Re...

Page 89: ...ce Data Format Data Attribute 20 EtherNet IP Address Modbus Address Bit Number 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 17 17 Shift Register Bit Pattern Word 14 Bit 0 Shift Register Bit 209 Bit 15 Shift...

Page 90: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...

Reviews: