FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
01-11-2023 08:43 AM
Dear Colleagues.
I am using S20 AI (S20_AI_8) and AO (S20_AO_8) with ctrlX.
On ctrlX platform, where can I find the 'User-Defined Parameters' of XM whereby to set for current (4-20mA) input and output.
Many thanks!
Solved! Go to Solution.
01-11-2023 09:47 AM - edited 03-31-2023 08:00 AM
As S20 modules are not belonging to the ctrlX AUTOMATION family they are not supported the way, as they were in IndraWorks.
In the ctrlX IO Engineering you can set this values with the native command sent via the startup parameters. See documentation of the bus coupler chapter "Writing to PDI objects with “PDI Write Tunnel”" how the parameter needs to be set up in general and see e.g. documentation of the analog modul chapter "16 Application objects" for the structure of the parametrazation word.
As an example see for the S20-AIAO-2 module set all channels to +/-10V (00,00,128,00,00,00,01,00,01,00,01,00,01):
ctrlX IO Engineering insert startup parameter S20 IO
ctrlX IO Engineering startup parameter list with S20 IO
01-19-2023 08:17 AM
01-19-2023 11:30 AM
As in my example I am using the PDI write tunnel of the submodule (16#2001) "00" is fine. Also the screenshots were taken at a working machine.
01-31-2023 09:40 AM
Hi CodeShepherd.
I am facing an issue with AI / AO setting selection of code 6, 4-20mA.
If I set code 6 on any channel of either the AI or AO, there will be an error on the Ethercat coupler and AI module.
Allother codes are okay.
Below my settings and the error indicator of the coupler and IOs.
Do you also have same issue?
01-31-2023 11:24 AM
Hello,
Could it be the "Open Circuit" error?
Try to wire the analog inputs if activated.
01-31-2023 11:31 AM
It looks like setting is working as expected. See chapter "15.3.1 Diagnostics state (0018 hex: DiagState)" in the manual mentioned above for more details about the diagnostics.
I guess you are not attaching any current to the AI module when setting 4..20mA is done and then the module shows an open circuit error.
On an AO module if you command e.g. 0000hex the value would be out of range and also an error is shown for that case.
02-15-2023 09:59 AM