-
Content count
360 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by slcman
-
request code for configure message instruction with DH-485
slcman replied to pmmdavid's topic in Allen Bradley / Rockwell Automation
I can give you few hint: Read data in other plc instead write. write execution is longer than read. Use a unique node adress for each plc DH485 is slow, don't use MSG instruction for safety device or as remote IO. Use DH485 only for non time critc data. Don't send MSG at each scan (queue will be so long, network will be overloaded) use cascade method like in attach file If on plc do more than other in the network, you can raise the token hold factor in Channel configuration window (see picture), highter number means more time. You can use S9 and S10 (processor status, active node) for enable comm only if node is active. Try to communicate with inactive node slow down network with a timed-out on each try. (see example *.rss) This post is a good start, if any question just ask it. MSG_sample.RSS -
Micrologix RTC Second Status Bit
slcman replied to mhowasso's topic in Allen Bradley / Rockwell Automation
Good for you. Timer do the job but keep in mind STI interrupt is more accurate. -
Counter and FIFO are good option but if value can be write from HMI or another PLC, you may consider to check all integer when you need to meet the "all 0 value". I send you a example with NEQ instruction as suggestion. A good point is N7:100 will give you witch integer is not egal to zero. You can use it in your program to prompt warning or anyting else...
-
Micrologix RTC Second Status Bit
slcman replied to mhowasso's topic in Allen Bradley / Rockwell Automation
-
Panel View 600 Component Help Files
slcman replied to Feedback's topic in Allen Bradley / Rockwell Automation
my attachement doesn't work...anyway it was Quick start -
Panel View 600 Component Help Files
slcman replied to Feedback's topic in Allen Bradley / Rockwell Automation
Here is a download site for all panelview component, include help file http://www.ab.com/eoi/graphicterminals/downloads.html You'll found how to setup alarm in chapter 8 (p.83) in pdf file. -
You may use FC105 in standard library -> TI-S7 Converting block For see library, clic in menu bar View -> Overview
-
OSR instruction mean rung will be on only for one scan, so bit B3:0/1 will be on for one scan only (off to on transistion of I:0/1) when start PB will be pressed. If start button is stuck (alway ON), stop command (I:0/0) will stop the motor and plc will need a new off to on transition of start PB for start the motor again. In the original program , if start PB is stuck, stop command will stop the motor but the motor will restart when you'll release stop PB. **the code I posted doesn't work in M1000, I attach screen capture for M1000. have fun
-
With the method in previous post, you'll not loss any symbol or comment.
-
As everybody say, good job! Comment are important in all program small or big. Your program do the job, but I can suggest you a small safety feature I usually add on start button; put a one shot on your start PB it will prevent accidental start if start PB is stuck. I wrote a example just cut and paste in RSLogix XIC I:0/1 OSR B3:0/0 B3:0/1 XIC I:0/0 BST XIC B3:0/1 NXB XIC O:0/0 BND OTE O:0/0
-
I'm agree with Jesper for rearrange columns, if you found a way to do it, send it to the forum! But you don't have to drag the width of the columns for remove it, just go in view menu and uncheck the columns you want to remove.
-
Here a good start pdf from Siemens... S7gsv54_e_working_with_S7.pdf
-
Panel View Plus Login audit results to SLC 5/05
slcman replied to bert3673's topic in Allen Bradley / Rockwell Automation
Suggestion: if you write user data in hmi memory tag, then create a macro who write user_data in hmi memory to plc memory. For get user data who have to trig the macro, easy way is to use remote macro in Global connection -> macro. You can set a bit in plc wait for timming and then read user data. -
Panel View Plus Login audit results to SLC 5/05
slcman replied to bert3673's topic in Allen Bradley / Rockwell Automation
did you try to use Login macro instead Logout? -
Panelview plus not talking to Emulator PLC
slcman replied to alan66389's topic in Allen Bradley / Rockwell Automation
You have to start emulator & RSlink with driver. You now should see you emulator rack in RSLink. right clic on 1789-A17 backplane in RSLink Entreprise and select browse. You sould see your emulator card rack. I left screen shot for help -
When a powerflex 40 is faulted, I would like to read fault #. I know how to access all parameter in the drive but not sure witch parameter is tha active fault value...it is d007? I did something similar in the past in DSI modbus, the adress was 8449 (0 when no fault in the drive, fault # when drive is faulted). Thanks
-
Read PowerFlex 40 fault with 22COMM-E
slcman replied to slcman's topic in Allen Bradley / Rockwell Automation
I took few minute to check adapter on rockwell update web site. New adapter firmware can read multiple parameter in one msg instruction by using a scattered messaging. here the manual, p6-6 describe scattered msg: http://literature.rockwellautomation.com/i...um010_-en-p.pdf -
Read PowerFlex 40 fault with 22COMM-E
slcman replied to slcman's topic in Allen Bradley / Rockwell Automation
Here a example. I left only drive comm logic, I put a lot of comment for describe how program work. For be able to control drive thru logic command word, parameter #36 must be set at 5-comm. Same for speed ref, parameter #38 must be set to comm for be able to control speed ref thru comm. 22COM-E manual is good start : http://literature.rockwellautomation.com/i...um004_-en-p.pdf Use one 22COMM-E per drive is easy to program and comm is faster but more expensive. In multidrive mode 22COMM-E can control up to five drive, a good way to reduce cost. In multidrive mode, drive are connected together in DSI modus protocol as powerflex manual describe. One of these drive have ethernet adapter 22COMM-E. All comm use the same adapter so comm is slower (depend how drive is connected) see page 7-2 in 22COMM-E manual. In the controller, I created a user-Define Data type name Powerflex40. I use it for put all data I need for control drive, you can add you own tag. I configure the drive and adapter thru ethernet with drive executive lite, (created RSLink ethernet device driver). Drive explorer lite cannot communicate on ethernet. Like I say in previous post, don't forget to configure drive in single drive mode before turn the DIP sw in multidrive...I lost many hour to found how to configure drive! Really easy to do, all parameter of 22COMM-E is listed as a drive in drive executive software. In multidrive mode, you must use ethernet module CIP-Generic. Chapter 4 explain in detail how to configure ethernet adapter. If you change controller, you must reenter path in communication tab in all msg box. The project work, I test it. Rockwell don't recommend to write parameter in Eeprom too ofter, can cause dammage to Eeprom when reach maximum write cycle.Put 1 in paramter 207 Comm write mode in RAM instead save. This warning is not for Speed reference and logic command write. Wish help a bit, don't hesitate if you have any question. Comm_example.ACD -
FB in Siemens is similar to Add-On Instruction is AB logix series. In add-on you have Parameter and localtag, in FB you'll found instance data block attached to. FB can be call many time in the program, like Add-on instruction. Add-On instruction and Fb can be write protect. If you want, post the code (or the FB) we will verify if it's a Siemens code. wish I help...
-
I figure out you talk about S7 block. In manager, open your project offline and online (2 windows), then you just have to drag and drop the data block you want to backup. You will keep your comment and symbol, take care : if you upload data block you lost symbol and comment.
-
Read PowerFlex 40 fault with 22COMM-E
slcman replied to slcman's topic in Allen Bradley / Rockwell Automation
IT's work! I did few test today and everything work. I just want to share hint to member: I use 22COMM-E in multi drive mode. For be able to configure 22COMM-E with drive executive, you MUST configure the adapter in singledrive mode and when done, turn multidrive switch on. I lost few hour by trying to communicate with the adapter in multidrive mode before do their config. -
Read PowerFlex 40 fault with 22COMM-E
slcman replied to slcman's topic in Allen Bradley / Rockwell Automation
Thanks for your help, -
Read PowerFlex 40 fault with 22COMM-E
slcman replied to slcman's topic in Allen Bradley / Rockwell Automation
I'm not look looking for the last active fault. I need current active fault. -
When you double clic on B3 file, and then clic on USAGE button, you see all use bit and word. X represent witch bit is used and W in FW column mean full word used.
-
Machine Position using Incremental Encoder
slcman replied to wsy_nte's topic in Allen Bradley / Rockwell Automation
First you should configure your 1769-HSC by add it to your projet. You can use up to 4 encoder on this card (depend of configuration). You can select a multiplier, for example with your 2000 PPR encoder X4 mean 8000 pulse per revoltion (card use rising and falling edge to do this). When your done, you'll get access to tag in your controller tag. HSC:0.currentcount is the high speed counter value, you can read it in your program. For more detail I suggest you some reading (about 170 page on 1769-HSC) at rockwell web site: http://literature.rockwellautomation.com/i...um006_-en-p.pdf have fun