Parker Hannifin
home | products | how to buy | support & downloads | literature | search

Click Here to go to new EM&D Knowledge Base (FAQ) site


Acrobasic commands for IEC PLC

Products: ACR9600,9630,9640

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.

Command

 

 

IEC COLDSTART

Commands the IEC PLC programs to start running. All variables will be reset to their initial values.

 

IEC WARMSTART

 

Commands the IEC PLC programs to start running. Will re-initialize only those variables which are not declared RETAIN

 

IEC HOTSTART

 

Commands the IEC PLC programs to start running. Will not reset any variables

 

IEC HALT

 

Stops the PLC from running

 

Note:

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

 

 

 

 

IEC SAVE

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.

 

IEC LOAD

Restores saved programs from FLASH memory.

 

IEC ERASE

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.

 

 

 

 

DIAG IEC

Reports status of the IEC PLC and individual system tasks

 

Example:

SYS>DIAG IEC

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

 

 

 

 

IEC MEM

Reports memory usage of PLC

reports the amount of system memory, user memory, and FLASH currently used by, and still available for IEC tasks

 

 

Example:

SYS>IEC MEM

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

 

 

 

 

 

 

 

 

 

 

 

 

jw 2013-Mar