I am using ACOPOS P3 servo drive (8EI8X8HWT10.0500-1) and an industrial controller (5APC2200.AL14-000).
In the ACOPOS driver, terminal X8 wired a signal that I would like to use and monitor(trace) via the Automation studio for system inspection.
I am looking for a function to read this param (input signal) from the driver, can you please advise what function to use?
I would be grateful for an example to describe the implementation.
In addition, in the manual it is noted that this function regards ACOPOS 8AC130.xx-x 8AC131.xx-x , ACOPOSmulti 8BAC0130.000-x or ACOPOS P3 8EAC013x.000-1 plug-in module but I am using ACOPOS P3 8EI8X8HWT10.0500-1
I do not see an example or instruction in the manual.
how can I know what input/slot/channel is it?
if you use mapp Motion use this FB: MC_ReadAxisInfo
Output: “AdditionalInfo.DigitalInputStatus”
If you use Acp10 use this FB: MC_BR_ReadDriveStatus
Create a process variable of type MC_DRIVESTATUS_TYP and give the FB the address.
The digital inputs directly on the drive are transferred automatically to the PLC every cycle. No additional read is necessary.
The FBs I mentioned above simply put out the already available status of the digital inputs (among other things).
MC_BR_CyclicProcessParID_AcpAx can be used to read and write to the IO.
You can define which IO you’d like to read in in the McAcpAxCycParIDType structure.
If you want to control the outputs you’ll need to make sure they are enabled first, it’s ParID 6001 if the card is in the first slot on the P3.