L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 544

Advertising
background image

L-force | PLC Designer

Command Line-/Command File

542

DMS 3.2 EN 02/2011 TD29



Read-only access for particular objects :

object setreadonly
<TRUE|FALSE> <object type> |

<object name>

Sets read-only access to a object; Define the object type and in case
of object types pou, dut, gvl, vis also the name of the object.

Possible object types: pou, dut (data type), gvl (global variables list),

vis (visualization), cnc (CNC object), liblist (Libraries), targetsettings,
toolinstanceobject (particular Tools instance), toolmanagerobject
(all instances in the Tools tree), customplconfig (PLC configuration),

projectinfo (Project information), taskconfig (task configuration),

trace, watchentrylist (Watch and Recipe Manager), alarmconfig
(Alarm configuration)

e.g. "object setreadonly TRUE pou plc_prg" will set the PLC_PRG to

read-only access

Entering communications parameters (gateway, device):

gateway local

Sets the gateway on the local computer as the current gateway.

gateway tcpip <Address> <Port>

Sets the gateway in the specified remote computer as the current
gateway.
<Address>: TCP/IP address or hostname of the remote computer
<Port>: TCP/IP port of the remote gateway

Important: Only gateways that have no password set can be
reached!

device guid <guid>

Sets the device with the specified GUID as the current device.

GUID must have the following format:

{01234567-0123-0123-0123-0123456789ABC}

The curly brackets and the hyphens must appear at the specified
positions.

device instance <Instance
name>

Sets the instance name for the current device to the name specified

device parameter <Id> <Value> Assigns the specified value, which will then be interpreted by the

device, to the parameter with the specified ID.

System call:

system <command>

Carries out the specified operating system command.

Select target system:

target <Id>

Sets the target platform for the current project. If »PLC Designer« is
getting started with command line option "/notargetchange", only
by this command a target can be set.

Advertising