More functions in the ecomatmobile controller
Parameters of the function inputs
Name
ENABLE
CHANNEL
MODE
READ_INPUTS
WRITE_OUTPUTS
ANALOG_INPUTS
238
ifm
System Manual
ecomatmobile
Data type
Description
BOOL
TRUE (only for 1 cycle):
FALSE: changes to data not permitted
BYTE
interrupt input
Classic/ExtendedController:
0 = %IX1.4
1 = %IX1.5
2 = %IX1.6
3 = %IX1.7
SmartController:
0 = %IX0.0
1 = %IX0.8
CabinetController:
0 = IN08 (etc.)
3 = IN11
CS0015:
0 = IN0 (etc.)
3 = IN3
BYTE
Type of edge at the input CHANNEL which triggers the
interrupt
1 = rising edge
2 = falling edge
3 = rising and falling edge
BOOL
TRUE: inputs integrated into the routine are read (if
necessary, set inputs to IN_FAST)
FALSE: inputs integrated into the routine are not read
BOOL
TRUE: outputs integrated into the routine are written
FALSE: outputs integrated into the routine are not written
BYTE
(only for devices with analogue channels)
Selection of the inputs bit-coded:
0
= no input selected
10
1
= 1st analogue input selected (0000 0001
10
2
= 2nd analogue input selected (0000 0010
10
...
128
10
A combination of the inputs is possible via an OR operation of
the values.
Example: Select 1st and 3rd analogue input:
(0000 0001
SmartController (CR2500) V05
changes to data permissible
(during processing of the program)
= 8th analogue input selected (1000 0000
) OR (0000 0100
2
Processing interrupts
)
2
)
2
)
2
) = (0000 0101
) = 5
2
2
10