I have default arguments specified for function block methods but when calling a method, an error is produced requiring me to supply all the arguments despite there being default values. According to the online documentation, under section "Calling a Method" and subsection "argument passing" of the following link: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_obj_method.html "Passing an argument for an input ... can be omitted ... for which a default or initial value was...
Worked for me, thanks!
I have code written since version 3.5.16 to access the USB drive, how can I do that now the file access has been taken away? I have tried adding a sybolic link to the usb drive in the following directories: /var/opt/codesys/PlcLogic/ /var/opt/CODESYS/PlcLogic/ /opt/CODESYS/PlcLogic/ I still recieve a "FILE_OPERATION_DENIED" response when accessing the USB drive.
I have code written since version 3.5.16 to access the USB drive, how can I do that now the file access has been taken away?
Attached is an example that works for me.
I have a single CANopen master and single CANopen slave. The slave is defined with several inputs and outputs and an EDS file has been generated from the slave for import on the master. The two ECUs communicate with each other, simply exchanging data directly on the CANopen network. There is a large delay on boot as the master configures the slave, after which data transfers between master and slave - back and forth - successfully. To reduce this large delay on boot, I have tried setting the CANopen...
I have a single CANopen master and single CANopen slave. The slave is defined with several inputs and outputs and an EDS file has been generated from the slave for import on the master. The two ECUs communicate with each other, simply exchanging data directly. There is a large delay on boot as the master configures the slave, after which data transfers between master and slave - back and forth - successfully. To reduce this large delay on boot, I have tried setting the CANopen manager to "Start slaves"...
I have a single CANopen master and single CANopen slave. The slave is defined with several inputs and outputs and an EDO file has been generated from the slave for import on the master. The two ECUs communicate with each other, simply exchanging data directly. There is a large delay on boot as the master configures the slave, after which data transfers between master and slave - back and forth - successfully. To reduce this large delay on boot, I have tried setting the CANopen manager to "Start slaves"...