| FORUM | LATEST POST | # TOPICS |
|---|---|---|
|
General Discussion Forum about anything you want to talk about. |
How to turn on a GPIO from a device function block by lwalbert 2022-09-29 |
1 |
Hi everyone, I'd like to share a new EtherCAT slave I/O board I've developed β the EtherCAT Digital & Analog IO Board by EGEROBOTICS. Key specs: 12x isolated digital outputs (24VDC) 12x isolated digital inputs (24VDC) 4x isolated 0β10V analog outputs (12-bit DAC) 4x isolated 0β10V analog inputs (12-bit ADC) All channels galvanically isolated 24VDC powered EtherCAT CoE protocol Typical use cases: Analog servo drive speed reference (0β10V) via EtherCAT Frequency inverter reference signal Proportional...
Here is what I use to read online the parameter value. proj = projects.primary app = proj.active_application plc = proj.find("Device", True)[0] onlineapp = online.create_online_application(app) onlineapp.login(OnlineChangeOption.Try, True) dev1 = proj.find("DEV1", True)[0] for conn in dev1.connectors: > parms = conn.host_parameters > if len(parms) > 0: > p = parms.by_id(1074855985) > p.read_online_value(2000) ---> error: Gateway not configured properly Does anyone know about this?
thank you eschwellinger. That one solved it for me. The password must have a length of at least 8 characters. The password must consist of at least 4 different characters. The password must contain lowercase letters. The password must contain uppercase letters. The password must contain digits. The password must contain special characters.
Here is what I use to read online the parameter value. proj = projects.primary app = proj.active_application plc = proj.find("Device", True)[0] onlineapp = online.create_online_application(app) onlineapp.login(OnlineChangeOption.Try, True) dev1 = proj.find("DEV1", True)[0] for conn in dev1.connectors: > parms = conn.host_parameters > if len(parms) > 0: > p = parms.by_id(1074855985) > p.read_online_value(2000) ---> error: Gateway not configured properly
Here is what I use to read online the parameter value. proj = projects.primary app = proj.active_application plc = proj.find("Device", True)[0] onlineapp = online.create_online_application(app) onlineapp.login(OnlineChangeOption.Try, True) dev1 = proj.find("DEV1", True)[0] for conn in dev1.connectors: > parms = conn.host_parameters > if len(parms) > 0: > p = parms.by_id(1074855985) > p.read_online_value(2000) ---> error: Gateway not configured properly
for me looks like you do not use latest CODESYS IDE version, there is a known bug if you use a newer runtime your are forced to use a more complex password as user for the login. The old IDE version does not show this problem on login. so either update CODESYS or use a pw which meet the complexity requirements.