Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

S20 Analogue AI and AO with ctrlX

S20 Analogue AI and AO with ctrlX

evan01
Established Member

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!

 

evan01_0-1673422567141.png

evan01_1-1673422668577.png

evan01_2-1673422701126.png

 

 

7 REPLIES 7

CodeShepherd
Community Moderator
Community Moderator

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 IOctrlX IO Engineering insert startup parameter S20 IO

ctrlX IO Engineering startup parameter list with S20 IOctrlX IO Engineering startup parameter list with S20 IO

evan01
Established Member

Hi CodeShepherd.

Byte 3 is suposed to be '00' or '01' ?

00,00,128,00,00

evan01_0-1674112434168.png

 

CodeShepherd
Community Moderator
Community Moderator

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.

evan01
Established Member

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?

evan01_0-1675154199650.png

 

evan01_1-1675154337437.png

 

LuisCtrL
Established Member

Hello,

Could it be the "Open  Circuit" error?

Try to wire the analog inputs if activated.

CodeShepherd
Community Moderator
Community Moderator

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.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist