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.
CNC Skinning SetSkinningDataFloatWord
Moderator: cnckeith
-
- Posts: 15
- Joined: Tue Jul 30, 2019 2:01 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: C125544
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No