PawelStrzelecki
Member
Hi
As a beginner with PLC I have a (hopeful easy) question. It’s about giving parameters for FC.
1. As shown at the picture below I made IN ports “slaveX” as bool type.
And there is a problem with giving bool parameters as a value, I can use markers but I cannot give directly TRUE/FASLE value. I would like to give a value like for example for TimeBase IN port.
Is there a way to do that ?
2. I would like to made a BYTE type parameter and then in the FC to address single bits of this byte? Then instead of 4 IN ports “FCUseBitX” I would like to use one BYTE port. Is there a way for it?
As a beginner with PLC I have a (hopeful easy) question. It’s about giving parameters for FC.
1. As shown at the picture below I made IN ports “slaveX” as bool type.
And there is a problem with giving bool parameters as a value, I can use markers but I cannot give directly TRUE/FASLE value. I would like to give a value like for example for TimeBase IN port.
Is there a way to do that ?
2. I would like to made a BYTE type parameter and then in the FC to address single bits of this byte? Then instead of 4 IN ports “FCUseBitX” I would like to use one BYTE port. Is there a way for it?
Last edited: