Programming Crimson 3.0

Join Date
May 2012
Location
Oroville
Posts
31
I got a G304K to an Allen Bradley 1100. I am trying to program Crimson 3.0 (tag) to turn on Bit3.0/0=1 (on) when a push button is pressed. Pressed a second time same button Bit3.0/0=0 (off) I got my program linked, zip file. Can someone look at this and correct me? My first time with HMI programming. Thanks.
 
Try this version (attached).
Changes made:
1) Deleted driver for programming port. Leave the programming port alone otherwise you run the risk of locking yourself out of the unit!
2) Added DF1 driver for RS232 port 2. Ser for Micrologix. Port configured at 19.2k baud (change this to match your actual Micrologix).
3) Deleted the Trigger assignments for the tag "Input_0". Triggers are not required and there were errors with your settings. On the display page your button action is set to Toggle which should handle your requirement that a single button turn the bit on and then off on successive presses.
4) Changed the tag Data Treat As property to Bit Array Little Endian.

I think it should work now (double check that baud rate though).

Paul
 
Last edited:
Thanks Okie, seems to work okay with the Emulator. I ordered a programming cable from RL yesterday. Hopefully program the 304 next week. Thanks.
 

Similar Topics

Hey everyone! Need a little help with some scripting in Crimson 3.0. With this first script I am just trying set a local variable string based...
Replies
8
Views
2,358
I am stuck, pretty new at c "like" programming. Trying to have a program run some comparisons to setpoints and variable data that comes in from a...
Replies
27
Views
5,566
Hi, I have a Red Lion E3 io counting output from weld cells, connected to a PTV station for the visuals. Our number of weld cells is set to...
Replies
2
Views
1,563
Good day I'm looking for a way to let crimson 3 monitor 3 temperatures from modbus then i want crimson to "GotoPage" when these 3 temps have...
Replies
3
Views
1,639
Hello all, First time here, So I want to take an analog input and total it over time. For example, the input would be in ml/s and I would like...
Replies
1
Views
1,488
Back
Top Bottom