Rating (0)

Thanks 0

5 Entries

The basic structure of my program involves dipping different UDTs into nested FCs and updating the tags, but I have also created a FC in OB1 that basically calls up every nested FC and assigns the parameters. (Place Motor 1 variables into Motor_Functions, then place Motor 2 variables into same Motor_Functions, etc.) At the time, my project was in a 314 model CPU, so I simply used an Excel macro to generate the function calls and just pasted them into an SCL or STL editor.

However, I realized that I needed to work with a 1214C model, not a 314. Upon copying the blocks from one CPU to the other, the SCL/STL blocks are no longer compatible, as I am assuming the 1200 series don't support these languages. But I really don't want to call50+ blocks and assign parametersin LAD. Is there anyway to rapidly write a block calling function without manually inputting the functions one by one if STL and SCL are unavailable?

The basic structure of my program involves dipping different UDTs into nested FCs and updating the tags, but I have also created a FC in OB1 that basically calls up every nested FC and assigns the parameters. (Place Motor 1 variables into Motor_Functions, then place Motor 2 variables into same Motor_Functions, etc.) At the time, my project was in a 314 model CPU, so I simply used an Excel macro to generate the function calls and just pasted them into an SCL or STL editor.

However, I realized that I needed to work with a 1214C model, not a 314. Upon copying the blocks from one CPU to the other, the SCL/STL blocks are no longer compatible, as I am assuming the 1200 series don't support these languages. But I really don't want to call50+ blocks and assign parametersin LAD. Is there anyway to rapidly write a block calling function without manually inputting the functions one by one if STL and SCL are unavailable?

Thanks,

If you export the scl from your old project, you can use external source files to directly import them into the latest portal version and plc firmware.

If your selected plc firmware is 1.0 to 2.1, scl is not available. If your portal is not at least v11 sp2, scl is not available. {note, I am not 100% on the exact firmware/portal version, but know 100% that scl imports with plc firmware 2.2 & 3.0 using portal v11 sp2 update 4}

I actually have both PLCs in the same project. Because we don't actually have physical hardware in the lab, we have to use the 300 for simulation purposes (1200 wasn't supported by our simulator), and the 1200 is updated with the simulation-tested code until we get our 1214 modules in the lab. I admit it's probably a bad way to develop code, but at the beginning stage it's our only option at the moment.

I'm guessing I just have to wait for a SP update in order for SCL to be implemented for 1200 models.Even withusing external SCL source files, the1214 doesn't know how to deal with them, and I would still get an error from TIA Portal, as I only have SP1. Of course the best thing would be finding an alternative under the assumption that we only have FBD/LAD to work with, but neither language is macro friendly.

I actually have both PLCs in the same project. Because we don't actually have physical hardware in the lab, we have to use the 300 for simulation purposes (1200 wasn't supported by our simulator), and the 1200 is updated with the simulation-tested code until we get our 1214 modules in the lab. I admit it's probably a bad way to develop code, but at the beginning stage it's our only option at the moment.

I'm guessing I just have to wait for a SP update in order for SCL to be implemented for 1200 models.Even withusing external SCL source files, the1214 doesn't know how to deal with them, and I would still get an error from TIA Portal, as I only have SP1. Of course the best thing would be finding an alternative under the assumption that we only have FBD/LAD to work with, but neither language is macro friendly.

SP2 & Update 4 and the HSPs are free downloads from Support Site here. SP1 was very buggy as I recall and crashed a lot.