Good day, gentlemen,
I will be appreciated for suggestions concerning situation described next. In IRC5 controller will be folder with some constant number of predefined modules (around 100). Each of that modules will be similar inside: some robtarget declarations and userdefined movement instructions using that robtargets. Lets name mentioned instructions RoughL.
Every cycle, depends on sensors state, one from the modules will be loaded, main routine (same name of routine for every module) will be executed and module will be unloaded after. Movements inside each module will be created by operators.
And now closer to my problem. Im trying to prepare RougL_ToPoint parameter inside MMC in such way, that every time operator will add RoughL through "Add Instruction" functionality the name of _ToPoint will started with "P" name with "XXX" numerical attribute which will increase with every new adding of the RoughL instruction. If Im using name_rule “SEQ” -method “hirule_robtarget” I have to have robtarget with name like P001
somewhere before and even than every next robtarget name will change corresponding to manual (P10, P20, P30). In case if I will not have such robtarget somewhere before - RoughL instruction will add robtarget as data inside and that is completely not acceptable, because later I`m planing to made copy of needed module, load copy to semistatic task, using GetDataVal for obtain every robtarget position (pos: x,y,z) in module and to send them to external PLC (for trajectory drawing), also SetDataVal for robtarget position slight adjustment from PLC. And for that I need declarations of the used robtargets from modules at least, but much better and easier to work when you have your own defined rules for robtarget names.
Any suggestions?
P.S. There are no communication options like PC Interface, FTP, FlexPendant Interface for local HMI, etc. only Profinet Slave (software) for Siemens 1200 PLC. And excuse me for my English, in case ![]()