//-----access datalayer --------------------
//Write to PLC via DL
DL.plc.app.Application.sym.GVL_UI_PLC.stInputData.strDL_ReadKineState="START"
M0
WAIT
//Read from DL
var_1 =DL.motion.kin.Kinematics_1.state.opstate.plcopen
//Write to PLC via DL
DL.plc.app.Application.sym.GVL_UI_PLC.stInputData.strDL_ReadKineState=var_1