Hi,
Is there any way to directly map systemvariables to an output signal or is the only way to set the output according to the systemvariable in the SPS?
Hi,
Is there any way to directly map systemvariables to an output signal or is the only way to set the output according to the systemvariable in the SPS?
Are you talking about mapping I/O?
What type and robot are you using ?
There is no other way than this:
SIGNAL $IN_HOME1 $OUT[XXX]
Is there any way to directly map systemvariables to an output signal..
What kind of system variables, give an example.
Some system variables are already defined as outputs, that just need mapping to a particular address. $CONF_MESS and $STOPMESS, for example.
But for for any system variable that is not defined as an output (or input), about the only way to "copy" that signal to a $IN or $OUT is to use the SPS. Options like MxAutomation and SoftPLC provide some additional options, but those are somewhat special cases.
Some system variables are already defined as outputs, that just need mapping to a particular address. $CONF_MESS and $STOPMESS, for example.
But for for any system variable that is not defined as an output (or input), about the only way to "copy" that signal to a $IN or $OUT is to use the SPS. Options like MxAutomation and SoftPLC provide some additional options, but those are somewhat special cases.
Thanks! That's all.
declare this in config.dat:
SIGNAL testing $OUT[...] TO $OUT[...]
then fill it with any value
testing=my_variable
there you go
edit:
you still need to config I/O Editor so the signal is properly sent but thats the basic