Im new to SPS-Programming and having a hard time to understand where the physical SPS pin (like an analog input pin) is mapped to a variable inside a equipment instance in the code. Like if I want to map the actual speed of the pump, which speed sensor is wired to an analog input pin on the SPS for example on address %IW0, to a variable inside the instance of the pump function block. Where is this piece of code in the demo file? Can someone help me?
I am a CODESYS channel partner, and I author and deliver the CODESYS Intensive Training for CODESYS USA. I also provide private trainings and consulting.
Im new to SPS-Programming and having a hard time to understand where the physical SPS pin (like an analog input pin) is mapped to a variable inside a equipment instance in the code. Like if I want to map the actual speed of the pump, which speed sensor is wired to an analog input pin on the SPS for example on address %IW0, to a variable inside the instance of the pump function block. Where is this piece of code in the demo file?
Can someone help me?
@ControlSphere, can you explain?
Are you official Codesys Trainer? OR you are Codesys dealer/ channel partner?
I am a CODESYS channel partner, and I author and deliver the CODESYS Intensive Training for CODESYS USA. I also provide private trainings and consulting.
😃