CNC Skinning SetSkinningDataFloatWord
Posted: Thu Feb 27, 2020 6:19 pm
Library: CncSkinning v1.0.0
Language: Visual C# 7.3 .NET
IDE: Visual Studio 2017
Class: CncSkinning.Skinning.Plc
CNC Version: CNC12-D Mill v4.14
Issue:
SetSkinningDataFloatWord always returns ERROR_PLC_SEND_SKINNING_DATA when the argument sendImmediately is set to true.
When sendImmediately is set to false, the first call returns ERROR_PLC_SEND_SKINNING_DATA, but subsequent calls return SUCCESS.
Calling SetSkinningDataFloatWord (index, value, sendImmediately) per the documentation should write to the PLC system variable SV_SKINNING_DATA_FW_n where n is equal to the index argument in the method call. A new FW variable set equal to SV_SKINNING_DATA_FW_n does not show the value that should have been written by SetSkinningDataFloatWord.
Sanity check: SetSkinEventState, GetWordValue, and GetFloatWordValue work as expected in the same environment.
Language: Visual C# 7.3 .NET
IDE: Visual Studio 2017
Class: CncSkinning.Skinning.Plc
CNC Version: CNC12-D Mill v4.14
Issue:
SetSkinningDataFloatWord always returns ERROR_PLC_SEND_SKINNING_DATA when the argument sendImmediately is set to true.
When sendImmediately is set to false, the first call returns ERROR_PLC_SEND_SKINNING_DATA, but subsequent calls return SUCCESS.
Calling SetSkinningDataFloatWord (index, value, sendImmediately) per the documentation should write to the PLC system variable SV_SKINNING_DATA_FW_n where n is equal to the index argument in the method call. A new FW variable set equal to SV_SKINNING_DATA_FW_n does not show the value that should have been written by SetSkinningDataFloatWord.
Sanity check: SetSkinEventState, GetWordValue, and GetFloatWordValue work as expected in the same environment.