simulation setup using horner OCS using structured text (Cscape)

jdk202

Member
Join Date
Apr 2024
Location
OK
Posts
1
I am trying to set up a piece of equipment with a Horner HE-X4R. I'd like to use structured text and so far I'm just trying to get a basic On/off switch set up using this. The code is just several lines and assigned the variables to two buttons and the Motor_RUN to an indicator light on the screen.

IF PBMotor_ON = TRUE OR Motor_RUN = TRUE THEN
Motor_RUN := TRUE;

ELSIF PBMotor_ON = FALSE OR PBMotor_OFF = TRUE THEN
Motor_RUN := FALSE;

END_IF;

I'd like to test this without wiring it into the system but the simulation option is grayed out when I go into debug mode. Does anyone know what I need to do in order to do a simulation?
 

Similar Topics

Hi, I would like to assemble a simulator/practice booster pump system that uses PID to maintain steady water pressure under various outlet demands...
Replies
0
Views
88
hello every one. i'm new to tiaportal, i have created new project and HMI screen the program works fine with PLC-sim, but when i try to cntrol the...
Replies
9
Views
421
I am looking to upgrade a CompactLogix on V18 to an L83E on V32 which is currently using a Beijer E1151. Does anyone know if the E1151 is directly...
Replies
3
Views
649
I use the HMI simulation as our production lines are pretty big and we've put an upgrade in over the last couple of months and I've used it most...
Replies
3
Views
736
Hi Any one here please helpmein simulation of s7 300 plc program with factory io. how to connect. plcsim 5 doesnot have option of s7 300 ..:
Replies
2
Views
1,014
Back
Top Bottom