PICS FAQs and Troubleshooting

Adobe PDF version of this document

PICS General

I have a system that will be solely dedicated for PICS use. However it is a 386/33 MHz. Will PICS run on this machine?

The CPU on a 386 is not powerful enough. The hardware requirements are a 486/66 MHz with 6 MB of hard disk space. If you have not purchased a system yet, consider a Pentium with 16 MB hard disk space (32MB if running under NT). With this type of machine you will have optimal PICS performance.

I keep getting overflow errors in my ladder logic even though I want to use 16-bit unsigned data.

If you turn the Report Arithmetic Errors Option OFF (File/Options/Report Arithmetic Errors) these messages will no longer appear. However, you might want to find out why you are getting these messages.

Why do I have hatching over my device when I simulate?

If an attempt is made to download a device which is invalid (i.e., it fails project validation), cross hatching is superimposed on the device. Generally this is caused by improper device parameter wiring.

Why do I have a red X over my device?

If a device currently in the solver (i.e., it has been downloaded) is wired to a variable or a device parameter that does not exist in the solver, the device is superimposed with a red X. Usually this is caused by the deletion of a variable or device that one of the X’ed device’s parameters is wired to.

What does Error code: 2 mean when using batch logging?
(Error message: !Could not open TDF file "c:\PICS\FLAT.TDF". Error code: 2)

This error occurs if you try to use Batch Logging without selecting a Batch Variable in the Logger Properties.

My computer does not see the key on the parallel port. I get the message "key not found."

  1. Do you have any other keys on your parallel port? If so remove the other keys and have only the PICS key on the parallel port and try again. If the key can be read, then reinstall the other key, making sure that your PICS key is the last key in the chain (i.e., farthest from the computer) and try again.
  2. If PICS is the only key on your parallel port and it cannot be read, try to determine if your parallel port is working. You can do this by attaching a printer to the parallel port and printing a document. It is possible that the parallel port is not enabled or is not configured correctly. The port modes we suggest using are ECP and IBM/AT or compatible mode. This port mode can be set or modified in the CMOS setup.
  3. If you know that your parallel port is working properly from the above test, call SST customer support and ask them to e-mail you the Find program. It is a stand-alone program written by Rainbow Technologies, the company that manufactures the key you are using, for finding the key on your parallel port. If this program cannot find your key then take the Find program and your key to another computer (different brand and processor would be good) and try the test on the different computer. If the key still cannot be read from the other computer then we must assume that the key is faulty. Contact SST technical support and we will arrange for the key to be replaced. The incidence of bad keys is very low.

I installed the PICS disks with no error messages. When I attempt to open an existing project or create a new one I get the following error message: "LD caused a General Protection Fault in MFC0250.DLL @ 0005:30DD." What do I do from here?

There are a number of things you can try:

  1. Run LD stand-alone (you can find LD.EXE in the PICS\Bin directory).
  2. Run PICS again.
  3. The system file MFC0250.DLL could have somehow become corrupted. Copy the system files back, making sure NOT to replace files with dates greater than ours. You may need to contact SST technical support for this information.
  4. Reinstall your Windows operating system.

What can I do to prevent an application or parts of applications from disappearing when I go from multiple monitors back to a single monitor under Windows 98?

If you have multiple monitors set up and decide to return to a single monitor setup, make sure you move all applications and components from any secondary monitor(s) back to the primary monitor. By taking this step you prevent the applications from opening in the secondary monitor which is no longer there.

What can I do to improve overall video resolution and color depth settings when using multiple monitors under Windows 98?

To avoid possible conflicts with video resolution and color depth settings, choose the same type of monitors and video cards. By using the same type of monitor and video adapters you avoid problems with matching screen area and colors for your computer.

Allen-Bradley 1771 Remote I/O Driver

I get a message that "Card 5136-SD did not initialize properly" when I run PICS in a new computer under Windows 3.1. What do I do?

No communication at all? Questions and Hints

Intermittent communication problems?

There is a popular misconception that if the cable is short, you do not need terminators. In fact, the opposite is true. The terminators are there to eliminate reflections from the end of the cable. On a short cable, the amplitude of the reflection from a non-terminated end is actually larger.

Some racks are not communicating?

Problems with block transfers?

Why are there multiple cards within an Allen-Bradley I/O connection?

Modicon 800 Series/Quantum I/O Driver

I want to set up my I/O connection for the Modicon S/908 Remote I/O. I want to talk over Quantum I/O but when I try to select it with either real or virtual drops settings the Edit and Delete keys are grayed out. I cannot configure the drops.

When you are simulating Quantum I/O, once you have done the configuration in the PLC and start to simulate PICS loads in the appropriate drop configurations from the PLC. If you want to edit the configurations, you should edit your PLC configuration before starting PICS simulation. (See the Modicon S908 Remote I/O Driver Manual).

What are the various states of the LEDs on the 5136-MOD card while using PICS to communicate with a Modicon PLC?

The 5136-MOD card bracket contains one red and one green LED. The following is a list of events that must occur before PICS can communicate with your PLC.

When everything is working properly

  1. When you power up your computer, the green LED is off and the red LED is on.
  2. Click on the Download button on the toolbar to download the simulation to the Solver.
  3. Click on the Simulate button to start the simulation.
  4. The green LED is on when the software module for the 5136-MOD card has been successfully downloaded and is responding correctly to commands from the driver. The red LED is off when the software module has been successfully downloaded. This should occur the first time you start simulation in PICS.
  5. The green and red LEDs are on when the 5136-MOD card is transmitting to the PLC. The card only transmits while simulating one or more virtual drops. The red LED will appear dim when transmitting frequently or flash with infrequent transmissions.
  6. The word Offline disappears from beside the reference number and the current values appear in the I/O points display window.
  7. You will hear a beep and get a message in the Event Log that says Communicating.

When everything is not working properly

If green and red LEDs are not on at the same time check the following:

1. PLC RIO HEAD displays an error light. The error light on the PLC indicates that the RIO head cannot scan the remote drops. To avoid getting the error light:

2. Make sure PICS is simulating. The Card software should be present in memory. You can check this in PICS Modicon S908 Remote I/O Connection Properties.

Profibus DP I/O Driver

Is it possible to use the Profibus DP driver to simulate modules in the local rack?

No, but there is a work-around. You can map the I/O modules in the local rack to the Profibus DP network. If your PLC program is based on the local rack configuration, you have to change the PLC program, since addresses of I/O modules in the local rack are different from the I/O modules in the DP network.

If you do not want to change your PLC program, you can delete all I/O configurations in the local rack, write down the address for each I/O module, then configure the same modules in the DP network and assign the same addresses as in the local rack.

When I start simulation using the Profibus driver, I get the message "Station No, in Error state" in the PICS Event Log.

When I import a .2BF file into PICS, I get the message "Station ID xxx is a Non-DP Standard Slave (128)... discarding" in the PICS COM PROFIBUS Configuration Import Event Log.

The 5136-PBMS card does not support non-standard DP slaves. If you use PICS simulation, you have to change non-standard DP configuration to standard DP configuration and map all I/O addresses from non-standard DP I/O to standard DP I/O. ET-200U 6ES5 318-8MB11 is a non-standard DP module. You should change it to a standard DP ET-200U 6ES5 318-8MB1 in your COM PROFIBUS configuration.

Using PICS with a DDE Server

I started simulation with PICS and am using a DDE server. But I’m getting time out messages in the PICS Event Log.

If your DDE server configurations are correct and all the I/O points are valid in the PLC, and, there is nothing wrong with the cable, try increasing the Timeout in the DDE Server Control Properties in PICS. Especially when you use a text DDE Server or serial DDE server, the communication network is much slower, and the Timeout setting should be set much higher than the default value of 5000ms.

How can I import variables exported from RSLogix 5 into PICS?
(The following note is only for using PICS 3.3. Some changes have been made in PICS 3.31. Please check the What’s New section in the PICS 3.31 User’s Manual for more information. )

When you export the variable file from RSLogix 5, the export output format should be RSlogix 5, AI or CSV.

Using PICS with DDE Server

When you import the variable file to PICS, you can only use the custom import wizard routine. Since the DDE I/O connection does not check whether these variables are Integer or Boolean and whether they are writable or read-only, you have to change the variable type manually after you import the variables. We recommend you use Microsoft Excel or a text editor to edit these variables before importing to PICS. After editing the variables, save the file then import it to PICS using the custom import wizard routine.

Example 1

The following variable file is exported from RSLogix 5 and edited in Excel:

I:010/01 0 IN1 input boolean1
I:020 0 IN2 input integer
O:022/04 0 OUT1 output boolean
O:030 0 OUT2 output integer

Edit the above file and add a column after the I/O address, giving the variable type and a space with ‘RO’ if it is read only.

The following variables file is edited in Excel:

I:010/01 B 0 IN1 input boolean1
I:020 I 0 IN2 input integer
O:022/04 B RO 0 OUT1 output boolean
O:030 I RO 0 OUT2 output integer

Note: B=boolean I=integer RO=read-only

Using PICS with AB remote I/O driver

You can use the Rockwell Software import routine to import variables into PICS. If a variable does not have a symbol name, it will not be imported.

Installing PICS

When I install PICS 3.x under Windows 98, I get a fatal error at the end of the Setup initialization reporting about the file "ISINST30" or "_Ins0433._mp.".

This problem can occur as a result of a conflict between the Setup program and other loaded drivers. In particular, if the MSWheel component of Microsoft IntelliPoint 2.2 is loaded, you will see this error.

You can use one of the following methods to avoid this problem:

- OR -

If you need more help

PICS Technical Support
SST
50 Northland Road
Waterloo, Ontario
N2V 1N3
Canada

Voice: (519) 725-5136
Fax: (519) 725-1515

Email: picsupport@mySST.com

Web site: www.mySST.com

PICS Simulation is a registered trademark of Woodhead Canada Limited. All other trade names are trademarks or registered trademarks of their respective companies.