The Craftmans Shop > New from Old
The Sequel - Oh Blimey I bought a CNC Lathe (Beaver TC 20)
WeldingRod:
You may have changed the loading on the rs232, which could be helping some sort of voltage/reflection issue...
Sent from my SAMSUNG-SM-G891A using Tapatalk
awemawson:
To illustrate this conundrum I'll post some screen shots of some of the blocks in the PLC as downloaded by STEP5
First the Directory - (it was one line longer than a screen so I cut and pasted it !)
Then OB 1 which is the entry point for the program
Then OB 2 which is called on interrupts (and only seems to call the FB 99 W Axis routine)
Then PB 202 which should be the main program block
Then a couple of function blocks (FB11 & FB 60 as examples of 'no meat'
Then FB 99 the W axis service function that isn't used but is meaty !!!
There just HAS to be more to the program than this trivial bit :scratch:
mc:
PB202 looks very suspect, given it should be far longer compared with the rest.
The thing that stands out to me, is what's the significance of the Segment 1 on all the screens?
Is there some way to access more segments?
awemawson:
Yes it's very odd Moray, and try as I may I can't at the moment see any way of getting further segments.
Looking at the guide to programming the PLC most, but not all, of the FB function blocks listed in the PLC directory are standard ones that do things like transferring data to and from the PLC and NC parts of the controller.
It all looks pretty shell like and empty if I'm honest, and it's really odd that the one FB that looks OK to my untutored eye, is FB_99 for the non-existent W-Axis.
I'm trying to formulate a concise but meaningful question for the Siemens forum about this - they are an odd lot, and the moderators tend to kick things into touch if you are not careful how things are phrased and ramble too much! It's a question of getting all the graphical information into the single picture that they allow !
When the controller is loaded from an empty state you start loading NC Data and PLC Program and data, but then there is an 'ASM' file that no-one can explain what it is, but I strongly suspect that it is compiled assembler code - the only reference to it I've found calls it a 'dump of user memory'.
I'm tempted to do a reload without the ASM file, and try and go on line to the PLC and see what's in it. If the ASM file IS compiled assembler code for the PLC then surely the PLC program has to hook into it to use it at various points, and I see no sign in the 'Blocks' I've downloaded.
It's no tiddler at 207Kbyte and takes 30 mins to load !
russ57:
Can you open the files out of step5 - notepad++ maybe - and compare the contents, at least for size?
Russ
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version