Hello, First of all, it was a really useful video. Thank you for the information. But I get an error like this in a similar program I made. (system.exception: 'the size of the class is less than 1 byte and therefore cannot be read') There are exactly 21 bools in the class I created. Frankly, I could not find much content regarding this problem. I would be glad if you could help me. Thank you.
please try to add 1 spare tag as integer at the last of that DB, don's put all only bool type. need to have byte or integer or real tag type in that DB.
@@plcfocus.solution Hello, I wrote 30 lines mixed with bytes and ints, but it still says that the minimum readable class must be 1 byte. example public static byte _op1 {get; set;} public static short _op2 {get; set;} thank you for your response.
var PLC_DB = 2; plc.ReadClass(TagList, PLC_DB); I'm getting this info error. I want to show you the error I got. System.Exception: 'The size of the class is less than 1 byte and therefore cannot be read' I need a solution, can you help me? (I AM USING S71500 PLC)
@@plcfocus.solution i have solved this error i will write a comment on how I solved this error in my free time thank you for everything a great educational video.
Thanks for the video.
You are welcome!
Please can you tell me if the library uses the OPC UA protocol for reading and writing?
you can using KEPSERVEREX OPC Sir
Hi, is it possible to connect (ping) simulated PLC? I do not have physical device, but I want to try coding in this playlist.
Yes, you can. Please follow the next video or visit my website where the video is described.
great!
oki sir
Hello, First of all, it was a really useful video. Thank you for the information. But I get an error like this in a similar program I made. (system.exception: 'the size of the class is less than 1 byte and therefore cannot be read') There are exactly 21 bools in the class I created. Frankly, I could not find much content regarding this problem. I would be glad if you could help me. Thank you.
please try to add 1 spare tag as integer at the last of that DB, don's put all only bool type. need to have byte or integer or real tag type in that DB.
@@plcfocus.solution Hello, I wrote 30 lines mixed with bytes and ints, but it still says that the minimum readable class must be 1 byte.
example public static byte _op1 {get; set;}
public static short _op2 {get; set;}
thank you for your response.
var PLC_DB = 2;
plc.ReadClass(TagList, PLC_DB);
I'm getting this info error. I want to show you the error I got.
System.Exception: 'The size of the class is less than 1 byte and therefore cannot be read'
I need a solution, can you help me? (I AM USING S71500 PLC)
please show me the DB in plc and the class "tagList" Sir (in picture) via whatsapp or gmail
@@plcfocus.solution i have solved this error i will write a comment on how I solved this error in my free time thank you for everything a great educational video.
Merhaba sorunu çözebildin mi?
that tutotrial is posible with plcsim without plc real?
yes, please watch next lession
Please what type of plc you use?
S71200 CPU1212C AC DC RLY