Control Logix internal clock bits

D

Thread Starter

Doug

Does the RSLogix 5k have internal timing tags such as 1 sec., 1 min., 1 hr. available for use to use in our code?
Thank you,
Doug
 
Yup. Go into RSLogix Help and look at the "Using the WALLCLOCK object" entry.

SLC and PLC users are used to having a bunch of system data arrayed in the "S:xx" status file. In the Logix family, you access things like the
wallclock or fault registers by executing a "Get System Variable" or "Set System Variable" instruction.

A few of these system variables are provided as internal tags, like the "S:FS" first-scan bit.

Cheers,

Ken Roach
A-B Seattle

>> Does the RSLogix 5k have internal timing tags such as 1 sec., 1 min., 1
>> hr. available ?
 
S

Sylvain Levert

You have to use the instruction GSV get system variable in the class name put WALLCLOCKTIME
attribute name DateTime
at the destination you create a tag , you can name it what you want,. but the dimension must be at least 7 long
 
Top