The following AcroBasic commands can be sent to the ACR to initiate the IEC PLC programs or check status. These commands can be entered thru the ACR-View Terminal Emulator, included in an AcroBasic Program, sent from a dumb terminal or from a user created PC application via USB, Ethernet or RS232 communications. Any terminal prompt (SYS>, P00>, etc) will accept these commands.
Commands the IEC PLC programs to start running. All variables will be reset to their initial values.
Commands the IEC PLC programs to start running. Will re-initialize only those variables which are not declared RETAIN
Commands the IEC PLC programs to start running. Will not reset any variables
Stops the PLC from running
Start and Halt commands can also be initiated using flags:
SET 16917: REM COLDSTART
SET 16918: REM WARMSTART
SET 16919: REM HOTSTART
SET 16916: REM HALT
Saves PLC programs to FLASH memory. Programs are automatically saved on download, except when applying on-line edits. Command cannot be executed while PLC is running.
Restores saved programs from FLASH memory.
Erases PLC programs from FLASH memory. Memory is not cleared until the controller reboots (REBOOT or hard power cycle).
The ACR96x0 commands apply to the entire collection of downloaded tasks (the configuration), not to a single IEC task. The IEC SAVE, IEC LOAD, and IEC ERASE commands allow for the configuration to be saved to, or loaded from, or erased from FLASH storage. The IEC FLASH area is just for IEC, and is different from the areas affected by the FLASH SAVE or ESAVE commands. The IEC LOAD command restores the flash version in case the user has modified any of the scan times with the parameters described below, or has downloaded test versions without saving to flash.
Reports status of the IEC PLC and individual system tasks
IEC PLC user modifiable parameters in parentheses, e.g. (P38656)
Selected Control Features: none
IEC program running.
Number of System IEC tasks = 1
Data for System IEC task 0
Assigned scan period (P38656) = 100
Task type = 3 (Parker interrupt task)
Task priority = 1
Task minimum scan time = 2
Task maximum scan time = 2
Task current scan time = 2
Reports memory usage of PLC
reports the amount of system memory, user memory, and FLASH currently used by, and still available for IEC tasks
Maximum flash file size = 196608, current size = 2293
Maximum IEC system memory size = 196608, current usage = 6800
Maximum data system memory size = 131072, current usage = 224