Adding Analog Output Module KRC2

Started by GigPur, December 15, 2024, 08:45:55 PM

Previous topic - Next topic

GigPur

Hello everyone,
I am trying to add an Analog Output to my Krc2 Cabinet. I am aware that i need to make some changes in the IOSYS.INI file. My plan is like this.


Add a line of code to Devnet part in IOSYS.INI file.
The Code I Plan to Use:


[DEVNET]
; Digital Input Module
inw0=3,0,x1 ; (This line code already exists)

; Digital Output Module
outw0=3,0,x1 ; (This line code already exists)
; Analog Output Module
ANOUT1=3,2,16,3,CAL1  ; I will add this line
ANOUT2=3,4,16,3,CAL1  ; I will add tihs line
The Setup:

My WAGO stack consists of:

Digital Input Module at byte offset 0.
Digital Output Module at byte offset 0.
Analog Output Module (WAGO 750-550), which I'm adding now.

I calculated the offsets as follows:

Digital inputs and outputs occupy byte 0 (logically separated by the system).
Analog outputs start at byte 2 (first channel) and byte 4 (second channel) to avoid overlap.
The Goal: I want to add the analog output module to control a servo motor's RPM via a 0–10V signal. The CAL1 factor scales the KUKA system's 0–1 range to the 0–10V output.

The Question: Does this configuration make sense for this setup, or is there anything I should consider regarding the offsets or the IOSYS.INI structure?

Is it really as simple as just editing the [DEVNET] part in IOSYS.INI file ?

Johannes @ Robots in Architecture

Hello,
Sorry, I must have missed your post. I never got deep into IO configuring on KRC2 unfortunately. The Wago seems to use two bytes for each channel, so it sounds plausible. You might get better KRC2-related replies on robot-forum.
Best,
Johannes