We are using Devicenet with Beckhoff terminals at the moment.
Our IOSYS.INI file includes :-
[DEVNET]
;------- Inputs ---------
INW0=10,0,x2 ;$IN[1-32]
;------- Outputs --------
OUTW0=10,0,x2 ;$OUT[1-32]
and DEVNET.INI is
[krc]
debug=0
baudrate=500
[1]
macid=10
Everything is currently working fine.
We would now like to add on a 4-input analogue input module KL3054 (
English manual or
German manual)
The manual says that the inputs are 16bit, so I believe I need to allocate 1 byte per input. As far as I understand it, I need to add the following lines to IOSYS.INI
ANIN1=10,0,16,3,CAL 0x7FFF
ANIN2=10,1,16,3,CAL 0x7FFF
ANIN3=10,2,16,3,CAL 0x7FFF
ANIN4=10,3,16,3,CAL 0x7FFF
I believe I then need to change the digital input line as well, to look at byte number 4. But does the digital Output line stay the same

?? If so, I think the IOSYS.INI file should read :-
;------- Analogue Inputs ---------
ANIN1=10,0,16,3,CAL 0x7FFF
ANIN2=10,1,16,3,CAL 0x7FFF
ANIN3=10,2,16,3,CAL 0x7FFF
ANIN4=10,3,16,3,CAL 0x7FFF
;------- Digital Inputs ---------
INW0=10,4,x2 ;$IN[1-32]
;------- Digital Outputs --------
OUTW0=10,0,x2 ;$OUT[1-32]
