cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Smart function kit for handling PLC communication

Smart function kit for handling PLC communication

OpconUser
Member

Hello!

I wonder, what is the way to communicate SFKH with PLC was planned by developers of this product?

I try to communicate through DataLayer, but I can't even acknowledge error using smartfunctionkit/communication/cmd/clearerror command.

After I acknowledge emergency stop or STO signal, system asks for drives to be enables, if I enable drives via motion/axs/Axis_1/cmd/power command, system asks for kinematics to be enabled, if I enable it  in motion/kin/Robot/cmd/group-ena then I have no errors in HMI, but system doesn't move axis. When I execute any movement in the SFKH programm, it goes through without movement and with no error.

I use smart function kit app 2.1.1, PLC app ver 1.12.5, motion app 1.12.7.

Could someone help me? Thank you!

7 REPLIES 7

Luschuerz
Long-established Member

Hi,

I also used a PLC to communicate with the SFK. In my case I used the DL_Write_Node out of the CXA_Datalayer Library in PLC. 

Luschuerz_0-1674805344895.png

 

I used the following code to write to the nodes of the DL:

In my case, both the execution commands as well as the clear error function worked fine,

Luschuerz_1-1674805392758.png

 

I hope this helps.

 

Dear Luschuerz,

thank you for your answer!

In my case, after "clearerror" I have the following state of SFKH and it doesn't change if I clear error again:

OpconUser_0-1674810792601.png

 

CodeWasi
Occasional Contributor

Hi ,

could you please view the pending diagnosis and/or motion-state by the web-UI. The Axisprofile connection between motion and drive is setup correctly?

Can you try to move the Kinematik or Axis by the commisioning-dialog of the Web-UI ?

Please return with  some UI-screenhots.

Hope that helps - bye

Everything works fine if I acknowledge error with HMI button in SFKH app. Then I have errors pending, but system is operating, power of axes is on, movements are executed.

the errors are:

2023-01-27_11h44_26.png

If I acknowledge with /clearerror DataLayer, the state of the axes is following:

2023-01-27_11h45_08.png

I hope it's what you've asked. Thank you for support!

Hello,

the clear-error command is just clearing all errors. To change the system state back in normal operation mode (drives, kinematic and motion = ready) you have to execute the setsystemstate cmd (attached in the picture):

path: smartfunctionkit/communication/cmd/setsystemstate

input as string: "OPERATION"

That should bring your system back to operation state.

 

Thank you very much, it works now!

Could you advice me where can I find documentation describing this commands?

 

Perfectly 🙂

there is a german documentation on the rexroth web page: https://www.boschrexroth.com/de/de/media-details/baa2c1ca-3abc-4e6a-94f5-febaffb8cc06

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist