AC500-Specific PLC Browser Commands¶
Automation_Builder provides IEC 61131 standard commands as well as AC500-specific commands.
For all commands online help information is available. The help information is displayed language-dependent by entering command "?" when operating in online mode: Command ‘Login’"?" lists all available firmware commands.
The commands listed in online mode can differ from the commands shown when pressing the button ... as Automation_Builder version and firmware version can differ.
Depending on the device, the PLC browser provides the following commands:
| Command | Description | Implementation |
|---|---|---|
| ? | Displays all implemented commands | Standard |
| mem | Memory dump of an area Usage: mem [from-addr] [to-addr] |
Standard |
| memc | Memory dump relative to code area | Standard |
| memd | Memory dump relative to data area | Standard |
| reflect | Reflect current command (for test purposes) | Standard |
| dpt | Displays the data pointer table | Standard |
| ppt | Displays the block pointer table | Standard |
| pid | Displays the project ID | Standard |
| pinf | Displays project information in the format:
|
Standard |
| tsk | Displays the IEC task list with task information in the format:
|
Standard |
| tskclear | Clears IEC Task information (cycle count & overall maximum and minimum cycle time) | Specific as of V2.0 |
| startprg | Starts the user program | Standard (with CPU firmware below V2.3.0) No (with CPU firmware V2.3.0 and higher) |
| stopprg | Stops the user program | Standard (with CPU firmware below V2.3.0) No (with CPU firmware V2.3.0 and higher) |
| resetprg | Resets the user program | Standard (with CPU firmware below V2.3.0) No (with CPU firmware V2.3.0 and higher) |
| resetprgcold | Resets the user program (cold) | Standard (with CPU firmware below V2.3.0) No (with CPU firmware V2.3.0 and higher) |
| resetprgorg | Resets the user program (origin) | Standard (with CPU firmware below V2.3.0) No (with CPU firmware V2.3.0 and higher) |
| reload | Reloads the boot project from Flash | Standard (not supported with CPU firmware V2.2 or higher) |
| getprgprop | Displays program properties in the format:
|
Standard |
| getprgstat | Displays the program status in the format:
|
Standard |
| filecopy | File command copy | No |
| filerename | File command rename | No |
| filedelete | File command delete | No |
| filedir | File command dir | No |
| saveretain | In V1.0 and V1.1: Saves the RETAIN variables to the SD memory card. As of V1.2: Writes the RETAIN variables to RAM (same as retain save) |
Specific |
| restoreretain | In V1.0 and V1.1: Restores the RETAIN variables from the SD memory card. As of V1.2: Restores the RETAIN variables from RAM (same as retain restore) |
Specific |
| setpwd | Sets the PLC password (required at logon!) Note: From CPU firmware V2.3.0 and higher, this command works as follows:
|
Standard (with CPU firmware to V2.3.0) Specific (with CPU firmware V2.3.0 and higher) |
| delpwd | Deletes the PLC password Note: From CPU firmware V2.3.0 and higher, this command works only if a password has been set. Also, you have to specify the old password to delete it, i. e. syntax is: delpwd <current_password> |
Standard (with CPU firmware to V2.3.0) Specific (with CPU firmware V2.3.0 and higher) |
| plcload | Displays the PLC utilization (system + IEC + tasks + communication) | Standard |
| rtsinfo | Displays the firmware information (version, driver) in the format:
u:code:ses IO driver interface
|
Specific |
| traceschedon | Enables task tracing | No |
| traceschedoff | Disables task tracing | No |
| traceschedstore | Stores task trace to RAM | No |
| fdir <path> | Show content of a drive or directory <path> (e.g.:code:fdir userdisk, fdir sdcard/userdata) | Specific as of V2.1 |
| fread <path> | Dump a file’s content | Specific as of V2.1 |
| fmove <path> | Move a file to a directory | Specific as of V2.1 |
| mkdir <path> | Create a directory | Specific as of V2.1 |
| deldir <path> | Delete an empty directory | Specific as of V2.1 |
| rndir <old path> <new path> | Rename a directory | Specific as of V2.1 |
| ipaddr | Sets the IP address of the CPU | No |
| basetick | Sets the basetick to µs | No |
| diagreset | Resets the diagnosis system | Specific |
| diagack all | Acknowledges all errors | Specific |
| diagack x | Acknowledges all errors of the class X (with X= 1…4) | Specific |
| diagshow all | Shows all errors in the format:
|
Specific |
| time | Displays and sets the time of the realtime clock | Specific |
| date | Displays and sets the date of the realtime clock | Specific |
| batt | Polls the battery status | Specific |
| sdappl | Saves the boot project to the SD memory card | Specific |
| sdclone | Copys the user program and the user data to the SD memory card. | For AC500-S only! |
| sdfunc | Displays and changes the SD memory card function | Specific |
| sdsys | Save firmware to SD memory card | Specific |
| sdboot | Updates the bootcode from the SD memory card | Specific |
| sddisplay | Updates the MMI firmware from the SD memory card | Specific |
| sdfirm | Updates the firmware from the SD memory card | Specific |
| sdcoupler x | Updates the firmware of Communication Module x from the SD memory card | Specific |
| cpuload | Displays the CPU load (current, min., max., average) | Specific |
| delappl | Deletes the user program in the Flash memory | Specific |
| retain | Saving and restoring the RETAIN variables: retain clear -> Clears all RETAIN variables retain save -> Saves the RETAIN variables to the RAM disk retain restore -> Restores the RETAIN variables from the RAM disk retain export -> Exports the RETAIN variables from the RAM disk to the SD memory card retain import -> Imports the RETAIN variables from the SD memory card to the RAM disk |
Specific as of V1.2 |
| persistent | Saving and restoring the persistent area %R area: persistent clear -> Clears the %R area persistent save -> Saves the buffered %R area to the RAM disk persistent restore -> Restores the buffered %R area from the RAM disk persistent export -> Exports the buffered %R area from the RAM disk to the SD memory card persistent import -> Imports the buffered %R area from the SD memory card to the RAM disk |
Specific as of V1.2 |
| cfginfo | Print expected and active configuration version. This is for internal use. | Specific |
| hashappl | Hash the user program | Specific |
| io-bus stat | Displays the I/O bus statistic | Specific |
| io-bus desc | Displays the I/O bus configuration | Specific |
| com protocols | Displays the protocols available for the serial interfaces | Specific |
| com settings | Displays the serial interface settings | Specific |
| coupler desc | Displays information on the Communication Module interfaces (type, firmware, serial number, date) | Specific |
| coupler settings | Displays the current Communication Module settings, for example, IP address and socket assignment | Specific as of V1.2 |
| ping | Ping a address, usage: ping <ipaddr> <couplerid> <ms> | Specific as of V2.1.3 |
| reboot | Reboots the PLC (IEC 61131 performs a logout when restarting or logout possible up to 3 seconds after command input) (This command is not available for CM574-RS as of firmware revision V2.1.x) |
Specific |
| diskcfg | Access to drive maintenance Command Syntax:
Command Options:
Available Drives (not all commands are supported on all drives):
|
Specific as of V2.1 |
| proddata | Shows Production Data of PLC
Serial No. : 00007134 MAC-Addr : “ |
Specific as of V2.0 |
| confdata | Shows Configuration Data of PLC With the Function Blocks CPU_CONFIG_READ CPU_CONFIG_READ: CPU_CONFIG_READCPU_CONFIG_WRITE: CPU_CONFIG_WRITE |
Specific |