background image

Output Data Format

ADVANCED MICRO CONTROLS INC.

5

56

Command Block 2: Global Machine Configuration

This block allows you to setup the position sensor used by the ANS1.

Figure 5.4  Command Block 2

Command Word Bits

Bit 14:  Apply Machine Preset.

 When this bit is set to ‘1’, the Global Machine Position will be set to pro-

grammed Machine Preset Value.  The Machine Preset Value has a default value of zero.  If bit 11 of 
the command word is also set to ‘1’, the Global Machine Position will be set to the value in word 5 of 
this block.  When this bit is reset to ‘0’ the Global Machine Position will not be changed.

Bits 13 - 7:

When one of these bits is set to ‘1’, program the parameter to the value in the associated word.  
When the bit is reset to ‘0’, leave the parameter at it last programmed value.

Bit 5: 

Restore Factory Defaults.

 When this bit is set to ‘1’, the ANS1 is reset to its factory 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 parameters are 
restored to their factory default settings.  Once erased, all programmed settings are lost and 
cannot be restored.  Once reset to factory defaults, the ANS1 must be reprogrammed with 
new parameter values.

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

T

ransmit Bit

Apply Mac

h

ine Preset

Apply W

o

rd 

8

Apply W

o

rd 

7

Appl

y W

o

rd

s 5&6

Apply W

o

rd 

4

Apply W

o

rd 

3

Apply W

o

rd 

2

Apply W

o

rd 

1

0

Re

store Fac

tory 

D

efaults

Clear Error

0

0

1

0

1

1025

Global Machine Bit Parameters

2

1026

Counts per Cycle  (2 to 4,096)

3

1027

Full Scale Count  (1 to 

Counts per Cycle

)

4

1028

Scaled Machine Offset (

-

(

Full Scale Count

-1) to 

+

(

Full Scale Count

-1))

5

1029

Machine Preset Value (0 to (

Full Scale Count

-1))

6

1030

Machine Preset Input (0 to 16)

7

1031

RPM Filter (0 to 65,535)

8

1032

Input Active State

9-19

1033-1043

Words not used by this Command Block

Содержание ANS1 ANYNET-I/O

Страница 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0A090...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 6: ...Table of Contents ADVANCED MICRO CONTROLS INC 6 Notes...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 26: ...Limit Switch Functionality ADVANCED MICRO CONTROLS INC 2 26 Notes...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 36: ...Additional Functionality ADVANCED MICRO CONTROLS INC 3 36 Notes...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 90: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...

Отзывы: