I am testing the FB MC_DigitalCamSwitch in order to activate an output when an axis passes through a given position.
As on the real machine the high speed module 8BAC0130 will be installed on the Acopos “Active Power supply” I made a test project with the following config:
With this project I’m able to start/stop the axis mapped on the power supply.
When I enable the MC_DigitalCamSwitch fb, this report an error 29217 : Invalid input parameter.
I do not see where is the error.
Can you help me?
I tested two things:
1° In the config, replace the 8BAC0130.001 by 8BAC0130.000. I think this is better, the version 000 provide high speed output.
2° I tried with different channel N°.
After the 1° modif, I have now an other error : 29230 = Internal Error : Error Transfering parameter list.
How are you testing this ?
Is it in simulation mode PLC, or is it with real ACOPOS hardware, including the 8BAC0130 card?
If it is in simulation mode, the error is a normal error because the physical hardware is not available.
I change the mapping of my axis to use the channel 2.
In the outputref.slot and outputref.channel I tried different configuration but without success.
As I understand, the slot is the slot number on the power supply, if I check in the hardware config, for me it is slot 2. In the outputref.slot comment it is indicated slot 2, 3 or 4.
The channel seems to be the output nbr on the 8BAC0130 module, can be 1 or 2 I think.
You mentioned “In the outputref.slot comment it is indicated slot 2, 3 or 4” , can you give a reference where this comment is located. Because the numbers 2,3,4 sounds more matching a classic ACOPOS (old white one, which had 4 Slots).
I have found an example in a test project for the Acp10_mc library where a 8BAC0130.000-1 is used in the right side slot of an ACOPOSmulti inverter, for the PSM it must be the same.
Outputs.Axis = <Axis of module channel 2>
Outputs.Slot = 1
Outputs.Channel = 1; //output number on card
Maybe it is a “problem” or limitation in case of the PSM.
When I set the slot = 1 I do not have the "DIO_CMD_SET_OUT_ENALE… comande in the network trace. The FB report an error 29217.
If I select the slot 2, I have this line in the network trace but with an error.
But as the other Documentation mentioned Axis/Channel it is not absolutly clear what the firmware would support. Nevertheless i don’t think that a manual configuration would be helpfull for you.
You can consider to create an offical support ticket to clarify it.
I assume you need the high resolution/speed of the outputcard on the drive in combination with this FunctionBlock.
If not, you can also use one of the functionblocks from this library: ASMcDcs.
With adjustable “On-Compensation” and if the velocity of your axis is “constant”, you can also achieve a good accurany.